Use default RTCConfiguration on iOS

With "aggressive" preset the default bundlePolicy is set to "maxBundle" when it shoud be "balanced" according to spec.

Bug: webrtc:9458
Change-Id: Ifbdd76be3a6d9968574cba857f178d5f859dcb87
Reviewed-on: https://webrtc-review.googlesource.com/88567
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24650}
This commit is contained in:
Yuriy Pavlyshak
2018-09-07 16:43:31 +02:00
committed by Commit Bot
parent 7f978f18b3
commit 8cec4fb6c2
2 changed files with 2 additions and 2 deletions

View File

@ -61,6 +61,7 @@ Victor Costan <costan@gmail.com>
Xiaohong Xu <freemine@yeah.net>
Xiaolei Yu <dreifachstein@gmail.com>
Yura Yaroshevich <yura.yaroshevich@gmail.com>
Yuriy Pavlyshak <yuriy@appear.in>
Hans Knoechel <hans@hans-knoechel.de>
Korniltsev Anatoly <korniltsev.anatoly@gmail.com>
Todd Wong <todd.wong.ndq@gmail.com>

View File

@ -51,8 +51,7 @@
- (instancetype)init {
// Copy defaults.
webrtc::PeerConnectionInterface::RTCConfiguration config(
webrtc::PeerConnectionInterface::RTCConfigurationType::kAggressive);
webrtc::PeerConnectionInterface::RTCConfiguration config;
return [self initWithNativeConfiguration:config];
}