Chromium Code Reviews| Index: chrome/common/extensions/api/cast_streaming_session.idl |
| diff --git a/chrome/common/extensions/api/cast_streaming_session.idl b/chrome/common/extensions/api/cast_streaming_session.idl |
| index 6673baf0e170972b4517e989499b913cbcbe63aa..31df963ce70caf8cdf5b305eeb4884fc07ea5f55 100644 |
| --- a/chrome/common/extensions/api/cast_streaming_session.idl |
| +++ b/chrome/common/extensions/api/cast_streaming_session.idl |
| @@ -24,13 +24,16 @@ namespace cast.streaming.session { |
| // Creates a Cast session using the provided audio and video track as |
| // source. This will create two RTP streams and a UDP transport that |
| // builds the session. |
| + // Either |audioTrack| or |videoTrack| can be null but not both. This |
| + // means creating a session with only audio or video. If a given |
| + // track then the created stream ID will be null. |
|
not at google - send to devlin
2014/07/15 23:32:18
this last sentence doesn't make sense.
Alpha Left Google
2014/07/15 23:48:42
Done.
|
| // |
| // |audioTrack| : the source audio track. |
| // |videoTrack| : the source video track. |
| // |callback| : Called when the sesion has been created. |
| [nocompile] static void create( |
| - [instanceOf=MediaStreamTrack] object audioTrack, |
| - [instanceOf=MediaStreamTrack] object videoTrack, |
| + [instanceOf=MediaStreamTrack] optional object audioTrack, |
| + [instanceOf=MediaStreamTrack] optional object videoTrack, |
| CreateCallback callback); |
| }; |
| }; |