This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25807 - Avoid sdpMangling by modifying codec preferences through API.
Summary: Avoid sdpMangling by modifying codec preferences through API.
Status: RESOLVED NEEDSINFO
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 15:38 UTC by Kiran
Modified: 2014-05-19 16:00 UTC (History)
2 users (show)

See Also:


Attachments

Description Kiran 2014-05-19 15:38:19 UTC
JSEP spec specifies that codec preferences requires SDP mangling and other parameters can be set through constraints.

This is a proposal to extend RTCPeerConnection, by adding API to retrieve the supported codecs from browser
getSupportedAudioCodecs()
getSupportedVideoCodecs()

and 

set the codec Preferences by passing prefereAudioCodecs/preferedVideoCodecs sequences to RTCRTPSender/Receiver.

This proposal extendes RTCRTPSender/Receiver by

setCodecPreferences(preferedAudioCodecs/preferedVideoCodecs)

References

[1] http://tools.ietf.org/html/draft-guduru-rtcweb-codec-preferences-00

NOTE: [1] will be reformulated to set preferences through RTCRTPSender/Receiver.
Comment 1 Justin Uberti 2014-05-19 16:00:28 UTC
This needs a more complete design before it is actionable.