Two small fixes to repair rtmp re-pushing
This commit is contained in:
parent
1a3c23d5d7
commit
fefd0e2f6f
2 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,7 @@ namespace Mist {
|
||||||
INFO_MSG("Re-push initiated for track %lu, from user %u, will replace final track number %d", value, id, finalMap);
|
INFO_MSG("Re-push initiated for track %lu, from user %u, will replace final track number %d", value, id, finalMap);
|
||||||
myMeta.tracks.erase(finalMap);
|
myMeta.tracks.erase(finalMap);
|
||||||
dataPages.erase(finalMap);
|
dataPages.erase(finalMap);
|
||||||
|
inputLoc.erase(finalMap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
givenTracks.insert(finalMap);
|
givenTracks.insert(finalMap);
|
||||||
|
|
|
@ -777,6 +777,7 @@ namespace Mist {
|
||||||
counter++;
|
counter++;
|
||||||
if (counter > 8){
|
if (counter > 8){
|
||||||
sending = true;
|
sending = true;
|
||||||
|
myMeta = meta_out;
|
||||||
negotiatePushTracks();
|
negotiatePushTracks();
|
||||||
for (std::deque<JSON::Value>::iterator it = preBuf.begin(); it != preBuf.end(); it++){
|
for (std::deque<JSON::Value>::iterator it = preBuf.begin(); it != preBuf.end(); it++){
|
||||||
bufferPacket((*it));
|
bufferPacket((*it));
|
||||||
|
|
Loading…
Add table
Reference in a new issue