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

Side by Side Diff: media/mojo/interfaces/data_source.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/BUILD.gn ('k') | media/mojo/interfaces/demuxer.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module media.mojom;
6
7 import "media/mojo/interfaces/media_types.mojom";
8 import "mojo/common/time.mojom";
9
10 interface DataSource {
11 Initialize() => (handle<data_pipe_consumer> pipe);
12
13 Read(int64 position, int32 size) => (DataBuffer? buffer, int32 size);
14
15 Stop();
16
17 Abort();
18
19 [Sync]
20 GetSize() => (bool success, int64 size);
21
22 [Sync]
23 IsStreaming() => (bool is_streaming);
24
25 SetBitrate(int32 bitrate);
26 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/interfaces/demuxer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698