mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
rtp: add option to ignore SSRC
This is useful when there is a fixed receiver and the sender can be restarted.
This commit is contained in:
parent
b95ed6dcc1
commit
126e03ec73
4 changed files with 5 additions and 3 deletions
|
|
@ -293,7 +293,7 @@ static int rtp_midi_receive(struct impl *impl, uint8_t *buffer, ssize_t len)
|
|||
if (impl->have_ssrc && impl->ssrc != hdr->ssrc)
|
||||
goto unexpected_ssrc;
|
||||
impl->ssrc = hdr->ssrc;
|
||||
impl->have_ssrc = true;
|
||||
impl->have_ssrc = !impl->ignore_ssrc;
|
||||
|
||||
seq = ntohs(hdr->sequence_number);
|
||||
if (impl->have_seq && impl->seq != seq) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue