mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix build
This commit is contained in:
parent
547963c522
commit
3d7cb4b640
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue