Closed
Bug 1121756
Opened 10 years ago
Closed 6 years ago
Emit m-lines in the order specified by the jsep draft
Categories
(Core :: WebRTC: Signaling, defect, P5)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
INVALID
backlog | parking-lot |
People
(Reporter: bwc, Unassigned)
References
(Blocks 1 open bug)
Details
The 08 version of the jsep draft requires m-lines (in the offer) to be added as follows:
First sort by stream-id, based on the order in which the streams were added.
Within a given stream, sort based on alphabetical order of media type.
Within a given stream/type, sort based on order in which the tracks were added.
This means (among other things) that if a video-only stream is added, then an audio-only stream is added, we will have video before audio, which pre-sdparta Firefox cannot handle. We probably want to fix this once 38 is ESR.
Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
ESR 38 is out since quite some time now :-)
Comment 2•6 years ago
|
||
Perhaps this issue can be revisited by Mozilla staff.
For in Firefox Nightly 62.0a1 I'm experiencing an issue where I have my WebRTC page settings selected as "Use Video(checked", "No Microphone", and "No Camera", which should be acceptable, but FF console errors says:
DOMException: Answer and offer have difference media types at m-line 0
And looking in my FreeSWITCH logs (and in Firefox console), Firefox is sending a SDP with m=video, followed by m=audio...
I believe conventional practice is to have audio first, follow by video.
It seems when "No Microphone" is selected, Firefox is generating an initial offer with m=video/a=sendrecv first, even though m=audio/a=recvonly is also present...
A complete workup of FreeSWITCH logs contain SDP dialog is here.
https://docs.google.com/spreadsheets/d/1Ep5CfbP9hYD1f5Dlkf6hozv5DdVDXZ5tpiK-OzOFLbA/edit?usp=sharing
Flags: needinfo?(drno)
Reporter | ||
Comment 3•6 years ago
|
||
So the spec has changed here. As of the most recent transceivers-based spec, the m-sections appear in the order that their transceivers were added. If both a transceiver and a datachannel are added before a subsequent SDP is generated, the application m-section appears after the audio/video one.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(drno)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•