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

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

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (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 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..31404bd536770697140ed4fc7b24e7c6095f6fc9 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,12 @@ namespace webrtcAudioPrivate {
static void getAssociatedSink(DOMString securityOrigin,
DOMString sourceIdInOrigin,
SinkIdCallback cb);
+
+ // Provides settings to experiments related to WebRTC audio.
+ static void setAudioExperiments(RequestInfo request,
+ DOMString securityOrigin,
+ AudioExperiments audioExperiments,
+ optional CompletionCallback callback);
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698