mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
macos related changes
This commit is contained in:
@@ -3,6 +3,18 @@ import SwiftSignalKit
|
||||
import TgVoipWebrtc
|
||||
import TelegramCore
|
||||
|
||||
#if os(macOS)
|
||||
public class OngoingCallContext {
|
||||
public class AudioDevice {
|
||||
|
||||
}
|
||||
}
|
||||
public func callLogsPath(account: Account) -> String {
|
||||
return account.basePath + "/calls"
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
final class ContextQueueImpl: NSObject, OngoingCallThreadLocalContextQueueWebrtc {
|
||||
private let queue: Queue
|
||||
|
||||
@@ -718,6 +730,7 @@ public final class OngoingGroupCallContext {
|
||||
preferX264: preferX264,
|
||||
logPath: logPath,
|
||||
statsLogPath: tempStatsLogPath,
|
||||
audioDevice: nil,
|
||||
encryptionKey: encryptionKey,
|
||||
isConference: isConference
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user