Open Bug 1649083 Opened 4 years ago Updated 4 years ago

Handle CBR mode

Categories

(Core :: WebRTC: Signaling, enhancement)

enhancement

Tracking

()

People

(Reporter: lgrahl, Unassigned)

References

Details

Firefox should respect the cbr=1 parameter in a=fmtp.

IIRC this should be an easy addition since it's already supported by the A/V stack, it just needs to be forwarded by the signalling part.

This has an implication on privacy: The packet length can leak whether a person is muted. Applications that want to hide this need to be able to force CBR mode.

This should work since bug 1418804 landed. But the remaining problem is that we currently have two different SDP parsers in Firefox. Of which we don't want to add features to the old one. Thus support for CBR only got added to the new SDP parser in bug 1418804.

Unfortunately it seems like requesting CBR still doesn't work until we remove the old SDP parser, because we are still allocating memory structs via the old parser. Until we have fully switched over the nee parser I'm not sure it makes sense to continue investing in this area.

Right now you can switch to the new parser by setting user pref 'media.peerconnection.sdp.parser' to 'webrtc-sdp'. But it might not work because of the above mentioned problems.

Depends on: 1418804
You need to log in before you can comment on or make changes to this bug.