Descriptionmedia: Support MojoRendererService in the browser process.
On some platforms, we run part of the media pipeline in the browser process. For example, on ChromeCast and on Android, audio/video buffers are decoded in the browser process. Currently, there are some ad-hoc IPC mechanism implemented for these platforms to support hosting the decoders in the browser process. This CL aims at providing a common mojo based path to support this scenario.
This CL makes it possible to host a mojo::MeidaRenderer service in the browser process. By default, it's using media::RendererImpl and some default audio/video decoders. In later CLs, I'll update this so that we can support embedder specific media::Renderer implementation in MojoRendererService.
Note that media playback is NOT working yet due to DataPipe is not working out-of-process.
Test steps:
1, Change "enable_media_mojo_renderer" to true in media/media_options.gni.
2, Build a GN build of Chrome.
3, Play <video> in Chrome.
BUG=431776
TEST=See above test steps.
Committed: https://crrev.com/e6117333d61fe759bcecd8e6cab927236ce3da79
Cr-Commit-Position: refs/heads/master@{#313463}
Patch Set 1 #Patch Set 2 : Rebased and Cleaned. #
Total comments: 4
Patch Set 3 : Cleanup. #Patch Set 4 : rebase only #Patch Set 5 : Fix GN build. #
Total comments: 1
Patch Set 6 : Fix GN; Drop GYP. #
Total comments: 12
Patch Set 7 : comments addressed #Patch Set 8 : comments addressed #Patch Set 9 : rebase only #Patch Set 10 : rebase only #Patch Set 11 : Fix BUILD.gn. #
Messages
Total messages: 48 (7 generated)
|