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

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

Issue 2816523002: Update text about diagnostic audio recordings on chrome://webrtc-internals. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | 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 5
6 /** 6 /**
7 * Provides the UI for dump creation. 7 * Provides the UI for dump creation.
8 */ 8 */
9 var DumpCreator = (function() { 9 var DumpCreator = (function() {
10 /** 10 /**
(...skipping 16 matching lines...) Expand all
27 summary.textContent = 'Create Dump'; 27 summary.textContent = 'Create Dump';
28 var content = document.createElement('div'); 28 var content = document.createElement('div');
29 this.root_.appendChild(content); 29 this.root_.appendChild(content);
30 30
31 content.innerHTML = '<div><a><button>' + 31 content.innerHTML = '<div><a><button>' +
32 'Download the PeerConnection updates and stats data' + 32 'Download the PeerConnection updates and stats data' +
33 '</button></a></div>' + 33 '</button></a></div>' +
34 '<p><label><input type=checkbox>' + 34 '<p><label><input type=checkbox>' +
35 'Enable diagnostic audio recordings</label></p>' + 35 'Enable diagnostic audio recordings</label></p>' +
36 '<p class=audio-diagnostic-dumps-info>A diagnostic audio recording is' + 36 '<p class=audio-diagnostic-dumps-info>A diagnostic audio recording is' +
37 ' used for analyzing audio problems. It consists of two files and' + 37 ' used for analyzing audio problems. It consists of several files and' +
38 ' contains the audio played out from the speaker and recorded from' + 38 ' contains the audio played out to the speaker and recorded from' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 nit: could replace the last 'and' with a comma.
Henrik Grunell 2017/05/12 12:20:18 Hmm, that seems awkward too. Changed the "saved to
39 ' the microphone and is saved to the local disk. Checking this box' + 39 ' the microphone and is saved to the local disk. Checking this box' +
40 ' will enable the recording for ongoing WebRTC calls and for future' + 40 ' will enable the recording for ongoing WebRTC calls, all ongoing' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 "recording of ongoing"
Henrik Grunell 2017/05/12 12:20:18 Done.
41 ' WebRTC calls. When the box is unchecked or this page is closed, all' + 41 ' playout streams (also non-WebRTC), all ongoing recording streams' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 "(including non-WebRTC)" It's not clear to me wha
Henrik Grunell 2017/05/12 12:20:17 Done.
42 ' ongoing recordings will be stopped and this recording' + 42 ' (also non-WebRTC) and for future WebRTC calls and streams. When the' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 nit: you could replace "calls and" with "audio" ->
Henrik Grunell 2017/05/12 12:20:18 WebRTC call would refer to the AEC dump, which is
43 ' functionality will be disabled for future WebRTC calls. Recordings' + 43 ' box is unchecked or this page is closed, all ongoing recordings' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 'this page is closed' Does that stop an ongoing r
Henrik Grunell 2017/05/12 12:20:17 Yes, it's (still) true. I verified just now.
44 ' in multiple tabs are supported as well as multiple recordings in' + 44 ' will be stopped and this recording functionality will be disabled' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 nit: "the recording functionality disabled"
Henrik Grunell 2017/05/12 12:20:17 Done.
45 ' the same tab. When enabling, you select a base filename to which' + 45 ' for future WebRTC calls and streams. Recordings in multiple tabs' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 I'd skip "fore future WebRTC calls and streams" si
tommi (sloooow) - chröme 2017/05/03 09:12:12 "Recordings in multiple tabs" doesn't sound right.
Henrik Grunell 2017/05/12 12:20:17 Done.
Henrik Grunell 2017/05/12 12:20:18 Sounds good. Done.
46 ' suffixes will be appended as</p>' + 46 ' are supported as well as multiple recordings in the same tab. When' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 "from the same tab"
Henrik Grunell 2017/05/12 12:20:17 Done.
47 ' enabling, you select a base filename to which suffixes will be' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 remove "you " Also suggest: "to which the followin
Henrik Grunell 2017/05/12 12:20:17 Good suggestions. Done.
48 ' appended as</p>' +
47 '<p><div>&lt;base filename&gt;.&lt;render process ID&gt;' + 49 '<p><div>&lt;base filename&gt;.&lt;render process ID&gt;' +
48 '.aec_dump.&lt;recording ID&gt;</div>' + 50 '.aec_dump.&lt;AEC dump recording ID&gt;</div>' +
49 '<div>&lt;base filename&gt;.&lt;render process ID&gt;' + 51 '<div>&lt;base filename&gt;.&lt;render process ID&gt;' +
50 '.source_input.&lt;stream ID&gt;.wav</div></p>' + 52 '.source_input.&lt;stream ID&gt;.wav</div>' +
53 '<div>&lt;base filename&gt;.output' +
54 '.&lt;output stream recording ID&gt;.wav</div></p>' +
51 '<p class=audio-diagnostic-dumps-info>If recordings are disabled and' + 55 '<p class=audio-diagnostic-dumps-info>If recordings are disabled and' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 'recordings are disabled' also doesn't sound right
Henrik Grunell 2017/05/12 12:20:17 Good point. Also agree it would be good having a n
52 ' then enabled using the same base filename, the microphone recording' + 56 ' then enabled using the same base filename, the microphone recording' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 re-enabled
Henrik Grunell 2017/05/12 12:20:18 Done.
53 ' file will be overwritten, and the AEC dump file will be appended to' + 57 ' files (&quot;source_input&quot;) will be overwritten, and the AEC' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 instead of "the microphone recording files", I'd j
Henrik Grunell 2017/05/12 12:20:17 Done.
54 ' and may become invalid. It is recommended to choose a new base' + 58 ' dump file will be appended to and may become invalid. It is' +
tommi (sloooow) - chröme 2017/05/03 09:12:12 this isn't really clear. "and the AEC dump file w
Henrik Grunell 2017/05/12 12:20:17 Appending to the previous file. Changed wording.
55 ' filename each time or move the produced files before enabling' + 59 ' recommended to choose a new base filename each time or move the' +
tommi (sloooow) - chröme 2017/05/03 09:12:11 Perhaps it might be best to simply say something l
Henrik Grunell 2017/05/12 12:20:17 Yes, I think that's a good idea. Done.
56 ' again.</p>' + 60 ' produced files before enabling again.</p>' +
57 '<p><label><input type=checkbox>' + 61 '<p><label><input type=checkbox>' +
58 'Enable diagnostic packet and event recording</label></p>' + 62 'Enable diagnostic packet and event recording</label></p>' +
59 '<p class=audio-diagnostic-dumps-info>A diagnostic packet and event' + 63 '<p class=audio-diagnostic-dumps-info>A diagnostic packet and event' +
60 ' recording can be used for analyzing various issues related to' + 64 ' recording can be used for analyzing various issues related to' +
61 ' thread starvation, jitter buffers or bandwidth estimation. Two' + 65 ' thread starvation, jitter buffers or bandwidth estimation. Two' +
62 ' types of data are logged. First, incoming and outgoing RTP headers' + 66 ' types of data are logged. First, incoming and outgoing RTP headers' +
63 ' and RTCP packets are logged. These do not include any audio or' + 67 ' and RTCP packets are logged. These do not include any audio or' +
64 ' video information, nor any other types of personally identifiable' + 68 ' video information, nor any other types of personally identifiable' +
65 ' information (so no IP addresses or URLs). Checking this box will' + 69 ' information (so no IP addresses or URLs). Checking this box will' +
66 ' enable the recording for ongoing WebRTC calls and for future' + 70 ' enable the recording for ongoing WebRTC calls and for future' +
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 var enabled = this.root_.getElementsByTagName('input')[1].checked; 157 var enabled = this.root_.getElementsByTagName('input')[1].checked;
154 if (enabled) { 158 if (enabled) {
155 chrome.send('enableEventLogRecordings'); 159 chrome.send('enableEventLogRecordings');
156 } else { 160 } else {
157 chrome.send('disableEventLogRecordings'); 161 chrome.send('disableEventLogRecordings');
158 } 162 }
159 }, 163 },
160 }; 164 };
161 return DumpCreator; 165 return DumpCreator;
162 })(); 166 })();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698