OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
miu
2017/06/27 00:23:49
Can you set the similarity setting lower to show t
xjz
2017/06/28 02:09:39
Done.
| |
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 enum RemotingStopReason { | |
8 ROUTE_TERMINATED, // User-initiated disconnect, etc. | |
9 LOCAL_PLAYBACK, // Media switched back to local playback. | |
10 SOURCE_GONE, // RemotingSource has been destroyed. | |
11 MESSAGE_SEND_FAILED, // Failed to send a message to the sink. | |
12 DATA_SEND_FAILED, // Failed to consume from a data pipe or send to the sink. | |
13 UNEXPECTED_FAILURE, // Unexpected failure or inconsistent state encountered. | |
14 }; | |
15 | |
16 // TODO(xjz): Adds capabilities with supported Audio/Video Codecs. | |
17 enum RemotingSinkCapabilities { | |
18 NONE, | |
19 RENDERING_ONLY, | |
20 CONTENT_DECRYPTION_AND_RENDERING, | |
21 }; | |
22 | |
23 enum RemotingStartFailReason { | |
24 CANNOT_START_MULTIPLE, // Remoting was already active. | |
25 ROUTE_TERMINATED, // User-initated disconnect while starting remoting. | |
26 SERVICE_NOT_CONNECTED, // Mirror service was not connected. | |
27 }; | |
OLD | NEW |