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

Unified Diff: chrome/common/extensions/api/webrtc_audio_private.idl

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (Closed)
Patch Set: Fixing typo 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/webrtc_audio_private.idl
diff --git a/chrome/common/extensions/api/webrtc_audio_private.idl b/chrome/common/extensions/api/webrtc_audio_private.idl
index 32afbd48ee9288b4e4fac6c9807775132584a8e7..9151e115fcdc3560bb9ee8505bf301915ee6a4ac 100644
--- a/chrome/common/extensions/api/webrtc_audio_private.idl
+++ b/chrome/common/extensions/api/webrtc_audio_private.idl
@@ -50,6 +50,11 @@ namespace webrtcAudioPrivate {
long? guestProcessId;
};
+ dictionary AudioExperiments {
+ // Enables or disables the new acoustic echo canceller (AEC3) in WebRTC.
+ boolean? enableAec3;
+ };
+
interface Functions {
// Retrieves a list of available audio sink devices.
static void getSinks(GetSinksCallback callback);
@@ -75,6 +80,14 @@ namespace webrtcAudioPrivate {
static void getAssociatedSink(DOMString securityOrigin,
DOMString sourceIdInOrigin,
SinkIdCallback cb);
+
+ // Sets the active audio experiments.
+ // |request|: Information about the requesting process.
+ // |securityOrigin|: The origin to restrict the settings to.
+ // |audioExperiments|: The experiments to enable or disable.
+ static void setAudioExperiments(RequestInfo request,
+ DOMString securityOrigin,
+ AudioExperiments audioExperiments);
};
interface Events {
« no previous file with comments | « chrome/browser/resources/hangout_services/thunk.js ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698