macos changes

This commit is contained in:
Mikhail Filimonov 2025-04-03 18:45:49 +04:00
parent b78817526e
commit 0cf707f2c7
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

@ -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)
}