| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 var peerConnectionsListElem = null; | 6 var peerConnectionsListElem = null; |
| 7 var ssrcInfoManager = null; | 7 var ssrcInfoManager = null; |
| 8 var peerConnectionUpdateTable = null; | 8 var peerConnectionUpdateTable = null; |
| 9 var statsTable = null; | 9 var statsTable = null; |
| 10 var dumpCreator = null; | 10 var dumpCreator = null; |
| 11 | 11 |
| 12 // The maximum number of data points bufferred for each stats. Old data points | |
| 13 // will be shifted out when the buffer is full. | |
| 14 var MAX_STATS_DATA_POINT_BUFFER_SIZE = 1000; | |
| 15 | |
| 16 <include src="ssrc_info_manager.js"/> | 12 <include src="ssrc_info_manager.js"/> |
| 17 <include src="stats_graph_helper.js"/> | 13 <include src="stats_graph_helper.js"/> |
| 18 <include src="stats_table.js"/> | 14 <include src="stats_table.js"/> |
| 19 <include src="peer_connection_update_table.js"/> | 15 <include src="peer_connection_update_table.js"/> |
| 20 <include src="dump_creator.js"/> | 16 <include src="dump_creator.js"/> |
| 21 | 17 |
| 22 function initialize() { | 18 function initialize() { |
| 23 peerConnectionsListElem = $('peer-connections-list'); | 19 peerConnectionsListElem = $('peer-connections-list'); |
| 24 dumpCreator = new DumpCreator(peerConnectionsListElem); | 20 dumpCreator = new DumpCreator(peerConnectionsListElem); |
| 25 ssrcInfoManager = new SsrcInfoManager(); | 21 ssrcInfoManager = new SsrcInfoManager(); |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 163 |
| 168 | 164 |
| 169 /** | 165 /** |
| 170 * Delegates to dumpCreator to update the recording status. | 166 * Delegates to dumpCreator to update the recording status. |
| 171 * @param {!Object.<string>} update Key-value pairs describing the status of the | 167 * @param {!Object.<string>} update Key-value pairs describing the status of the |
| 172 * RTP recording. | 168 * RTP recording. |
| 173 */ | 169 */ |
| 174 function updateDumpStatus(update) { | 170 function updateDumpStatus(update) { |
| 175 dumpCreator.onUpdate(update); | 171 dumpCreator.onUpdate(update); |
| 176 } | 172 } |
| OLD | NEW |