You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Sean-Der I think with this pr, we can delay the decision of dropping plan b support. Since the issue here is any sdp with a FEC ssrc included will be treated as plan b by pion and caused an error after SetRemoteDescription, which shouldn't happen. Fully supporting receiving fec in pion is way harder (I'm trying, but it's harder than I initially thought), but with this PR pion doesn't return this wrong error message anymore.
Uh oh!
There was an error while loading. Please reload this page.
The Problem
Unified plan SDP can contain FEC and RTX tracks in the same m= with video track, https://datatracker.ietf.org/doc/html/draft-roach-mmusic-unified-plan-00#section-4.5 .
But currently, pion's implementation thinks it's plan B sdp if FEC track is included.
The Cause
It seems like the problem is in function
trackDetailsFromSDP
of sdp.go, it only black lists rtx ssrc, but not fec ssrc.The Fix
We should also black list fec ssrc in
trackDetailsFromSDP
. And also testdescriptionIsPlanB
against examples in https://datatracker.ietf.org/doc/html/draft-roach-mmusic-unified-plan-00#section-4 .The text was updated successfully, but these errors were encountered: