Closed Bug 1033900 Opened 10 years ago Closed 6 years ago

Improvement of media threading model on B2G.

Categories

(Core :: Audio/Video: Playback, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: brsun, Unassigned)

References

Details

Attachments

(1 file)

1.53 MB, application/vnd.oasis.opendocument.presentation
Details
This is a meta bug for improvement of media threading model on B2G:
 - Integrate android::MediaCodec into gecko.
 - Non-blocking data pipeline from MediaResource to MediaDecoderReader.
 - Other followup bugs.
Depends on: 904177, 1032652
Depends on: 1033902
Depends on: 1033903
Depends on: 1033910
Depends on: 1033912
Depends on: 1033913
Depends on: 1033915
Depends on: 1033931
Depends on: 1033935
When MediaCodec exposes GraphicBuffer for b2g, gecko needs to identify if MediaCodec exposes GraphicBuffers. Some devices support it, but some devices does not support it. If it is not supported, we need to use OMXCodec.
When we want to expose GraphicBuffer from MediaCodec, we might want to allocate some spare buffers and use them in gecko. In this case, using GonkNativeWindow and modification to ACodec about how to handle undequeued buffer like attachment 8446689 [details] [diff] [review] in Bug 1009420 might become necessary.

In this case, the modification to ACodec might conflict with current gecko's WebRTC implementation. Because current WebRTC implementation get GraphicBuffer from GonkNativeWindow.
Attached file MediaCodec.odp
I found that I didn't share my original proposal for integrating MediaCodec and refining the reading mechanism of MediaResource on bugzilla. This is the original one I proposed during the media work-week (March 2014) in Taipei.
Depends on: 1036239
Depends on: 1036343
Depends on: 1036376
Depends on: 1037282
Depends on: 1037378
Depends on: 1039182
Depends on: 1041453
Depends on: 1043900
Depends on: 1050145
Depends on: 1050169
Depends on: 1050664
Depends on: 1064376
Depends on: 1072295
Depends on: 1089469
Depends on: 1091466
Depends on: 1091467
Depends on: 1094678
Depends on: 1098659
Component: Audio/Video → Audio/Video: Playback
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: