Closed
Bug 1064247
Opened 10 years ago
Closed 10 years ago
FF32 generates invalid a=fmtp:0 profile-level-id fmtp
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
firefox32 | + | wontfix |
firefox33 | --- | unaffected |
firefox34 | --- | unaffected |
firefox35 | --- | unaffected |
firefox-esr31 | --- | unaffected |
b2g-v2.0 | --- | unaffected |
People
(Reporter: philipp+bugzilla, Assigned: jesup)
References
()
Details
Attachments
(1 file)
1.26 KB,
patch
|
jib
:
review+
|
Details | Diff | Splinter Review |
reproduction (interop issue) 1) go to a room on talky.io (or apprtc) in Firefox 2) join the same room in chrome. The call doesn't get established. While chrome://webrtc-internals doesn't show any errors, the setRemoteDescription error callback is called with "Failed to parse SessionDescription. Failed to parse video codecs correctly." Apparently chrome groks on a=fmtp:0 profile-level-id=0x42e00c;packetization-mode=1 removing that from the offer helps. http://googlechrome.github.io/webrtc/samples/web/content/munge-sdp/ should let you reproduce the fmtp:0 line easily. This doesn't happen in nightly. I think chrome should ignore a=fmtp lines it can not parse, will file an issue in their bugtracker and link it here. https://bugzilla.mozilla.org/show_bug.cgi?id=1042791 looks similar, but the id seems to be set there.
Reporter | ||
Comment 1•10 years ago
|
||
Chrome issue report at https://code.google.com/p/webrtc/issues/detail?id=3790
Assignee | ||
Comment 2•10 years ago
|
||
The problem is caused by offering H.264 when 32 does not have H.264 support (except in FxOS 2.0 on platforms where HW OMX h.264 is enabled). If the profiles has media.peerconnection.video.h264_enabled set to true the problem occurs. (By default in 32 other than FxOS the pref doesn't appear even in about:config; you have to add it via New.) Typically this happens if the user has manually set it to true. It's possible (in theory) that running some version of 33/34 might have at some point set it without user interaction, but I doubt it. We should guard against it, though, since 32 doesn't actually have h.264 support.
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8485746 [details] [diff] [review] only look at h264_enabled pref if HW OMX H.264 is enabled The other use of h264_enabled in 32 is in VcmSIPCCBinding.cpp, and is guarded by an #ifdef MOZ_WEBRTC_OMX. Doing test build to verify.
Attachment #8485746 -
Flags: review?(jib)
Comment 5•10 years ago
|
||
Tracking as Maire requested that this bug be considered for a 32.0.1 ride along.
status-firefox32:
--- → affected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
status-firefox35:
--- → affected
tracking-firefox32:
--- → +
tracking-firefox33:
--- → +
tracking-firefox34:
--- → +
tracking-firefox35:
--- → +
Assignee | ||
Comment 6•10 years ago
|
||
Removed tracking from 34/35, downgraded to ? for 33 until we verify that I'm right: 35 and I believe 34 do not show the bug when OpenH264 is explicitly disabled in AddOns, regardless of the state of the enable, though the code the patch modifies is still wrong. The changes in VcmSIPCCBinding.cpp to support OpenH264 override the hard-coded value from PeerConnectionCtx.cpp. 33 likely is the same as 34/35 since it has pretty much all the OpenH264 fixes, but we should check. If that flag-setting is now ignored, we should strongly consider removing it from PeerConnectionCtx.cpp in 35. 2.0 (based on 32) has OMX support, and has the pref but defaults to disabled unless the HW manufacturer's repo sets it, so this bug should not affect 2.0.
status-b2g-v2.0:
--- → unaffected
status-firefox-esr31:
--- → unaffected
tracking-firefox34:
+ → ---
tracking-firefox35:
+ → ---
OS: Windows 7 → All
Hardware: x86 → All
Updated•10 years ago
|
Attachment #8485746 -
Flags: review?(jib) → review+
Comment 7•10 years ago
|
||
I just tried with a brand new FF 32 and was able to replicate Jesup's report from c2. Philipp, can you try with a new profile and see if you can reproduce.
Flags: needinfo?(philipp+bugzilla)
Reporter | ||
Comment 8•10 years ago
|
||
ekr: yes, manually setting the flag to true on a fresh profile is the way to reproduce it. Should have close to zero user impact fortunately
Flags: needinfo?(philipp+bugzilla)
Assignee | ||
Comment 9•10 years ago
|
||
fix verified on a release build plus this patch, so it's available. Since the code exists (and is wrong, though overridden) on 35, I'll land it there, but we should move to get rid of the hardcoded codec lists entirely.
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d9d104f8ba7
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Assignee: nobody → rjesup
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d9d104f8ba7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 12•10 years ago
|
||
I spoke with Randell on irc. This bug has more limited impact than first suspected. As such, marking this as won't fix in 32.
Assignee | ||
Updated•10 years ago
|
tracking-firefox33:
? → ---
Assignee | ||
Comment 13•10 years ago
|
||
verified 33 is unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•