mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix build
This commit is contained in:
parent
547963c522
commit
3d7cb4b640
@ -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) {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user