Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/SIPSorcery/net/RTP/Streams/MediaStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,13 @@ public void OnReceiveRTPPacket(RTPHeader hdr, int localPort, IPEndPoint remoteEn
}
else
{
if (RemoteTrack != null)
{
// Must be updated for LogIfWrongSeqNumber to function: with the initial
// value of 0 the sequence discontinuity check never fires, so the
// unbuffered path previously never reported out of order packets.
RemoteTrack.LastRemoteSeqNum = rtpPacket.Header.SequenceNumber;
}
ProcessRtpPacket(remoteEndPoint, rtpPacket, format.Value);
}

Expand Down
Loading