Open Bug 1365797 Opened 7 years ago Updated 2 years ago

Ensure that unique payload types are used for bundled transports

Categories

(Core :: WebRTC: Signaling, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: drno, Unassigned)

References

Details

(Keywords: stale-bug)

For bundled transports it is helpful if each payload type in a given bundled transport is unique to help serving as the last resort for demuxing incoming RTP packets.

We have code which feeds the PT as additional filter criteria to the demuxer here: http://searchfox.org/mozilla-central/source/media/webrtc/signaling/src/jsep/JsepTrack.cpp#499

If for example multiple video tracks get attached to a PeerConnection each m-section in Firefox offer will have the same PT for the same video codec, e.g. 120 for VP8 across all m-sections.
As we don't know which m-section are going to be bundled together we would have to try to offer unique PT's as much as possible across the whole offer.

In case Firefox receives an offer with non-unique PT's it again simply answers with the same non-unique PTs. We should instead try to answer with unique PT's across each bundled section.
One concern here is that this will lead to Firefox not choosing the same PT as in the offer. We hope the interoperability is not going to be too bad if we limit this feature only to bundled m-section, as bundle should hopefully only be supported by modern clients which can handle asymmetric PT's.
Rank: 15
See Also: → 1338521
This is an assigned P1 bug without activity in two weeks. 

If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.

Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
I don't have the capacity any more to work on this any time soon.
Assignee: drno → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.