Reland ObjC API for BWE allocation strategy
Bug: webrtc:8243 Change-Id: Ib1b8349bffe98490ba5f1d12b18e848e89cdb9ce Reviewed-on: https://webrtc-review.googlesource.com/16640 Reviewed-by: Alex Narest <alexnarest@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20534}
This commit is contained in:
committed by
Commit Bot
parent
93db859c90
commit
0af86d1c43
@ -17,6 +17,7 @@
|
||||
#import "RTCLegacyStatsReport+Private.h"
|
||||
#import "RTCMediaConstraints+Private.h"
|
||||
#import "RTCMediaStream+Private.h"
|
||||
#import "RTCPeerConnection+Native.h"
|
||||
#import "RTCPeerConnectionFactory+Private.h"
|
||||
#import "RTCRtpReceiver+Private.h"
|
||||
#import "RTCRtpSender+Private.h"
|
||||
@ -385,6 +386,11 @@ void PeerConnectionDelegateAdapter::OnIceCandidatesRemoved(
|
||||
return _peerConnection->SetBitrate(params).ok();
|
||||
}
|
||||
|
||||
- (void)setBitrateAllocationStrategy:
|
||||
(std::unique_ptr<rtc::BitrateAllocationStrategy>)bitrateAllocationStrategy {
|
||||
_peerConnection->SetBitrateAllocationStrategy(std::move(bitrateAllocationStrategy));
|
||||
}
|
||||
|
||||
- (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath
|
||||
maxSizeInBytes:(int64_t)maxSizeInBytes {
|
||||
RTC_DCHECK(filePath.length);
|
||||
|
||||
Reference in New Issue
Block a user