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

Side by Side Diff: mojo/services/media/core/interfaces/media_renderer.mojom

Issue 2097953002: Motown: Rename MediaProducer/Consumer to MediaPacketProducer/Consumer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed #ifndef guards Created 4 years, 5 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.media; 6 module mojo.media;
7 7
8 import "mojo/services/media/common/interfaces/media_transport.mojom"; 8 import "mojo/services/media/common/interfaces/media_transport.mojom";
9 import "mojo/services/media/common/interfaces/media_types.mojom"; 9 import "mojo/services/media/common/interfaces/media_types.mojom";
10 import "mojo/services/media/core/interfaces/timeline_controller.mojom"; 10 import "mojo/services/media/core/interfaces/timeline_controller.mojom";
11 11
12 // Models a service that renders content. 12 // Models a service that renders content.
13 interface MediaRenderer { 13 interface MediaRenderer {
14 // Gets the list of supported media types. 14 // Gets the list of supported media types.
15 GetSupportedMediaTypes() => (array<MediaTypeSet> supported_media_types); 15 GetSupportedMediaTypes() => (array<MediaTypeSet> supported_media_types);
16 16
17 // Sets the media type of the stream to be delivered. 17 // Sets the media type of the stream to be delivered.
18 SetMediaType(MediaType media_type); 18 SetMediaType(MediaType media_type);
19 19
20 // Gets the consumer for the stream to be delivered. 20 // Gets the packet consumer for the stream to be delivered.
21 GetConsumer(MediaConsumer& consumer); 21 GetPacketConsumer(MediaPacketConsumer& packet_consumer);
22 22
23 // Requests the timeline control point for this output. 23 // Requests the timeline control point for this output.
24 GetTimelineControlPoint(MediaTimelineControlPoint& timeline_control_point); 24 GetTimelineControlPoint(MediaTimelineControlPoint& timeline_control_point);
25 }; 25 };
OLDNEW
« no previous file with comments | « mojo/services/media/core/interfaces/media_demux.mojom ('k') | mojo/services/media/core/interfaces/media_type_converter.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698