RTSP: Don't attempt to send RTCPs before SETUP is completed
This commit is contained in:
parent
9ba2619b9f
commit
69c41035c4
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ namespace Mist{
|
|||
}
|
||||
it->second.sorter.addPacket(pack);
|
||||
}
|
||||
if (Util::epoch() / 5 != it->second.rtcpSent){
|
||||
if (selectedTracks.count(it->first) && Util::epoch() / 5 != it->second.rtcpSent){
|
||||
it->second.rtcpSent = Util::epoch() / 5;
|
||||
it->second.pack.sendRTCP_RR(connectedAt, it->second, it->first, myMeta, sendUDP);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue