diff --git a/submodules/TelegramVoip/Sources/GroupCallContext.swift b/submodules/TelegramVoip/Sources/GroupCallContext.swift index 8903a2d4c7..1f0e2fa82d 100644 --- a/submodules/TelegramVoip/Sources/GroupCallContext.swift +++ b/submodules/TelegramVoip/Sources/GroupCallContext.swift @@ -751,7 +751,7 @@ public final class OngoingGroupCallContext { statsLogPath: tempStatsLogPath, audioDevice: nil, isConference: isConference, - isActiveByDefault: true, + isActiveByDefault: audioIsActiveByDefault, encryptDecrypt: encryptionContext.flatMap { encryptionContext in return { data, isEncrypt in if isEncrypt { diff --git a/submodules/TelegramVoip/Sources/macOS/OngoingCallVideoCapturer.swift b/submodules/TelegramVoip/Sources/macOS/OngoingCallVideoCapturer.swift index a16c539778..93b11279d9 100644 --- a/submodules/TelegramVoip/Sources/macOS/OngoingCallVideoCapturer.swift +++ b/submodules/TelegramVoip/Sources/macOS/OngoingCallVideoCapturer.swift @@ -74,8 +74,9 @@ public final class OngoingCallContextPresentationCallVideoView { public final class OngoingCallVideoCapturer { public let impl: OngoingCallThreadLocalContextVideoCapturer - + public let deviceId: String public init(_ deviceId: String = "", keepLandscape: Bool = true) { + self.deviceId = deviceId self.impl = OngoingCallThreadLocalContextVideoCapturer(deviceId: deviceId, keepLandscape: keepLandscape) }