webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Fix repair ssrcs detection in track details extraction

Open BluePenNeto opened this issue 2 years ago • 0 comments

I have used the Pion webrtc to make a client of a SFU. After inspecting the output of the function trackDetailsFromSDP, I noticed that the field repairSsrc is not been filled when I think it should be (when there are rtx ssrcs). Then I manually changed the position of the ssrc-group lines in SDP offer from the SFU, puting them before the ssrcs lines. After that the field repairSsrc was filled correctly.

After checking the function source code, it appears that the function does not impose order on attribute processing.

BluePenNeto avatar Apr 22 '23 20:04 BluePenNeto