Bug 1839971

Summary: Firefox WebRTC: mozilla-openh264 not working
Product: [Fedora] Fedora Reporter: wurstsemmel
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: 0xalen+redhat, elxreno, gecko-bugs-nobody, jhorak, john.j5live, kengert, pjasicek, rhughes, rstrode, sandmann, stransky, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-13 19:38:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wurstsemmel 2020-05-26 06:49:02 UTC
Description of problem: Firefox OpenH264 Plugin for WebRTC (mozilla-openh264 from repository fedora-cisco-openh264) is not recognized or does not work. Instead, after pressing "Check for Updates" in Settings -> Add-Ons -> Plugins, the Mozilla-Plugin is downloaded and installed. According to [1] the Mozilla Plugin should not be downloaded automatically in Fedora due to licensing issues.


Version-Release number of selected component (if applicable): firefox-76.0.1-1.fc32.x86_64 and mozilla-openh264-2.1.0-1.fc32.x86_64. mozilla-openh264 is installed from fedora-cisco-openh264.


How reproducible: Always.


Steps to Reproduce:
1. Install mozilla-openh264 from fedora-cisco-openh264 as explained in [1]
2. Create a Firefox fresh profile, activate the WebRTC H264 Cisco Plugin in Settings -> Add-Ons -> Plugins
3. Check about:plugins. It shows:

    Datei: system-installed
    Pfad: /home/username/.mozilla/firefox/d1qgjuys.xxx/gmp-gmpopenh264/system-installed
    Version: system-installed

4. Test functionality https://mozilla.github.io/webrtc-landing/pc_test.html (check Require H.264 video) -> "No H264 found in the offer!!!"
5. Click "Check for updates" in Settings -> Add-Ons -> Plugins and wait some time
6. Do the WebRTC test again -> "HIP HIP HOORAY"


Actual results:

WebRTC test responds with "No H264 found in the offer!!!" as long as it is shown as "system-installed". It works after step 5 with the Mozilla Plug-In (excerpt from about:plugins below).

    Datei: 1.8.1.1
    Pfad: /home/username/.mozilla/firefox/d1qgjuys.xxx/gmp-gmpopenh264/1.8.1.1
    Version: 1.8.1.1

Expected results:

a) WebRTC test should work with system-installed plugin and b) should not be replaced by Mozilla-Download after pressing check for updates in Settings -> Add-Ons -> Plugins.


Additional info:

Please also note this bug in status "closed EOL": https://bugzilla.redhat.com/show_bug.cgi?id=1648024
I did not change any related settings in about:config.
The path under 3. does not exist.
OS: Fedora 32 Workstation (with Gnome)

[1] https://fedoraproject.org/wiki/OpenH264

Comment 1 wurstsemmel 2020-05-28 06:16:29 UTC
(In reply to wurstsemmel from comment #0)
> Expected results:
> 
> a) WebRTC test should work with system-installed plugin and ...

Please also see my related bug report on gstreamer1-plugin-openh264 not working in Gnome Videos (https://bugzilla.redhat.com/show_bug.cgi?id=1840867).

Comment 2 Martin Stransky 2020-10-09 08:31:53 UTC
Should be already fixed in latest updates by https://bugzilla.redhat.com/show_bug.cgi?id=1883006

Comment 3 wurstsemmel 2020-10-13 18:55:07 UTC
Yes, it works with the latest updates with system-installed plugin (mozilla-openh264).

Thanks for the great work! (Please close the bug or let me know if I should/can do it.)

Comment 4 Martin Stransky 2020-10-13 19:38:39 UTC

*** This bug has been marked as a duplicate of bug 1883006 ***