Open Bug 1917909 Opened 1 year ago Updated 1 year ago

RTX SSRC set to zero after re-negotiation

Categories

(Core :: WebRTC, defect, P3)

Firefox 132
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kuznetsov, Unassigned)

References

Details

Steps to reproduce:

  1. Server sends offer SDP with one m=video sendonly line and rtx payloads and rtx ssrc
  2. Firefox negotiates SDP successfully
  3. RTX working correctly
  4. Firefox call AddTrasnceiver("video") and create local offer SDP with two m=video lines - first line from previous server SDP, and second line is local m=video sendonly line. And send SDP to server.
  5. Firefox negotiates SDP successfully
  6. RTX not working.

In the Firefox logs I see that the rtx_ssrc is 0 for fist m-line.
I did a little research.
If some parameters in SDP changes, WebrtcVideoConduit::OnControlConfigChange() called - https://searchfox.org/mozilla-central/source/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp#482

This always creates a new webrtc::VideoReceiveStreamInterface::Config::Rtp - https://searchfox.org/mozilla-central/source/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp#511 with rtx_ssrc = 0

rtx_ssrc sets if remoteSsrcUpdateNeeded is not false - https://searchfox.org/mozilla-central/source/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp#880

But remoteSsrcUpdateNeeded is ALWAYS false, because the SSRC values ​​have not changed - https://searchfox.org/mozilla-central/source/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp#496

Actual results:

rtx not working after second SDP negotiation

Expected results:

rtx working correctly

The Bugbug bot thinks this bug should belong to the 'Core::WebRTC' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → WebRTC
Product: Firefox → Core

Byron, does this look like a dup of Bug 1894997?

Flags: needinfo?(docfaraday)

I'm pretty sure it is. I have a work in progress on this, but unfortunately we do not have a way to test it in automation. Since we have a report from the field, I think we should go ahead and fix without having a test.

Flags: needinfo?(docfaraday)

Since this bug is from the field, I'm going to match the priority/severity from Bug 1894997 and then dup that bug to here.

Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1894997
You need to log in before you can comment on or make changes to this bug.