| Index: webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm
|
| diff --git a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm
|
| index 311e0dd886e49a37d33ea0d3dbfe30e93868600e..98cf114e450a3b0671430025a5c5cb2b396013c5 100644
|
| --- a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm
|
| +++ b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm
|
| @@ -21,6 +21,7 @@
|
| #import "RTCRtpReceiver+Private.h"
|
| #import "RTCRtpSender+Private.h"
|
| #import "RTCSessionDescription+Private.h"
|
| +#import "WebRTC/RTCBitrateAllocationStrategy.h"
|
| #import "WebRTC/RTCLogging.h"
|
|
|
| #include <memory>
|
| @@ -394,6 +395,10 @@ void PeerConnectionDelegateAdapter::OnIceCandidatesRemoved(
|
| _hasStartedRtcEventLog = NO;
|
| }
|
|
|
| +- (void)setBitrateAllocationStrategy:(RTCBitrateAllocationStrategy *)bitrateAllocationStrategy {
|
| + _peerConnection->SetBitrateAllocationStrategy(bitrateAllocationStrategy.strategy);
|
| +}
|
| +
|
| - (RTCRtpSender *)senderWithKind:(NSString *)kind
|
| streamId:(NSString *)streamId {
|
| std::string nativeKind = [NSString stdStringForString:kind];
|
|
|