Open Bug 1740505 Opened 3 years ago Updated 2 months ago

[Bug]: Firefox 94 android uses multiple codecs is that the correct behavior?

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

Unspecified
Android
defect

Tracking

()

People

(Reporter: petru, Unassigned)

Details

Attachments

(1 obsolete file)

From github: https://github.com/mozilla-mobile/fenix/issues/22396.

Steps to reproduce

  1. Having Kurento Media server installed.
  2. Creating a simple WebRTC client via JS to communicate with the media server and record videos.
  3. Open client from Firefox 94 via Android.
  4. Record the video and save it.
  5. (I can give you access to try it with our product).

Expected behaviour

Video can be recorded the process can be finished. Fully recorded video and no problem

s.

Actual behaviour

Video is recorded but is all in black. Most probably due to the codecs used in Firefox 94 version.

.

Device name

Samsung S10+

Android version

Android 11

Firefox release type

Firefox

Firefox version

94

Device logs

Additional information

I think it's due to the extra Codecs added. Since, I checked with an older version of Firefox (67) and the rtpmap is (H264 and VP8) on the other hand with Firefox (94) it's attached in this screenshot. Is that the behavior that you guys want?

t

Change performed by the Move to Bugzilla add-on.

Severity: -- → S4
Component: Graphics → WebRTC: Audio/Video
No longer blocks: webrtc-triage
Priority: -- → P3

Record the video and save it.

I wonder what this step entails. Does it record with MediaRecorder? If your peer connection is using H264 (which comes first in the sdp so that seems likely) and the decoding Android device has a hardware H264 decoder then this would seem like bug 1526207 (see bug 1669551 for a MediaRecorder-specific issue due to this).

You could verify this by going to about:config (available in beta or nightly) and setting the pref media.webrtc.hw.h264.enabled to false.

Attachment #9386193 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: