| OLD | NEW |
| 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 // The <code>chrome.cast.streaming.receiverSession</code> API creates a Cast | 5 // The <code>chrome.cast.streaming.receiverSession</code> API creates a Cast |
| 6 // receiver session and adds the resulting audio and video tracks to a | 6 // receiver session and adds the resulting audio and video tracks to a |
| 7 // MediaStream. | 7 // MediaStream. |
| 8 [use_movable_types=true]namespace cast.streaming.receiverSession { | 8 namespace cast.streaming.receiverSession { |
| 9 // The UDP socket address and port. | 9 // The UDP socket address and port. |
| 10 dictionary IPEndPoint { | 10 dictionary IPEndPoint { |
| 11 DOMString address; | 11 DOMString address; |
| 12 long port; | 12 long port; |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 // RTP receiver parameters. | 15 // RTP receiver parameters. |
| 16 dictionary RtpReceiverParams { | 16 dictionary RtpReceiverParams { |
| 17 // Maximum latency in milliseconds. This parameter controls the logic | 17 // Maximum latency in milliseconds. This parameter controls the logic |
| 18 // of flow control. Implementation can adjust latency adaptively and | 18 // of flow control. Implementation can adjust latency adaptively and |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 RtpReceiverParams videoParams, | 61 RtpReceiverParams videoParams, |
| 62 IPEndPoint localEndpoint, | 62 IPEndPoint localEndpoint, |
| 63 long maxWidth, | 63 long maxWidth, |
| 64 long maxHeight, | 64 long maxHeight, |
| 65 double maxFrameRate, | 65 double maxFrameRate, |
| 66 DOMString mediaStreamURL, | 66 DOMString mediaStreamURL, |
| 67 ErrorCallback error_callback, | 67 ErrorCallback error_callback, |
| 68 optional object transport_options); | 68 optional object transport_options); |
| 69 }; | 69 }; |
| 70 }; | 70 }; |
| OLD | NEW |