This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
This needs a more complete design before it is actionable.