Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: media/mojo/interfaces/interface_factory.mojom

Issue 2643743002: Mojify demuxers and allow running {Chunk/FFmpeg}Demuxer in a Utility Process (Closed)
Patch Set: Rebase and make sure to unbind mojom::DemuxerPtr on the bound thread during termination Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/mojo/interfaces/demuxer.typemap ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media.mojom; 5 module media.mojom;
6 6
7 import "media/mojo/interfaces/audio_decoder.mojom"; 7 import "media/mojo/interfaces/audio_decoder.mojom";
8 import "media/mojo/interfaces/content_decryption_module.mojom"; 8 import "media/mojo/interfaces/content_decryption_module.mojom";
9 import "media/mojo/interfaces/demuxer.mojom";
9 import "media/mojo/interfaces/renderer.mojom"; 10 import "media/mojo/interfaces/renderer.mojom";
11 import "media/mojo/interfaces/source_buffer.mojom";
10 import "media/mojo/interfaces/video_decoder.mojom"; 12 import "media/mojo/interfaces/video_decoder.mojom";
11 13
12 // A factory interface to create media services. Renderers can only access 14 // A factory interface to create media services. Renderers can only access
13 // ContentDecryptionModules created in the same factory. 15 // ContentDecryptionModules created in the same factory.
14 interface InterfaceFactory { 16 interface InterfaceFactory {
17 // Creates a Demuxer service.
18 CreateDemuxer(Demuxer& demuxer);
19
20 // Creates a SourceBuffer service.
21 CreateSourceBuffer(SourceBuffer& source_buffer);
22
15 // Creates an AudioDecoder service. 23 // Creates an AudioDecoder service.
16 CreateAudioDecoder(AudioDecoder& audio_decoder); 24 CreateAudioDecoder(AudioDecoder& audio_decoder);
17 25
18 // Creates a VideoDecoder service. 26 // Creates a VideoDecoder service.
19 CreateVideoDecoder(VideoDecoder& video_decoder); 27 CreateVideoDecoder(VideoDecoder& video_decoder);
20 28
21 // Creates a Renderer service. 29 // Creates a Renderer service.
22 // Audio stream will be played on device_id, which is defined in 30 // Audio stream will be played on device_id, which is defined in
23 // media/audio/audio_device_description.h. If audio_device_id 31 // media/audio/audio_device_description.h. If audio_device_id
24 // is empty, kDefaultDeviceId will be used. 32 // is empty, kDefaultDeviceId will be used.
25 CreateRenderer(string audio_device_id, Renderer& renderer); 33 CreateRenderer(string audio_device_id, Renderer& renderer);
26 34
27 // Creates a ContentDecryptionModule service. 35 // Creates a ContentDecryptionModule service.
28 CreateCdm(ContentDecryptionModule& cdm); 36 CreateCdm(ContentDecryptionModule& cdm);
29 }; 37 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/demuxer.typemap ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698