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

Side by Side Diff: mojo/services/media/control/interfaces/media_source.mojom

Issue 2006093004: Motown: Convert MediaSink to expose MediaTimelineControlSite (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 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 [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_common.mojom";
9 import "mojo/services/media/common/interfaces/media_metadata.mojom"; 8 import "mojo/services/media/common/interfaces/media_metadata.mojom";
10 import "mojo/services/media/common/interfaces/media_state.mojom";
11 import "mojo/services/media/common/interfaces/media_transport.mojom"; 9 import "mojo/services/media/common/interfaces/media_transport.mojom";
12 import "mojo/services/media/common/interfaces/media_types.mojom"; 10 import "mojo/services/media/common/interfaces/media_types.mojom";
13 11
14 // Produces media streams delivered from a specified origin. 12 // Produces media streams delivered from a specified origin.
15 interface MediaSource { 13 interface MediaSource {
16 // Special value for GetStatus version_last_seen parameter to get the current 14 // Special value for GetStatus version_last_seen parameter to get the current
17 // status immediately. 15 // status immediately.
18 const uint64 kInitialStatus = 0; 16 const uint64 kInitialStatus = 0;
19 17
20 // Gets the streams produced by this source. 18 // Gets the streams produced by this source.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 50
53 // Media type of the stream after conversion. 51 // Media type of the stream after conversion.
54 MediaType media_type; 52 MediaType media_type;
55 53
56 // Media type of the stream before conversion (as produced by the demux). 54 // Media type of the stream before conversion (as produced by the demux).
57 MediaType original_media_type; 55 MediaType original_media_type;
58 }; 56 };
59 57
60 // Describes the media source. 58 // Describes the media source.
61 struct MediaSourceStatus { 59 struct MediaSourceStatus {
62 // Current state of the source.
63 MediaState state;
64
65 // Describes the media. 60 // Describes the media.
66 MediaMetadata? metadata; 61 MediaMetadata? metadata;
67 }; 62 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698