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

Unified Diff: chrome/common/extensions/api/desktop_capture.json

Issue 2547633002: Desktop Capture API: Pass Audio Selection Information To Javascript (Closed)
Patch Set: Use Object Created 4 years 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 side-by-side diff with in-line comments
Download patch
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
+ }
+ }
}
]
}

Powered by Google App Engine
This is Rietveld 408576698