Fix build

This commit is contained in:
Ilya Laktyushin 2020-08-25 19:29:03 +03:00
parent 547963c522
commit 3d7cb4b640
2 changed files with 3 additions and 3 deletions

View File

@ -337,7 +337,7 @@ public final class OngoingCallVideoCapturer {
}
public func switchVideoInput(isFront: Bool) {
self.impl.switchVideoInput(isFront)
self.impl.switchVideoInput(isFront ? "" : "back")
}
public func makeOutgoingVideoView(completion: @escaping (OngoingCallContextPresentationCallVideoView?) -> Void) {

View File

@ -157,8 +157,8 @@
- (void)dealloc {
}
- (void)switchVideoInput:(NSString * _Nonnull)deviceeId {
_interface->switchToDevice(deviceeId.UTF8String);
- (void)switchVideoInput:(NSString * _Nonnull)deviceId {
_interface->switchToDevice(deviceId.UTF8String);
}
- (void)setIsVideoEnabled:(bool)isVideoEnabled {