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);
|
||||
myMeta.tracks.erase(finalMap);
|
||||
dataPages.erase(finalMap);
|
||||
inputLoc.erase(finalMap);
|
||||
}
|
||||
}
|
||||
givenTracks.insert(finalMap);
|
||||
|
|
|
@ -777,6 +777,7 @@ namespace Mist {
|
|||
counter++;
|
||||
if (counter > 8){
|
||||
sending = true;
|
||||
myMeta = meta_out;
|
||||
negotiatePushTracks();
|
||||
for (std::deque<JSON::Value>::iterator it = preBuf.begin(); it != preBuf.end(); it++){
|
||||
bufferPacket((*it));
|
||||
|
|
Loading…
Add table
Reference in a new issue