Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset RTP retransmission buffer upon RTP sequence number reset #1041

Merged
merged 4 commits into from
Mar 30, 2023

Conversation

ibc
Copy link
Member

@ibc ibc commented Mar 30, 2023

Related to #1037

Make RtpStreamRecv and RtpStreamSend classes be notified by their RtpStream parent when the stream seq number is reset so they can react on it. In case of RtpStreamSend it clears the entire buffer retransmission since stored packets probably won't make any sense.

Related to #1037

Make `RtpStreamRecv` and `RtpStreamSend` classes be notified by their `RtpStream` parent when the stream seq number is reset so they can react on it.
In case of `RtpStreamSend` it clears the entire buffer retransmission since stored packets probably won't make any sense.

**TODO:** Test needed in `TestRtpStreamSend.cpp`. However I prefer to discuss this approach first.
@ibc ibc marked this pull request as ready for review March 30, 2023 15:11
@ibc
Copy link
Member Author

ibc commented Mar 30, 2023

@jmillan I've added a test unit.

@ibc ibc merged commit 1b579f5 into v3 Mar 30, 2023
22 checks passed
@ibc ibc deleted the clear-retransmission-buffer-on-seq-reset branch March 30, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants