Support platform tuning of WebRTC processing in ContentRendererClient
This allows platforms with known OS and hardware capabilities to apply better tuned audio processing configuration. The config is to parsed, validated and applied in MediaStreamAudioProcessor. The Config is passed as a std::string to keep ContentRendererClient free from WebRTC dependencies, and make it easy for clients to store the config. Another possible solution is to collect all related WebRTC audio settings in a struct and have the function return or accept a (forward-declared) pointer to said struct. Bug: 892611 Binary-Size: Added dependency is needed to implement new feature. Binary size is very close to bot warn limit (20 kB vs 16 kB). Compensating for size increase seems possible, although not until next release. Change-Id: Ib478c75ab42318b83ca4ef900587a964b0ceacbd Reviewed-on: https://chromium-review.googlesource.com/c/1261437 Commit-Queue: Sam Zackrisson <saza@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Reviewed-by:
Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#598719}
Showing
Please register or sign in to comment