| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * Session class that handles creation and teardown of a remoting session. | 7 * Class handling creation and teardown of a remoting client session. |
| 8 * | 8 * |
| 9 * This abstracts a <embed> element and controls the plugin which does the | 9 * This abstracts a <embed> element and controls the plugin which does the |
| 10 * actual remoting work. There should be no UI code inside this class. It | 10 * actual remoting work. There should be no UI code inside this class. It |
| 11 * should be purely thought of as a controller of sorts. | 11 * should be purely thought of as a controller of sorts. |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 'use strict'; | 14 'use strict'; |
| 15 | 15 |
| 16 /** @suppress {duplicate} */ | 16 /** @suppress {duplicate} */ |
| 17 var remoting = remoting || {}; | 17 var remoting = remoting || {}; |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 return { | 408 return { |
| 409 'video_bandwidth': this.plugin.videoBandwidth, | 409 'video_bandwidth': this.plugin.videoBandwidth, |
| 410 'video_frame_rate': this.plugin.videoFramerate, | 410 'video_frame_rate': this.plugin.videoFramerate, |
| 411 'capture_latency': this.plugin.videoCaptureLatency, | 411 'capture_latency': this.plugin.videoCaptureLatency, |
| 412 'encode_latency': this.plugin.videoEncodeLatency, | 412 'encode_latency': this.plugin.videoEncodeLatency, |
| 413 'decode_latency': this.plugin.videoDecodeLatency, | 413 'decode_latency': this.plugin.videoDecodeLatency, |
| 414 'render_latency': this.plugin.videoRenderLatency, | 414 'render_latency': this.plugin.videoRenderLatency, |
| 415 'roundtrip_latency': this.plugin.roundTripLatency | 415 'roundtrip_latency': this.plugin.roundTripLatency |
| 416 }; | 416 }; |
| 417 }; | 417 }; |
| OLD | NEW |