mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
macos changes
This commit is contained in:
parent
b78817526e
commit
0cf707f2c7
@ -751,7 +751,7 @@ public final class OngoingGroupCallContext {
|
|||||||
statsLogPath: tempStatsLogPath,
|
statsLogPath: tempStatsLogPath,
|
||||||
audioDevice: nil,
|
audioDevice: nil,
|
||||||
isConference: isConference,
|
isConference: isConference,
|
||||||
isActiveByDefault: true,
|
isActiveByDefault: audioIsActiveByDefault,
|
||||||
encryptDecrypt: encryptionContext.flatMap { encryptionContext in
|
encryptDecrypt: encryptionContext.flatMap { encryptionContext in
|
||||||
return { data, isEncrypt in
|
return { data, isEncrypt in
|
||||||
if isEncrypt {
|
if isEncrypt {
|
||||||
|
@ -74,8 +74,9 @@ public final class OngoingCallContextPresentationCallVideoView {
|
|||||||
|
|
||||||
public final class OngoingCallVideoCapturer {
|
public final class OngoingCallVideoCapturer {
|
||||||
public let impl: OngoingCallThreadLocalContextVideoCapturer
|
public let impl: OngoingCallThreadLocalContextVideoCapturer
|
||||||
|
public let deviceId: String
|
||||||
public init(_ deviceId: String = "", keepLandscape: Bool = true) {
|
public init(_ deviceId: String = "", keepLandscape: Bool = true) {
|
||||||
|
self.deviceId = deviceId
|
||||||
self.impl = OngoingCallThreadLocalContextVideoCapturer(deviceId: deviceId, keepLandscape: keepLandscape)
|
self.impl = OngoingCallThreadLocalContextVideoCapturer(deviceId: deviceId, keepLandscape: keepLandscape)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user