Chromium Code Reviews| Index: chrome/common/extensions/api/desktop_capture.json |
| diff --git a/chrome/common/extensions/api/desktop_capture.json b/chrome/common/extensions/api/desktop_capture.json |
| index 5b9ff002fcfd318f1e164990016d64ee846d1011..4195c7bc52f9013d91763c579ed233edad28abd7 100644 |
| --- a/chrome/common/extensions/api/desktop_capture.json |
| +++ b/chrome/common/extensions/api/desktop_capture.json |
| @@ -40,6 +40,17 @@ |
| "name": "streamId", |
| "type": "string", |
| "description": "An opaque string that can be passed to <code>getUserMedia()</code> API to generate media stream that corresponds to the source selected by the user. If user didn't select any source (i.e. canceled the prompt) then the callback is called with an empty <code>streamId</code>. The created <code>streamId</code> can be used only once and expires after a few seconds when it is not used." |
| + }, |
| + { |
| + "name": "options", |
| + "type": "object", |
| + "description": "Contains properties that describe the stream.", |
| + "properties": { |
| + "can_request_audio_track": { |
|
Devlin
2016/12/13 16:05:44
Variables here should be JS-style, so canRequestAu
qiangchen
2016/12/13 19:04:32
Done.
|
| + "type": "boolean", |
| + "description": "True if audio track is well generated. Otherwise false, and in this case, one should not ask for audio stream through getUserMedia call." |
|
Devlin
2016/12/13 16:05:44
What does "well generated" mean? From the bug/desc
qiangchen
2016/12/13 19:04:32
Done. Changed to describing what happened in the f
|
| + } |
| + } |
| } |
| ] |
| } |