Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: content/browser/resources/media/webrtc_internals.js

Issue 1272223003: Implement writing mic audio input data to file for debugging purposes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/resources/media/dump_creator.js ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 var USER_MEDIA_TAB_ID = 'user-media-tab-id'; 5 var USER_MEDIA_TAB_ID = 'user-media-tab-id';
6 6
7 var tabView = null; 7 var tabView = null;
8 var ssrcInfoManager = null; 8 var ssrcInfoManager = null;
9 var peerConnectionUpdateTable = null; 9 var peerConnectionUpdateTable = null;
10 var statsTable = null; 10 var statsTable = null;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 if (requests[i].rid == data.rid) 316 if (requests[i].rid == data.rid)
317 $(USER_MEDIA_TAB_ID).removeChild(requests[i]); 317 $(USER_MEDIA_TAB_ID).removeChild(requests[i]);
318 318
319 } 319 }
320 if ($(USER_MEDIA_TAB_ID).childNodes.length == 0) 320 if ($(USER_MEDIA_TAB_ID).childNodes.length == 0)
321 tabView.removeTab(USER_MEDIA_TAB_ID); 321 tabView.removeTab(USER_MEDIA_TAB_ID);
322 } 322 }
323 323
324 324
325 /** 325 /**
326 * Notification that the AEC recording file selection dialog was cancelled, 326 * Notification that the audio debug recordings file selection dialog was
327 * i.e. AEC has not been enabled. 327 * cancelled, i.e. recordings have not been enabled.
328 */ 328 */
329 function aecRecordingFileSelectionCancelled() { 329 function audioDebugRecordingsFileSelectionCancelled() {
330 dumpCreator.disableAecRecording(); 330 dumpCreator.disableAudioDebugRecordings();
331 } 331 }
332 332
333 333
334 /** 334 /**
335 * Set 335 * Set
336 */ 336 */
337 function enableAecRecording() { 337 function enableAudioDebugRecordings() {
338 dumpCreator.enableAecRecording(); 338 dumpCreator.enableAudioDebugRecordings();
339 } 339 }
OLDNEW
« no previous file with comments | « content/browser/resources/media/dump_creator.js ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698