mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-04 02:15:47 +00:00
Fix build
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user