From afa481a54d52e42be3f3c9c54ec6e4aa921d2f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20=C5=9Aredzi=C5=84ski?= Date: Thu, 2 Jan 2025 19:32:47 +0100 Subject: [PATCH 1/8] Add option to configure timeout interval for socket connection (#534) Testing my application with LiveKit in very bad internet conditions resulted in LiveKit reporting a lot of timeouts happening during WebSocket connecting state. Would be really nice to have this timeout interval option configurable. --------- Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> --- Sources/LiveKit/Core/SignalClient.swift | 2 +- Sources/LiveKit/Support/WebSocket.swift | 4 ++-- Sources/LiveKit/Types/Options/ConnectOptions.swift | 9 +++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Sources/LiveKit/Core/SignalClient.swift b/Sources/LiveKit/Core/SignalClient.swift index 695a22999..93a97ba67 100644 --- a/Sources/LiveKit/Core/SignalClient.swift +++ b/Sources/LiveKit/Core/SignalClient.swift @@ -139,7 +139,7 @@ actor SignalClient: Loggable { connectionState = (reconnectMode != nil ? .reconnecting : .connecting) do { - let socket = try await WebSocket(url: url) + let socket = try await WebSocket(url: url, connectOptions: connectOptions) _messageLoopTask = Task.detached { self.log("Did enter WebSocket message loop...") diff --git a/Sources/LiveKit/Support/WebSocket.swift b/Sources/LiveKit/Support/WebSocket.swift index 9cd2da1ed..4107cc681 100644 --- a/Sources/LiveKit/Support/WebSocket.swift +++ b/Sources/LiveKit/Support/WebSocket.swift @@ -48,10 +48,10 @@ class WebSocket: NSObject, Loggable, AsyncSequence, URLSessionWebSocketDelegate waitForNextValue() } - init(url: URL) async throws { + init(url: URL, connectOptions: ConnectOptions?) async throws { request = URLRequest(url: url, cachePolicy: .useProtocolCachePolicy, - timeoutInterval: .defaultSocketConnect) + timeoutInterval: connectOptions?.socketConnectTimeoutInterval ?? .defaultSocketConnect) super.init() try await withTaskCancellationHandler { try await withCheckedThrowingContinuation { continuation in diff --git a/Sources/LiveKit/Types/Options/ConnectOptions.swift b/Sources/LiveKit/Types/Options/ConnectOptions.swift index dd303b311..4698c1c64 100644 --- a/Sources/LiveKit/Types/Options/ConnectOptions.swift +++ b/Sources/LiveKit/Types/Options/ConnectOptions.swift @@ -32,6 +32,10 @@ public final class ConnectOptions: NSObject, Sendable { @objc public let reconnectAttemptDelay: TimeInterval + /// The timeout interval for the initial websocket connection. + @objc + public let socketConnectTimeoutInterval: TimeInterval + @objc public let primaryTransportConnectTimeout: TimeInterval @@ -54,6 +58,7 @@ public final class ConnectOptions: NSObject, Sendable { autoSubscribe = true reconnectAttempts = 3 reconnectAttemptDelay = .defaultReconnectAttemptDelay + socketConnectTimeoutInterval = .defaultSocketConnect primaryTransportConnectTimeout = .defaultTransportState publisherTransportConnectTimeout = .defaultTransportState iceServers = [] @@ -65,6 +70,7 @@ public final class ConnectOptions: NSObject, Sendable { public init(autoSubscribe: Bool = true, reconnectAttempts: Int = 3, reconnectAttemptDelay: TimeInterval = .defaultReconnectAttemptDelay, + connectTimeoutInterval: TimeInterval = .defaultSocketConnect, primaryTransportConnectTimeout: TimeInterval = .defaultTransportState, publisherTransportConnectTimeout: TimeInterval = .defaultTransportState, iceServers: [IceServer] = [], @@ -74,6 +80,7 @@ public final class ConnectOptions: NSObject, Sendable { self.autoSubscribe = autoSubscribe self.reconnectAttempts = reconnectAttempts self.reconnectAttemptDelay = reconnectAttemptDelay + self.socketConnectTimeoutInterval = connectTimeoutInterval self.primaryTransportConnectTimeout = primaryTransportConnectTimeout self.publisherTransportConnectTimeout = publisherTransportConnectTimeout self.iceServers = iceServers @@ -88,6 +95,7 @@ public final class ConnectOptions: NSObject, Sendable { return autoSubscribe == other.autoSubscribe && reconnectAttempts == other.reconnectAttempts && reconnectAttemptDelay == other.reconnectAttemptDelay && + socketConnectTimeoutInterval == other.socketConnectTimeoutInterval && primaryTransportConnectTimeout == other.primaryTransportConnectTimeout && publisherTransportConnectTimeout == other.publisherTransportConnectTimeout && iceServers == other.iceServers && @@ -100,6 +108,7 @@ public final class ConnectOptions: NSObject, Sendable { hasher.combine(autoSubscribe) hasher.combine(reconnectAttempts) hasher.combine(reconnectAttemptDelay) + hasher.combine(socketConnectTimeoutInterval) hasher.combine(primaryTransportConnectTimeout) hasher.combine(publisherTransportConnectTimeout) hasher.combine(iceServers) From 9e952b2774f15d9f5b4b2b42881c518341ca49b7 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:34:54 +0900 Subject: [PATCH 2/8] Fix ConnectOptions param ConnectOptions.socketConnectTimeoutInterval --- Sources/LiveKit/Types/Options/ConnectOptions.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/LiveKit/Types/Options/ConnectOptions.swift b/Sources/LiveKit/Types/Options/ConnectOptions.swift index 4698c1c64..a41427c8e 100644 --- a/Sources/LiveKit/Types/Options/ConnectOptions.swift +++ b/Sources/LiveKit/Types/Options/ConnectOptions.swift @@ -70,7 +70,7 @@ public final class ConnectOptions: NSObject, Sendable { public init(autoSubscribe: Bool = true, reconnectAttempts: Int = 3, reconnectAttemptDelay: TimeInterval = .defaultReconnectAttemptDelay, - connectTimeoutInterval: TimeInterval = .defaultSocketConnect, + socketConnectTimeoutInterval: TimeInterval = .defaultSocketConnect, primaryTransportConnectTimeout: TimeInterval = .defaultTransportState, publisherTransportConnectTimeout: TimeInterval = .defaultTransportState, iceServers: [IceServer] = [], @@ -80,7 +80,7 @@ public final class ConnectOptions: NSObject, Sendable { self.autoSubscribe = autoSubscribe self.reconnectAttempts = reconnectAttempts self.reconnectAttemptDelay = reconnectAttemptDelay - self.socketConnectTimeoutInterval = connectTimeoutInterval + self.socketConnectTimeoutInterval = socketConnectTimeoutInterval self.primaryTransportConnectTimeout = primaryTransportConnectTimeout self.publisherTransportConnectTimeout = publisherTransportConnectTimeout self.iceServers = iceServers From 3b7af6a33e4658f5b61eef6b73201a50efa5c0f6 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:36:06 +0900 Subject: [PATCH 3/8] Apply swiftformat . --- Sources/LiveKit/Broadcast/BroadcastScreenCapturer.swift | 2 +- Sources/LiveKit/Broadcast/BroadcastServerSocketConnection.swift | 2 +- Sources/LiveKit/Broadcast/SocketConnectionFrameReader.swift | 2 +- Sources/LiveKit/Broadcast/Uploader/Atomic.swift | 2 +- .../Broadcast/Uploader/BroadcastUploadSocketConnection.swift | 2 +- .../LiveKit/Broadcast/Uploader/DarwinNotificationCenter.swift | 2 +- Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift | 2 +- Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift | 2 +- Sources/LiveKit/Convenience/AudioProcessing.swift | 2 +- Sources/LiveKit/Core/DataChannelPair.swift | 2 +- Sources/LiveKit/Core/RTC.swift | 2 +- Sources/LiveKit/Core/Room+Convenience.swift | 2 +- Sources/LiveKit/Core/Room+Debug.swift | 2 +- Sources/LiveKit/Core/Room+Engine.swift | 2 +- Sources/LiveKit/Core/Room+EngineDelegate.swift | 2 +- Sources/LiveKit/Core/Room+MulticastDelegate.swift | 2 +- Sources/LiveKit/Core/Room+SignalClientDelegate.swift | 2 +- Sources/LiveKit/Core/Room+TransportDelegate.swift | 2 +- Sources/LiveKit/Core/Room.swift | 2 +- Sources/LiveKit/Core/SignalClient.swift | 2 +- Sources/LiveKit/Core/Transport.swift | 2 +- Sources/LiveKit/E2EE/E2EEManager.swift | 2 +- Sources/LiveKit/E2EE/KeyProvider.swift | 2 +- Sources/LiveKit/E2EE/Options.swift | 2 +- Sources/LiveKit/E2EE/State.swift | 2 +- Sources/LiveKit/Errors.swift | 2 +- Sources/LiveKit/Extensions/AVAudioPCMBuffer.swift | 2 +- Sources/LiveKit/Extensions/AVCaptureDevice.swift | 2 +- Sources/LiveKit/Extensions/CustomStringConvertible.swift | 2 +- Sources/LiveKit/Extensions/DispatchQueue.swift | 2 +- Sources/LiveKit/Extensions/LKRTCRtpSender.swift | 2 +- Sources/LiveKit/Extensions/Logger.swift | 2 +- Sources/LiveKit/Extensions/PixelBuffer.swift | 2 +- Sources/LiveKit/Extensions/Primitives.swift | 2 +- Sources/LiveKit/Extensions/RTCConfiguration.swift | 2 +- Sources/LiveKit/Extensions/RTCDataChannel+Util.swift | 2 +- Sources/LiveKit/Extensions/RTCI420Buffer.swift | 2 +- Sources/LiveKit/Extensions/RTCMediaConstraints.swift | 2 +- Sources/LiveKit/Extensions/RTCRtpTransceiver.swift | 2 +- .../LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift | 2 +- Sources/LiveKit/Extensions/Sendable.swift | 2 +- Sources/LiveKit/Extensions/String.swift | 2 +- Sources/LiveKit/Extensions/TimeInterval.swift | 2 +- Sources/LiveKit/Extensions/URL.swift | 2 +- Sources/LiveKit/LiveKit+DeviceHelpers.swift | 2 +- Sources/LiveKit/LiveKit.swift | 2 +- Sources/LiveKit/Participant/LocalParticipant.swift | 2 +- Sources/LiveKit/Participant/Participant+Convenience.swift | 2 +- Sources/LiveKit/Participant/Participant+Equatable.swift | 2 +- Sources/LiveKit/Participant/Participant+Identifiable.swift | 2 +- Sources/LiveKit/Participant/Participant+Kind.swift | 2 +- Sources/LiveKit/Participant/Participant+MulticastDelegate.swift | 2 +- Sources/LiveKit/Participant/Participant.swift | 2 +- Sources/LiveKit/Participant/RemoteParticipant.swift | 2 +- Sources/LiveKit/Protocols/AudioCustomProcessingDelegate.swift | 2 +- Sources/LiveKit/Protocols/AudioRenderer.swift | 2 +- Sources/LiveKit/Protocols/MediaEncoding.swift | 2 +- Sources/LiveKit/Protocols/Mirrorable.swift | 2 +- Sources/LiveKit/Protocols/ParticipantDelegate.swift | 2 +- Sources/LiveKit/Protocols/RoomDelegate.swift | 2 +- Sources/LiveKit/Protocols/SignalClientDelegate.swift | 2 +- Sources/LiveKit/Protocols/TrackDelegate.swift | 2 +- Sources/LiveKit/Protocols/TransportDelegate.swift | 2 +- Sources/LiveKit/Protocols/VideoRenderer.swift | 2 +- Sources/LiveKit/Protocols/VideoViewDelegate.swift | 2 +- Sources/LiveKit/Support/AppStateListener.swift | 2 +- Sources/LiveKit/Support/AsyncCompleter.swift | 2 +- Sources/LiveKit/Support/AsyncDebounce.swift | 2 +- Sources/LiveKit/Support/AsyncRetry.swift | 2 +- Sources/LiveKit/Support/AsyncSerialDelegate.swift | 2 +- Sources/LiveKit/Support/AsyncTimer.swift | 2 +- Sources/LiveKit/Support/ConnectivityListener.swift | 2 +- Sources/LiveKit/Support/DeviceManager.swift | 2 +- Sources/LiveKit/Support/FFTProcessor.swift | 2 +- Sources/LiveKit/Support/Global.swift | 2 +- Sources/LiveKit/Support/HTTP.swift | 2 +- Sources/LiveKit/Support/MulticastDelegate.swift | 2 +- Sources/LiveKit/Support/NativeView.swift | 2 +- Sources/LiveKit/Support/NativeViewRepresentable.swift | 2 +- Sources/LiveKit/Support/QueueActor.swift | 2 +- Sources/LiveKit/Support/RingBuffer.swift | 2 +- Sources/LiveKit/Support/SerialRunnerActor.swift | 2 +- Sources/LiveKit/Support/StateSync.swift | 2 +- Sources/LiveKit/Support/Stopwatch.swift | 2 +- Sources/LiveKit/Support/TextView.swift | 2 +- Sources/LiveKit/Support/UnfairLock.swift | 2 +- Sources/LiveKit/Support/Utils.swift | 2 +- Sources/LiveKit/Support/ValueOrAbsent.swift | 2 +- Sources/LiveKit/Support/WebSocket.swift | 2 +- Sources/LiveKit/SwiftUI/SwiftUIAudioRoutePickerButton.swift | 2 +- Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift | 2 +- Sources/LiveKit/SwiftUI/TrackDelegateObserver.swift | 2 +- Sources/LiveKit/Track/AudioManager.swift | 2 +- Sources/LiveKit/Track/AudioTrack.swift | 2 +- Sources/LiveKit/Track/Capturers/ARCameraCapturer.swift | 2 +- Sources/LiveKit/Track/Capturers/BufferCapturer.swift | 2 +- Sources/LiveKit/Track/Capturers/CameraCapturer.swift | 2 +- Sources/LiveKit/Track/Capturers/InAppCapturer.swift | 2 +- Sources/LiveKit/Track/Capturers/MacOSScreenCapturer.swift | 2 +- .../Track/Capturers/VideoCapturer+MulticastDelegate.swift | 2 +- Sources/LiveKit/Track/Capturers/VideoCapturer.swift | 2 +- Sources/LiveKit/Track/Local/LocalAudioTrack.swift | 2 +- Sources/LiveKit/Track/Local/LocalTrack.swift | 2 +- Sources/LiveKit/Track/Local/LocalVideoTrack.swift | 2 +- Sources/LiveKit/Track/Remote/RemoteAudioTrack.swift | 2 +- Sources/LiveKit/Track/Remote/RemoteTrack.swift | 2 +- Sources/LiveKit/Track/Remote/RemoteVideoTrack.swift | 2 +- Sources/LiveKit/Track/Support/Extensions.swift | 2 +- Sources/LiveKit/Track/Track+Equatable.swift | 2 +- Sources/LiveKit/Track/Track+MulticastDelegate.swift | 2 +- Sources/LiveKit/Track/Track.swift | 2 +- Sources/LiveKit/Track/VideoTrack.swift | 2 +- Sources/LiveKit/TrackPublications/LocalTrackPublication.swift | 2 +- Sources/LiveKit/TrackPublications/RemoteTrackPublication.swift | 2 +- .../LiveKit/TrackPublications/TrackPublication+Equatable.swift | 2 +- .../TrackPublications/TrackPublication+Identifiable.swift | 2 +- Sources/LiveKit/TrackPublications/TrackPublication.swift | 2 +- Sources/LiveKit/Types/AgentState.swift | 2 +- Sources/LiveKit/Types/AudioDevice.swift | 2 +- Sources/LiveKit/Types/AudioEncoding+Comparable.swift | 2 +- Sources/LiveKit/Types/AudioEncoding.swift | 2 +- Sources/LiveKit/Types/AudioSessionConfiguration.swift | 2 +- Sources/LiveKit/Types/ConnectionQuality.swift | 2 +- Sources/LiveKit/Types/ConnectionState.swift | 2 +- Sources/LiveKit/Types/DegradationPreference.swift | 2 +- Sources/LiveKit/Types/Dimensions.swift | 2 +- Sources/LiveKit/Types/IceCandidate.swift | 2 +- Sources/LiveKit/Types/IceServer.swift | 2 +- Sources/LiveKit/Types/IceTransportPolicy.swift | 2 +- Sources/LiveKit/Types/MediaDevice.swift | 2 +- Sources/LiveKit/Types/Options/ARCameraCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/AudioCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/AudioPublishOptions.swift | 2 +- Sources/LiveKit/Types/Options/BufferCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/CameraCaptureOptions+Copy.swift | 2 +- Sources/LiveKit/Types/Options/CameraCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/CaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/ConnectOptions+Copy.swift | 2 +- Sources/LiveKit/Types/Options/ConnectOptions.swift | 2 +- Sources/LiveKit/Types/Options/DataPublishOptions.swift | 2 +- Sources/LiveKit/Types/Options/PublishOptions.swift | 2 +- Sources/LiveKit/Types/Options/RoomOptions.swift | 2 +- Sources/LiveKit/Types/Options/ScreenShareCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/VideoCaptureOptions.swift | 2 +- Sources/LiveKit/Types/Options/VideoPublishOptions.swift | 2 +- Sources/LiveKit/Types/Participant+Types.swift | 2 +- Sources/LiveKit/Types/ParticipantPermissions.swift | 2 +- Sources/LiveKit/Types/ParticipantTrackPermission.swift | 2 +- Sources/LiveKit/Types/ProtocolVersion.swift | 2 +- Sources/LiveKit/Types/Room+Types.swift | 2 +- Sources/LiveKit/Types/ScalabilityMode.swift | 2 +- Sources/LiveKit/Types/SessionDescription.swift | 2 +- Sources/LiveKit/Types/Statistics.swift | 2 +- Sources/LiveKit/Types/Track+Types.swift | 2 +- Sources/LiveKit/Types/TrackSettings.swift | 2 +- Sources/LiveKit/Types/TrackSource.swift | 2 +- Sources/LiveKit/Types/TrackStatistics.swift | 2 +- Sources/LiveKit/Types/TrackStreamState.swift | 2 +- Sources/LiveKit/Types/TrackType.swift | 2 +- Sources/LiveKit/Types/TranscriptionSegment.swift | 2 +- Sources/LiveKit/Types/VideoCodec.swift | 2 +- Sources/LiveKit/Types/VideoEncoding+Comparable.swift | 2 +- Sources/LiveKit/Types/VideoEncoding.swift | 2 +- Sources/LiveKit/Types/VideoFrame.swift | 2 +- Sources/LiveKit/Types/VideoParameters+Comparable.swift | 2 +- Sources/LiveKit/Types/VideoParameters.swift | 2 +- Sources/LiveKit/Types/VideoQuality.swift | 2 +- Sources/LiveKit/Types/VideoRotation.swift | 2 +- Sources/LiveKit/Views/SampleBufferVideoRenderer.swift | 2 +- Sources/LiveKit/Views/VideoView+MulticastDelegate.swift | 2 +- Sources/LiveKit/Views/VideoView+PinchToZoom.swift | 2 +- Sources/LiveKit/Views/VideoView.swift | 2 +- Tests/LiveKitTests/AsyncRetryTests.swift | 2 +- Tests/LiveKitTests/AudioProcessingTests.swift | 2 +- Tests/LiveKitTests/CompleterTests.swift | 2 +- Tests/LiveKitTests/DeviceManager.swift | 2 +- Tests/LiveKitTests/E2EE/Thread.swift | 2 +- Tests/LiveKitTests/Extensions/AVAudioPCMBufferTests.swift | 2 +- Tests/LiveKitTests/FunctionTests.swift | 2 +- Tests/LiveKitTests/ParticipantTests.swift | 2 +- Tests/LiveKitTests/PublishBufferCapturerTests.swift | 2 +- Tests/LiveKitTests/PublishDataTests.swift | 2 +- Tests/LiveKitTests/PublishMicrophoneTests.swift | 2 +- Tests/LiveKitTests/QueueActorTests.swift | 2 +- Tests/LiveKitTests/RoomTests.swift | 2 +- Tests/LiveKitTests/SDKTests.swift | 2 +- Tests/LiveKitTests/SerialRunnerActor.swift | 2 +- Tests/LiveKitTests/Support/Room.swift | 2 +- Tests/LiveKitTests/Support/TokenGenerator.swift | 2 +- Tests/LiveKitTests/Support/Tracks.swift | 2 +- Tests/LiveKitTests/Support/Xcode14.2Backport.swift | 2 +- Tests/LiveKitTests/ThreadSafetyTests.swift | 2 +- Tests/LiveKitTests/TrackTests.swift | 2 +- Tests/LiveKitTests/VideoViewTests.swift | 2 +- 194 files changed, 194 insertions(+), 194 deletions(-) diff --git a/Sources/LiveKit/Broadcast/BroadcastScreenCapturer.swift b/Sources/LiveKit/Broadcast/BroadcastScreenCapturer.swift index 3c77a7efe..61aa31847 100644 --- a/Sources/LiveKit/Broadcast/BroadcastScreenCapturer.swift +++ b/Sources/LiveKit/Broadcast/BroadcastScreenCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/BroadcastServerSocketConnection.swift b/Sources/LiveKit/Broadcast/BroadcastServerSocketConnection.swift index 1a34d46d3..2dec02c8a 100644 --- a/Sources/LiveKit/Broadcast/BroadcastServerSocketConnection.swift +++ b/Sources/LiveKit/Broadcast/BroadcastServerSocketConnection.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/SocketConnectionFrameReader.swift b/Sources/LiveKit/Broadcast/SocketConnectionFrameReader.swift index 9ce40a485..8bed0b099 100644 --- a/Sources/LiveKit/Broadcast/SocketConnectionFrameReader.swift +++ b/Sources/LiveKit/Broadcast/SocketConnectionFrameReader.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/Uploader/Atomic.swift b/Sources/LiveKit/Broadcast/Uploader/Atomic.swift index 3f689ba99..8f261cd44 100644 --- a/Sources/LiveKit/Broadcast/Uploader/Atomic.swift +++ b/Sources/LiveKit/Broadcast/Uploader/Atomic.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/Uploader/BroadcastUploadSocketConnection.swift b/Sources/LiveKit/Broadcast/Uploader/BroadcastUploadSocketConnection.swift index cfd3c6209..10ad6c1f0 100644 --- a/Sources/LiveKit/Broadcast/Uploader/BroadcastUploadSocketConnection.swift +++ b/Sources/LiveKit/Broadcast/Uploader/BroadcastUploadSocketConnection.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/Uploader/DarwinNotificationCenter.swift b/Sources/LiveKit/Broadcast/Uploader/DarwinNotificationCenter.swift index a7d4a211c..8fddcfccf 100644 --- a/Sources/LiveKit/Broadcast/Uploader/DarwinNotificationCenter.swift +++ b/Sources/LiveKit/Broadcast/Uploader/DarwinNotificationCenter.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift b/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift index ed24905e7..4646241d7 100644 --- a/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift +++ b/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift b/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift index 68e099c58..f499f6360 100644 --- a/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift +++ b/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Convenience/AudioProcessing.swift b/Sources/LiveKit/Convenience/AudioProcessing.swift index e658bebf2..8e9cfc73a 100644 --- a/Sources/LiveKit/Convenience/AudioProcessing.swift +++ b/Sources/LiveKit/Convenience/AudioProcessing.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/DataChannelPair.swift b/Sources/LiveKit/Core/DataChannelPair.swift index 139e84cbf..a5f4a1d9d 100644 --- a/Sources/LiveKit/Core/DataChannelPair.swift +++ b/Sources/LiveKit/Core/DataChannelPair.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/RTC.swift b/Sources/LiveKit/Core/RTC.swift index 2c5d5ca77..1d658d73c 100644 --- a/Sources/LiveKit/Core/RTC.swift +++ b/Sources/LiveKit/Core/RTC.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+Convenience.swift b/Sources/LiveKit/Core/Room+Convenience.swift index 73f758316..fa84c043b 100644 --- a/Sources/LiveKit/Core/Room+Convenience.swift +++ b/Sources/LiveKit/Core/Room+Convenience.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+Debug.swift b/Sources/LiveKit/Core/Room+Debug.swift index a4c99ba54..fefdf71ca 100644 --- a/Sources/LiveKit/Core/Room+Debug.swift +++ b/Sources/LiveKit/Core/Room+Debug.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+Engine.swift b/Sources/LiveKit/Core/Room+Engine.swift index 619c48445..0b197b374 100644 --- a/Sources/LiveKit/Core/Room+Engine.swift +++ b/Sources/LiveKit/Core/Room+Engine.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+EngineDelegate.swift b/Sources/LiveKit/Core/Room+EngineDelegate.swift index 19d28fdc0..b2e001083 100644 --- a/Sources/LiveKit/Core/Room+EngineDelegate.swift +++ b/Sources/LiveKit/Core/Room+EngineDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+MulticastDelegate.swift b/Sources/LiveKit/Core/Room+MulticastDelegate.swift index 960d7a556..3899e6d4d 100644 --- a/Sources/LiveKit/Core/Room+MulticastDelegate.swift +++ b/Sources/LiveKit/Core/Room+MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+SignalClientDelegate.swift b/Sources/LiveKit/Core/Room+SignalClientDelegate.swift index 0ae8b5a1b..6f6d5618c 100644 --- a/Sources/LiveKit/Core/Room+SignalClientDelegate.swift +++ b/Sources/LiveKit/Core/Room+SignalClientDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room+TransportDelegate.swift b/Sources/LiveKit/Core/Room+TransportDelegate.swift index 78c778f9b..f7137b6f8 100644 --- a/Sources/LiveKit/Core/Room+TransportDelegate.swift +++ b/Sources/LiveKit/Core/Room+TransportDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Room.swift b/Sources/LiveKit/Core/Room.swift index 2db5e5977..65c2b9dab 100644 --- a/Sources/LiveKit/Core/Room.swift +++ b/Sources/LiveKit/Core/Room.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/SignalClient.swift b/Sources/LiveKit/Core/SignalClient.swift index 93a97ba67..2f4f543a6 100644 --- a/Sources/LiveKit/Core/SignalClient.swift +++ b/Sources/LiveKit/Core/SignalClient.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Core/Transport.swift b/Sources/LiveKit/Core/Transport.swift index 6dba8b430..10c6fce5b 100644 --- a/Sources/LiveKit/Core/Transport.swift +++ b/Sources/LiveKit/Core/Transport.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/E2EE/E2EEManager.swift b/Sources/LiveKit/E2EE/E2EEManager.swift index 3941677a1..1524c25b8 100644 --- a/Sources/LiveKit/E2EE/E2EEManager.swift +++ b/Sources/LiveKit/E2EE/E2EEManager.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/E2EE/KeyProvider.swift b/Sources/LiveKit/E2EE/KeyProvider.swift index 2d2244a63..5b1497a98 100644 --- a/Sources/LiveKit/E2EE/KeyProvider.swift +++ b/Sources/LiveKit/E2EE/KeyProvider.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/E2EE/Options.swift b/Sources/LiveKit/E2EE/Options.swift index a7844529f..6dc0f1159 100644 --- a/Sources/LiveKit/E2EE/Options.swift +++ b/Sources/LiveKit/E2EE/Options.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/E2EE/State.swift b/Sources/LiveKit/E2EE/State.swift index f8c6f0ec1..7eaeeb7b9 100644 --- a/Sources/LiveKit/E2EE/State.swift +++ b/Sources/LiveKit/E2EE/State.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Errors.swift b/Sources/LiveKit/Errors.swift index 40f18fe0e..04f3186ac 100644 --- a/Sources/LiveKit/Errors.swift +++ b/Sources/LiveKit/Errors.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/AVAudioPCMBuffer.swift b/Sources/LiveKit/Extensions/AVAudioPCMBuffer.swift index ce4ccab49..5e8fd4937 100644 --- a/Sources/LiveKit/Extensions/AVAudioPCMBuffer.swift +++ b/Sources/LiveKit/Extensions/AVAudioPCMBuffer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/AVCaptureDevice.swift b/Sources/LiveKit/Extensions/AVCaptureDevice.swift index 5fdf86026..75f5ca7f8 100644 --- a/Sources/LiveKit/Extensions/AVCaptureDevice.swift +++ b/Sources/LiveKit/Extensions/AVCaptureDevice.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/CustomStringConvertible.swift b/Sources/LiveKit/Extensions/CustomStringConvertible.swift index fb72d7eba..79b09f409 100644 --- a/Sources/LiveKit/Extensions/CustomStringConvertible.swift +++ b/Sources/LiveKit/Extensions/CustomStringConvertible.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/DispatchQueue.swift b/Sources/LiveKit/Extensions/DispatchQueue.swift index 6ada17e14..be01497d1 100644 --- a/Sources/LiveKit/Extensions/DispatchQueue.swift +++ b/Sources/LiveKit/Extensions/DispatchQueue.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/LKRTCRtpSender.swift b/Sources/LiveKit/Extensions/LKRTCRtpSender.swift index 914810f27..62513d791 100644 --- a/Sources/LiveKit/Extensions/LKRTCRtpSender.swift +++ b/Sources/LiveKit/Extensions/LKRTCRtpSender.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/Logger.swift b/Sources/LiveKit/Extensions/Logger.swift index 4f7048e74..a685b257e 100644 --- a/Sources/LiveKit/Extensions/Logger.swift +++ b/Sources/LiveKit/Extensions/Logger.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/PixelBuffer.swift b/Sources/LiveKit/Extensions/PixelBuffer.swift index bcc5fc925..984c6717d 100644 --- a/Sources/LiveKit/Extensions/PixelBuffer.swift +++ b/Sources/LiveKit/Extensions/PixelBuffer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/Primitives.swift b/Sources/LiveKit/Extensions/Primitives.swift index a8771556f..c695349a5 100644 --- a/Sources/LiveKit/Extensions/Primitives.swift +++ b/Sources/LiveKit/Extensions/Primitives.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCConfiguration.swift b/Sources/LiveKit/Extensions/RTCConfiguration.swift index adeeace17..fc85d4dc7 100644 --- a/Sources/LiveKit/Extensions/RTCConfiguration.swift +++ b/Sources/LiveKit/Extensions/RTCConfiguration.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCDataChannel+Util.swift b/Sources/LiveKit/Extensions/RTCDataChannel+Util.swift index 9340e4e94..ef7ac08ef 100644 --- a/Sources/LiveKit/Extensions/RTCDataChannel+Util.swift +++ b/Sources/LiveKit/Extensions/RTCDataChannel+Util.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCI420Buffer.swift b/Sources/LiveKit/Extensions/RTCI420Buffer.swift index 031670d86..a3a928773 100644 --- a/Sources/LiveKit/Extensions/RTCI420Buffer.swift +++ b/Sources/LiveKit/Extensions/RTCI420Buffer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCMediaConstraints.swift b/Sources/LiveKit/Extensions/RTCMediaConstraints.swift index 1da82ac0b..b51fa0c39 100644 --- a/Sources/LiveKit/Extensions/RTCMediaConstraints.swift +++ b/Sources/LiveKit/Extensions/RTCMediaConstraints.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCRtpTransceiver.swift b/Sources/LiveKit/Extensions/RTCRtpTransceiver.swift index 57d3724e8..c12c2ed4b 100644 --- a/Sources/LiveKit/Extensions/RTCRtpTransceiver.swift +++ b/Sources/LiveKit/Extensions/RTCRtpTransceiver.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift b/Sources/LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift index 29b01f2a6..f40bd2f18 100644 --- a/Sources/LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift +++ b/Sources/LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/Sendable.swift b/Sources/LiveKit/Extensions/Sendable.swift index c1eba6fa2..860ac3883 100644 --- a/Sources/LiveKit/Extensions/Sendable.swift +++ b/Sources/LiveKit/Extensions/Sendable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/String.swift b/Sources/LiveKit/Extensions/String.swift index 6501f58cf..cd45e15bf 100644 --- a/Sources/LiveKit/Extensions/String.swift +++ b/Sources/LiveKit/Extensions/String.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/TimeInterval.swift b/Sources/LiveKit/Extensions/TimeInterval.swift index e6bc1e61d..fcce64435 100644 --- a/Sources/LiveKit/Extensions/TimeInterval.swift +++ b/Sources/LiveKit/Extensions/TimeInterval.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Extensions/URL.swift b/Sources/LiveKit/Extensions/URL.swift index 18873b440..95ea6b5f9 100644 --- a/Sources/LiveKit/Extensions/URL.swift +++ b/Sources/LiveKit/Extensions/URL.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/LiveKit+DeviceHelpers.swift b/Sources/LiveKit/LiveKit+DeviceHelpers.swift index 328716466..587e3e42e 100644 --- a/Sources/LiveKit/LiveKit+DeviceHelpers.swift +++ b/Sources/LiveKit/LiveKit+DeviceHelpers.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/LiveKit.swift b/Sources/LiveKit/LiveKit.swift index 11c4d6425..eead9735c 100644 --- a/Sources/LiveKit/LiveKit.swift +++ b/Sources/LiveKit/LiveKit.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/LocalParticipant.swift b/Sources/LiveKit/Participant/LocalParticipant.swift index e8a159b61..8f00e216c 100644 --- a/Sources/LiveKit/Participant/LocalParticipant.swift +++ b/Sources/LiveKit/Participant/LocalParticipant.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant+Convenience.swift b/Sources/LiveKit/Participant/Participant+Convenience.swift index 968a01470..ab66cceed 100644 --- a/Sources/LiveKit/Participant/Participant+Convenience.swift +++ b/Sources/LiveKit/Participant/Participant+Convenience.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant+Equatable.swift b/Sources/LiveKit/Participant/Participant+Equatable.swift index 3bd97f901..4a6291803 100644 --- a/Sources/LiveKit/Participant/Participant+Equatable.swift +++ b/Sources/LiveKit/Participant/Participant+Equatable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant+Identifiable.swift b/Sources/LiveKit/Participant/Participant+Identifiable.swift index a3b8e4e46..f3c066d1d 100644 --- a/Sources/LiveKit/Participant/Participant+Identifiable.swift +++ b/Sources/LiveKit/Participant/Participant+Identifiable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant+Kind.swift b/Sources/LiveKit/Participant/Participant+Kind.swift index c527f1c16..65e3c2ea5 100644 --- a/Sources/LiveKit/Participant/Participant+Kind.swift +++ b/Sources/LiveKit/Participant/Participant+Kind.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant+MulticastDelegate.swift b/Sources/LiveKit/Participant/Participant+MulticastDelegate.swift index d49f8c28f..5d500386a 100644 --- a/Sources/LiveKit/Participant/Participant+MulticastDelegate.swift +++ b/Sources/LiveKit/Participant/Participant+MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/Participant.swift b/Sources/LiveKit/Participant/Participant.swift index de2da3e00..9faa339d7 100644 --- a/Sources/LiveKit/Participant/Participant.swift +++ b/Sources/LiveKit/Participant/Participant.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Participant/RemoteParticipant.swift b/Sources/LiveKit/Participant/RemoteParticipant.swift index 671b79aac..85b2c84e1 100644 --- a/Sources/LiveKit/Participant/RemoteParticipant.swift +++ b/Sources/LiveKit/Participant/RemoteParticipant.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/AudioCustomProcessingDelegate.swift b/Sources/LiveKit/Protocols/AudioCustomProcessingDelegate.swift index 0b84aa0f0..1d7a4938d 100644 --- a/Sources/LiveKit/Protocols/AudioCustomProcessingDelegate.swift +++ b/Sources/LiveKit/Protocols/AudioCustomProcessingDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/AudioRenderer.swift b/Sources/LiveKit/Protocols/AudioRenderer.swift index 7675a00da..d0f6326be 100644 --- a/Sources/LiveKit/Protocols/AudioRenderer.swift +++ b/Sources/LiveKit/Protocols/AudioRenderer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/MediaEncoding.swift b/Sources/LiveKit/Protocols/MediaEncoding.swift index e3db8ab54..3c3b103ec 100644 --- a/Sources/LiveKit/Protocols/MediaEncoding.swift +++ b/Sources/LiveKit/Protocols/MediaEncoding.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/Mirrorable.swift b/Sources/LiveKit/Protocols/Mirrorable.swift index 04f3d4ec0..1f3f9d233 100644 --- a/Sources/LiveKit/Protocols/Mirrorable.swift +++ b/Sources/LiveKit/Protocols/Mirrorable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/ParticipantDelegate.swift b/Sources/LiveKit/Protocols/ParticipantDelegate.swift index 68c6d428e..b9c413de9 100644 --- a/Sources/LiveKit/Protocols/ParticipantDelegate.swift +++ b/Sources/LiveKit/Protocols/ParticipantDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/RoomDelegate.swift b/Sources/LiveKit/Protocols/RoomDelegate.swift index 9b17eb70c..2c1982e74 100644 --- a/Sources/LiveKit/Protocols/RoomDelegate.swift +++ b/Sources/LiveKit/Protocols/RoomDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/SignalClientDelegate.swift b/Sources/LiveKit/Protocols/SignalClientDelegate.swift index 038807150..7726f60fc 100644 --- a/Sources/LiveKit/Protocols/SignalClientDelegate.swift +++ b/Sources/LiveKit/Protocols/SignalClientDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/TrackDelegate.swift b/Sources/LiveKit/Protocols/TrackDelegate.swift index e763ad5c7..fc76a0324 100644 --- a/Sources/LiveKit/Protocols/TrackDelegate.swift +++ b/Sources/LiveKit/Protocols/TrackDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/TransportDelegate.swift b/Sources/LiveKit/Protocols/TransportDelegate.swift index 672a78b17..bd8b67a11 100644 --- a/Sources/LiveKit/Protocols/TransportDelegate.swift +++ b/Sources/LiveKit/Protocols/TransportDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/VideoRenderer.swift b/Sources/LiveKit/Protocols/VideoRenderer.swift index 6b4286d94..cd26ac0a4 100644 --- a/Sources/LiveKit/Protocols/VideoRenderer.swift +++ b/Sources/LiveKit/Protocols/VideoRenderer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Protocols/VideoViewDelegate.swift b/Sources/LiveKit/Protocols/VideoViewDelegate.swift index b1d5f00b4..8a8b5279c 100644 --- a/Sources/LiveKit/Protocols/VideoViewDelegate.swift +++ b/Sources/LiveKit/Protocols/VideoViewDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AppStateListener.swift b/Sources/LiveKit/Support/AppStateListener.swift index 46e9c612e..7d6f24ffa 100644 --- a/Sources/LiveKit/Support/AppStateListener.swift +++ b/Sources/LiveKit/Support/AppStateListener.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AsyncCompleter.swift b/Sources/LiveKit/Support/AsyncCompleter.swift index b89a8eb2e..533060119 100644 --- a/Sources/LiveKit/Support/AsyncCompleter.swift +++ b/Sources/LiveKit/Support/AsyncCompleter.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AsyncDebounce.swift b/Sources/LiveKit/Support/AsyncDebounce.swift index b54ce982c..047386b09 100644 --- a/Sources/LiveKit/Support/AsyncDebounce.swift +++ b/Sources/LiveKit/Support/AsyncDebounce.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AsyncRetry.swift b/Sources/LiveKit/Support/AsyncRetry.swift index 37485ab31..d89e0e5f8 100644 --- a/Sources/LiveKit/Support/AsyncRetry.swift +++ b/Sources/LiveKit/Support/AsyncRetry.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AsyncSerialDelegate.swift b/Sources/LiveKit/Support/AsyncSerialDelegate.swift index e15122904..05c727c6a 100644 --- a/Sources/LiveKit/Support/AsyncSerialDelegate.swift +++ b/Sources/LiveKit/Support/AsyncSerialDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/AsyncTimer.swift b/Sources/LiveKit/Support/AsyncTimer.swift index 964939d9c..fbeee17c0 100644 --- a/Sources/LiveKit/Support/AsyncTimer.swift +++ b/Sources/LiveKit/Support/AsyncTimer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/ConnectivityListener.swift b/Sources/LiveKit/Support/ConnectivityListener.swift index a5179a7a4..434e5c9db 100644 --- a/Sources/LiveKit/Support/ConnectivityListener.swift +++ b/Sources/LiveKit/Support/ConnectivityListener.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/DeviceManager.swift b/Sources/LiveKit/Support/DeviceManager.swift index e3458f194..2ffc8893a 100644 --- a/Sources/LiveKit/Support/DeviceManager.swift +++ b/Sources/LiveKit/Support/DeviceManager.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/FFTProcessor.swift b/Sources/LiveKit/Support/FFTProcessor.swift index 83ab75cc7..2ee10179c 100755 --- a/Sources/LiveKit/Support/FFTProcessor.swift +++ b/Sources/LiveKit/Support/FFTProcessor.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/Global.swift b/Sources/LiveKit/Support/Global.swift index 8d828ee7e..8c9ff22c4 100644 --- a/Sources/LiveKit/Support/Global.swift +++ b/Sources/LiveKit/Support/Global.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/HTTP.swift b/Sources/LiveKit/Support/HTTP.swift index 87f639949..8c742a42a 100644 --- a/Sources/LiveKit/Support/HTTP.swift +++ b/Sources/LiveKit/Support/HTTP.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/MulticastDelegate.swift b/Sources/LiveKit/Support/MulticastDelegate.swift index e86191eaa..b0a2efae2 100644 --- a/Sources/LiveKit/Support/MulticastDelegate.swift +++ b/Sources/LiveKit/Support/MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/NativeView.swift b/Sources/LiveKit/Support/NativeView.swift index 6cd3f6580..d6f963c97 100644 --- a/Sources/LiveKit/Support/NativeView.swift +++ b/Sources/LiveKit/Support/NativeView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/NativeViewRepresentable.swift b/Sources/LiveKit/Support/NativeViewRepresentable.swift index 59b7df7d6..4b209a4c9 100644 --- a/Sources/LiveKit/Support/NativeViewRepresentable.swift +++ b/Sources/LiveKit/Support/NativeViewRepresentable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/QueueActor.swift b/Sources/LiveKit/Support/QueueActor.swift index 74d9c513c..74ee2840c 100644 --- a/Sources/LiveKit/Support/QueueActor.swift +++ b/Sources/LiveKit/Support/QueueActor.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/RingBuffer.swift b/Sources/LiveKit/Support/RingBuffer.swift index ddbc1e682..7f9847a5d 100644 --- a/Sources/LiveKit/Support/RingBuffer.swift +++ b/Sources/LiveKit/Support/RingBuffer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/SerialRunnerActor.swift b/Sources/LiveKit/Support/SerialRunnerActor.swift index f5493c3c9..40f88f121 100644 --- a/Sources/LiveKit/Support/SerialRunnerActor.swift +++ b/Sources/LiveKit/Support/SerialRunnerActor.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/StateSync.swift b/Sources/LiveKit/Support/StateSync.swift index e12178fba..9c7c2ae70 100644 --- a/Sources/LiveKit/Support/StateSync.swift +++ b/Sources/LiveKit/Support/StateSync.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/Stopwatch.swift b/Sources/LiveKit/Support/Stopwatch.swift index b94cf87c6..024b72fcb 100644 --- a/Sources/LiveKit/Support/Stopwatch.swift +++ b/Sources/LiveKit/Support/Stopwatch.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/TextView.swift b/Sources/LiveKit/Support/TextView.swift index 9ea7281cb..f0ae63360 100644 --- a/Sources/LiveKit/Support/TextView.swift +++ b/Sources/LiveKit/Support/TextView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/UnfairLock.swift b/Sources/LiveKit/Support/UnfairLock.swift index b2a3663de..57436a1b8 100644 --- a/Sources/LiveKit/Support/UnfairLock.swift +++ b/Sources/LiveKit/Support/UnfairLock.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/Utils.swift b/Sources/LiveKit/Support/Utils.swift index ef31754c5..6a5f43e23 100644 --- a/Sources/LiveKit/Support/Utils.swift +++ b/Sources/LiveKit/Support/Utils.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/ValueOrAbsent.swift b/Sources/LiveKit/Support/ValueOrAbsent.swift index 8e639035a..1804be680 100644 --- a/Sources/LiveKit/Support/ValueOrAbsent.swift +++ b/Sources/LiveKit/Support/ValueOrAbsent.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Support/WebSocket.swift b/Sources/LiveKit/Support/WebSocket.swift index 4107cc681..f964777a4 100644 --- a/Sources/LiveKit/Support/WebSocket.swift +++ b/Sources/LiveKit/Support/WebSocket.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/SwiftUI/SwiftUIAudioRoutePickerButton.swift b/Sources/LiveKit/SwiftUI/SwiftUIAudioRoutePickerButton.swift index 79545cac8..e852b3465 100644 --- a/Sources/LiveKit/SwiftUI/SwiftUIAudioRoutePickerButton.swift +++ b/Sources/LiveKit/SwiftUI/SwiftUIAudioRoutePickerButton.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift b/Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift index 1a41fe33f..b92c0253c 100644 --- a/Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift +++ b/Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/SwiftUI/TrackDelegateObserver.swift b/Sources/LiveKit/SwiftUI/TrackDelegateObserver.swift index 06300a329..687861e60 100644 --- a/Sources/LiveKit/SwiftUI/TrackDelegateObserver.swift +++ b/Sources/LiveKit/SwiftUI/TrackDelegateObserver.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/AudioManager.swift b/Sources/LiveKit/Track/AudioManager.swift index f597d71b3..de670b01f 100644 --- a/Sources/LiveKit/Track/AudioManager.swift +++ b/Sources/LiveKit/Track/AudioManager.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/AudioTrack.swift b/Sources/LiveKit/Track/AudioTrack.swift index 003bb09e2..c4d13b610 100644 --- a/Sources/LiveKit/Track/AudioTrack.swift +++ b/Sources/LiveKit/Track/AudioTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/ARCameraCapturer.swift b/Sources/LiveKit/Track/Capturers/ARCameraCapturer.swift index 30159c959..1696b3e6d 100644 --- a/Sources/LiveKit/Track/Capturers/ARCameraCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/ARCameraCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/BufferCapturer.swift b/Sources/LiveKit/Track/Capturers/BufferCapturer.swift index 431c88341..3bd0e255e 100644 --- a/Sources/LiveKit/Track/Capturers/BufferCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/BufferCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift index 90a8e807e..b9df82fe1 100644 --- a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/InAppCapturer.swift b/Sources/LiveKit/Track/Capturers/InAppCapturer.swift index 91b26d888..7ff6588c9 100644 --- a/Sources/LiveKit/Track/Capturers/InAppCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/InAppCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/MacOSScreenCapturer.swift b/Sources/LiveKit/Track/Capturers/MacOSScreenCapturer.swift index f4d75d9c1..c92811ab2 100644 --- a/Sources/LiveKit/Track/Capturers/MacOSScreenCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/MacOSScreenCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/VideoCapturer+MulticastDelegate.swift b/Sources/LiveKit/Track/Capturers/VideoCapturer+MulticastDelegate.swift index ccf1676a2..258dca9eb 100644 --- a/Sources/LiveKit/Track/Capturers/VideoCapturer+MulticastDelegate.swift +++ b/Sources/LiveKit/Track/Capturers/VideoCapturer+MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Capturers/VideoCapturer.swift b/Sources/LiveKit/Track/Capturers/VideoCapturer.swift index 03d0d61b4..03db6786b 100644 --- a/Sources/LiveKit/Track/Capturers/VideoCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/VideoCapturer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Local/LocalAudioTrack.swift b/Sources/LiveKit/Track/Local/LocalAudioTrack.swift index 2c525fcb3..35eaae63c 100644 --- a/Sources/LiveKit/Track/Local/LocalAudioTrack.swift +++ b/Sources/LiveKit/Track/Local/LocalAudioTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Local/LocalTrack.swift b/Sources/LiveKit/Track/Local/LocalTrack.swift index 746a26e64..f6e1efb2a 100644 --- a/Sources/LiveKit/Track/Local/LocalTrack.swift +++ b/Sources/LiveKit/Track/Local/LocalTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Local/LocalVideoTrack.swift b/Sources/LiveKit/Track/Local/LocalVideoTrack.swift index 99d358697..f21547fc5 100644 --- a/Sources/LiveKit/Track/Local/LocalVideoTrack.swift +++ b/Sources/LiveKit/Track/Local/LocalVideoTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Remote/RemoteAudioTrack.swift b/Sources/LiveKit/Track/Remote/RemoteAudioTrack.swift index 94821a347..4b0776482 100644 --- a/Sources/LiveKit/Track/Remote/RemoteAudioTrack.swift +++ b/Sources/LiveKit/Track/Remote/RemoteAudioTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Remote/RemoteTrack.swift b/Sources/LiveKit/Track/Remote/RemoteTrack.swift index 6192de347..85d9a5ca4 100644 --- a/Sources/LiveKit/Track/Remote/RemoteTrack.swift +++ b/Sources/LiveKit/Track/Remote/RemoteTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Remote/RemoteVideoTrack.swift b/Sources/LiveKit/Track/Remote/RemoteVideoTrack.swift index 321b93023..a767d9205 100644 --- a/Sources/LiveKit/Track/Remote/RemoteVideoTrack.swift +++ b/Sources/LiveKit/Track/Remote/RemoteVideoTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Support/Extensions.swift b/Sources/LiveKit/Track/Support/Extensions.swift index 313992cc5..634f25dde 100644 --- a/Sources/LiveKit/Track/Support/Extensions.swift +++ b/Sources/LiveKit/Track/Support/Extensions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Track+Equatable.swift b/Sources/LiveKit/Track/Track+Equatable.swift index 0146dfbf8..9af8d5b86 100644 --- a/Sources/LiveKit/Track/Track+Equatable.swift +++ b/Sources/LiveKit/Track/Track+Equatable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Track+MulticastDelegate.swift b/Sources/LiveKit/Track/Track+MulticastDelegate.swift index 8250ed3a1..10ea62ca6 100644 --- a/Sources/LiveKit/Track/Track+MulticastDelegate.swift +++ b/Sources/LiveKit/Track/Track+MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/Track.swift b/Sources/LiveKit/Track/Track.swift index 217079251..2a9b30eda 100644 --- a/Sources/LiveKit/Track/Track.swift +++ b/Sources/LiveKit/Track/Track.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Track/VideoTrack.swift b/Sources/LiveKit/Track/VideoTrack.swift index edeb734e8..2a5cbf52b 100644 --- a/Sources/LiveKit/Track/VideoTrack.swift +++ b/Sources/LiveKit/Track/VideoTrack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/TrackPublications/LocalTrackPublication.swift b/Sources/LiveKit/TrackPublications/LocalTrackPublication.swift index bde84b213..2961b634a 100644 --- a/Sources/LiveKit/TrackPublications/LocalTrackPublication.swift +++ b/Sources/LiveKit/TrackPublications/LocalTrackPublication.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/TrackPublications/RemoteTrackPublication.swift b/Sources/LiveKit/TrackPublications/RemoteTrackPublication.swift index c286c932d..c3adc7d74 100644 --- a/Sources/LiveKit/TrackPublications/RemoteTrackPublication.swift +++ b/Sources/LiveKit/TrackPublications/RemoteTrackPublication.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/TrackPublications/TrackPublication+Equatable.swift b/Sources/LiveKit/TrackPublications/TrackPublication+Equatable.swift index 677ee559f..859696f7c 100644 --- a/Sources/LiveKit/TrackPublications/TrackPublication+Equatable.swift +++ b/Sources/LiveKit/TrackPublications/TrackPublication+Equatable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/TrackPublications/TrackPublication+Identifiable.swift b/Sources/LiveKit/TrackPublications/TrackPublication+Identifiable.swift index e6492cb18..64fe31e14 100644 --- a/Sources/LiveKit/TrackPublications/TrackPublication+Identifiable.swift +++ b/Sources/LiveKit/TrackPublications/TrackPublication+Identifiable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/TrackPublications/TrackPublication.swift b/Sources/LiveKit/TrackPublications/TrackPublication.swift index f2addd332..53c986ded 100644 --- a/Sources/LiveKit/TrackPublications/TrackPublication.swift +++ b/Sources/LiveKit/TrackPublications/TrackPublication.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/AgentState.swift b/Sources/LiveKit/Types/AgentState.swift index de37b8767..4fd639f81 100644 --- a/Sources/LiveKit/Types/AgentState.swift +++ b/Sources/LiveKit/Types/AgentState.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/AudioDevice.swift b/Sources/LiveKit/Types/AudioDevice.swift index c0ec2817d..aa5cf0dca 100644 --- a/Sources/LiveKit/Types/AudioDevice.swift +++ b/Sources/LiveKit/Types/AudioDevice.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/AudioEncoding+Comparable.swift b/Sources/LiveKit/Types/AudioEncoding+Comparable.swift index 6d3c81ee7..b0948314b 100644 --- a/Sources/LiveKit/Types/AudioEncoding+Comparable.swift +++ b/Sources/LiveKit/Types/AudioEncoding+Comparable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/AudioEncoding.swift b/Sources/LiveKit/Types/AudioEncoding.swift index 5433b33df..add185960 100644 --- a/Sources/LiveKit/Types/AudioEncoding.swift +++ b/Sources/LiveKit/Types/AudioEncoding.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/AudioSessionConfiguration.swift b/Sources/LiveKit/Types/AudioSessionConfiguration.swift index 34aba0f6f..171da686b 100644 --- a/Sources/LiveKit/Types/AudioSessionConfiguration.swift +++ b/Sources/LiveKit/Types/AudioSessionConfiguration.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ConnectionQuality.swift b/Sources/LiveKit/Types/ConnectionQuality.swift index 5d8d98793..cfa3c37a7 100644 --- a/Sources/LiveKit/Types/ConnectionQuality.swift +++ b/Sources/LiveKit/Types/ConnectionQuality.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ConnectionState.swift b/Sources/LiveKit/Types/ConnectionState.swift index 175d2a588..9dae16a4b 100644 --- a/Sources/LiveKit/Types/ConnectionState.swift +++ b/Sources/LiveKit/Types/ConnectionState.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/DegradationPreference.swift b/Sources/LiveKit/Types/DegradationPreference.swift index fc7c331dd..964ec0614 100644 --- a/Sources/LiveKit/Types/DegradationPreference.swift +++ b/Sources/LiveKit/Types/DegradationPreference.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Dimensions.swift b/Sources/LiveKit/Types/Dimensions.swift index d165fdb7d..4c20d6091 100644 --- a/Sources/LiveKit/Types/Dimensions.swift +++ b/Sources/LiveKit/Types/Dimensions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/IceCandidate.swift b/Sources/LiveKit/Types/IceCandidate.swift index 9518a0056..d019d3349 100644 --- a/Sources/LiveKit/Types/IceCandidate.swift +++ b/Sources/LiveKit/Types/IceCandidate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/IceServer.swift b/Sources/LiveKit/Types/IceServer.swift index 9bb057851..a679abe62 100644 --- a/Sources/LiveKit/Types/IceServer.swift +++ b/Sources/LiveKit/Types/IceServer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/IceTransportPolicy.swift b/Sources/LiveKit/Types/IceTransportPolicy.swift index 699d831f5..5e0099e75 100644 --- a/Sources/LiveKit/Types/IceTransportPolicy.swift +++ b/Sources/LiveKit/Types/IceTransportPolicy.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/MediaDevice.swift b/Sources/LiveKit/Types/MediaDevice.swift index 2877be8f5..ace45bc7c 100644 --- a/Sources/LiveKit/Types/MediaDevice.swift +++ b/Sources/LiveKit/Types/MediaDevice.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/ARCameraCaptureOptions.swift b/Sources/LiveKit/Types/Options/ARCameraCaptureOptions.swift index d0df51d4b..65454d024 100644 --- a/Sources/LiveKit/Types/Options/ARCameraCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/ARCameraCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift b/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift index 6bd186737..1e0680b0d 100644 --- a/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/AudioPublishOptions.swift b/Sources/LiveKit/Types/Options/AudioPublishOptions.swift index 81163645c..d55d9172d 100644 --- a/Sources/LiveKit/Types/Options/AudioPublishOptions.swift +++ b/Sources/LiveKit/Types/Options/AudioPublishOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/BufferCaptureOptions.swift b/Sources/LiveKit/Types/Options/BufferCaptureOptions.swift index 2c025c7a8..83ec519f7 100644 --- a/Sources/LiveKit/Types/Options/BufferCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/BufferCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/CameraCaptureOptions+Copy.swift b/Sources/LiveKit/Types/Options/CameraCaptureOptions+Copy.swift index f40bc8752..f5c839f36 100644 --- a/Sources/LiveKit/Types/Options/CameraCaptureOptions+Copy.swift +++ b/Sources/LiveKit/Types/Options/CameraCaptureOptions+Copy.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/CameraCaptureOptions.swift b/Sources/LiveKit/Types/Options/CameraCaptureOptions.swift index dc9725c54..848914e3f 100644 --- a/Sources/LiveKit/Types/Options/CameraCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/CameraCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/CaptureOptions.swift b/Sources/LiveKit/Types/Options/CaptureOptions.swift index eb5a87ae0..070fcf9af 100644 --- a/Sources/LiveKit/Types/Options/CaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/CaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/ConnectOptions+Copy.swift b/Sources/LiveKit/Types/Options/ConnectOptions+Copy.swift index a5e90055a..3474a9f23 100644 --- a/Sources/LiveKit/Types/Options/ConnectOptions+Copy.swift +++ b/Sources/LiveKit/Types/Options/ConnectOptions+Copy.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/ConnectOptions.swift b/Sources/LiveKit/Types/Options/ConnectOptions.swift index a41427c8e..e6d99f9c0 100644 --- a/Sources/LiveKit/Types/Options/ConnectOptions.swift +++ b/Sources/LiveKit/Types/Options/ConnectOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/DataPublishOptions.swift b/Sources/LiveKit/Types/Options/DataPublishOptions.swift index 3310e5b67..c0af00dfc 100644 --- a/Sources/LiveKit/Types/Options/DataPublishOptions.swift +++ b/Sources/LiveKit/Types/Options/DataPublishOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/PublishOptions.swift b/Sources/LiveKit/Types/Options/PublishOptions.swift index e4ffffcdc..6529cc946 100644 --- a/Sources/LiveKit/Types/Options/PublishOptions.swift +++ b/Sources/LiveKit/Types/Options/PublishOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/RoomOptions.swift b/Sources/LiveKit/Types/Options/RoomOptions.swift index a17d96b2b..d56e2bc7d 100644 --- a/Sources/LiveKit/Types/Options/RoomOptions.swift +++ b/Sources/LiveKit/Types/Options/RoomOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/ScreenShareCaptureOptions.swift b/Sources/LiveKit/Types/Options/ScreenShareCaptureOptions.swift index c67821ccd..e894f42c5 100644 --- a/Sources/LiveKit/Types/Options/ScreenShareCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/ScreenShareCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/VideoCaptureOptions.swift b/Sources/LiveKit/Types/Options/VideoCaptureOptions.swift index caca55312..8633ed71e 100644 --- a/Sources/LiveKit/Types/Options/VideoCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/VideoCaptureOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Options/VideoPublishOptions.swift b/Sources/LiveKit/Types/Options/VideoPublishOptions.swift index 143406bf5..85cece936 100644 --- a/Sources/LiveKit/Types/Options/VideoPublishOptions.swift +++ b/Sources/LiveKit/Types/Options/VideoPublishOptions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Participant+Types.swift b/Sources/LiveKit/Types/Participant+Types.swift index c8645cf44..d949ff700 100644 --- a/Sources/LiveKit/Types/Participant+Types.swift +++ b/Sources/LiveKit/Types/Participant+Types.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ParticipantPermissions.swift b/Sources/LiveKit/Types/ParticipantPermissions.swift index 06cb5f14d..25b369012 100644 --- a/Sources/LiveKit/Types/ParticipantPermissions.swift +++ b/Sources/LiveKit/Types/ParticipantPermissions.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ParticipantTrackPermission.swift b/Sources/LiveKit/Types/ParticipantTrackPermission.swift index 2b8ffdddc..edaa1f153 100644 --- a/Sources/LiveKit/Types/ParticipantTrackPermission.swift +++ b/Sources/LiveKit/Types/ParticipantTrackPermission.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ProtocolVersion.swift b/Sources/LiveKit/Types/ProtocolVersion.swift index a1a2ccc7b..ee28be56b 100644 --- a/Sources/LiveKit/Types/ProtocolVersion.swift +++ b/Sources/LiveKit/Types/ProtocolVersion.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Room+Types.swift b/Sources/LiveKit/Types/Room+Types.swift index 026ec3627..7ef700536 100644 --- a/Sources/LiveKit/Types/Room+Types.swift +++ b/Sources/LiveKit/Types/Room+Types.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/ScalabilityMode.swift b/Sources/LiveKit/Types/ScalabilityMode.swift index 838db04e2..c65588665 100644 --- a/Sources/LiveKit/Types/ScalabilityMode.swift +++ b/Sources/LiveKit/Types/ScalabilityMode.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/SessionDescription.swift b/Sources/LiveKit/Types/SessionDescription.swift index d271ecd5a..f2c22b7fd 100644 --- a/Sources/LiveKit/Types/SessionDescription.swift +++ b/Sources/LiveKit/Types/SessionDescription.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Statistics.swift b/Sources/LiveKit/Types/Statistics.swift index 825dce9f2..640eb70bb 100644 --- a/Sources/LiveKit/Types/Statistics.swift +++ b/Sources/LiveKit/Types/Statistics.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/Track+Types.swift b/Sources/LiveKit/Types/Track+Types.swift index 4c233a56c..64c64c117 100644 --- a/Sources/LiveKit/Types/Track+Types.swift +++ b/Sources/LiveKit/Types/Track+Types.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TrackSettings.swift b/Sources/LiveKit/Types/TrackSettings.swift index 656f54a28..a2cccea05 100644 --- a/Sources/LiveKit/Types/TrackSettings.swift +++ b/Sources/LiveKit/Types/TrackSettings.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TrackSource.swift b/Sources/LiveKit/Types/TrackSource.swift index d43659fda..865d1c91c 100644 --- a/Sources/LiveKit/Types/TrackSource.swift +++ b/Sources/LiveKit/Types/TrackSource.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TrackStatistics.swift b/Sources/LiveKit/Types/TrackStatistics.swift index df89ee3ec..ab441bfce 100644 --- a/Sources/LiveKit/Types/TrackStatistics.swift +++ b/Sources/LiveKit/Types/TrackStatistics.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TrackStreamState.swift b/Sources/LiveKit/Types/TrackStreamState.swift index 8c0576719..7a4f1a2c9 100644 --- a/Sources/LiveKit/Types/TrackStreamState.swift +++ b/Sources/LiveKit/Types/TrackStreamState.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TrackType.swift b/Sources/LiveKit/Types/TrackType.swift index 11ab9b5e2..835fe47a2 100644 --- a/Sources/LiveKit/Types/TrackType.swift +++ b/Sources/LiveKit/Types/TrackType.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/TranscriptionSegment.swift b/Sources/LiveKit/Types/TranscriptionSegment.swift index 27d18f9fa..60c949edc 100644 --- a/Sources/LiveKit/Types/TranscriptionSegment.swift +++ b/Sources/LiveKit/Types/TranscriptionSegment.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoCodec.swift b/Sources/LiveKit/Types/VideoCodec.swift index 072efc7c1..71da7776c 100644 --- a/Sources/LiveKit/Types/VideoCodec.swift +++ b/Sources/LiveKit/Types/VideoCodec.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoEncoding+Comparable.swift b/Sources/LiveKit/Types/VideoEncoding+Comparable.swift index 46e7d2f5b..9b3b4523f 100644 --- a/Sources/LiveKit/Types/VideoEncoding+Comparable.swift +++ b/Sources/LiveKit/Types/VideoEncoding+Comparable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoEncoding.swift b/Sources/LiveKit/Types/VideoEncoding.swift index 370349a4f..52860955e 100644 --- a/Sources/LiveKit/Types/VideoEncoding.swift +++ b/Sources/LiveKit/Types/VideoEncoding.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoFrame.swift b/Sources/LiveKit/Types/VideoFrame.swift index 0ad494a8e..56621408f 100644 --- a/Sources/LiveKit/Types/VideoFrame.swift +++ b/Sources/LiveKit/Types/VideoFrame.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoParameters+Comparable.swift b/Sources/LiveKit/Types/VideoParameters+Comparable.swift index a8f6ac631..c48cad3f7 100644 --- a/Sources/LiveKit/Types/VideoParameters+Comparable.swift +++ b/Sources/LiveKit/Types/VideoParameters+Comparable.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoParameters.swift b/Sources/LiveKit/Types/VideoParameters.swift index 80c97d077..f1728da3a 100644 --- a/Sources/LiveKit/Types/VideoParameters.swift +++ b/Sources/LiveKit/Types/VideoParameters.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoQuality.swift b/Sources/LiveKit/Types/VideoQuality.swift index 220b4abfd..b916858e0 100644 --- a/Sources/LiveKit/Types/VideoQuality.swift +++ b/Sources/LiveKit/Types/VideoQuality.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Types/VideoRotation.swift b/Sources/LiveKit/Types/VideoRotation.swift index 173b0a2de..acdc4e87f 100644 --- a/Sources/LiveKit/Types/VideoRotation.swift +++ b/Sources/LiveKit/Types/VideoRotation.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Views/SampleBufferVideoRenderer.swift b/Sources/LiveKit/Views/SampleBufferVideoRenderer.swift index a6f3d0d78..89a76336f 100644 --- a/Sources/LiveKit/Views/SampleBufferVideoRenderer.swift +++ b/Sources/LiveKit/Views/SampleBufferVideoRenderer.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Views/VideoView+MulticastDelegate.swift b/Sources/LiveKit/Views/VideoView+MulticastDelegate.swift index 57cdc0a23..bc2dff9e6 100644 --- a/Sources/LiveKit/Views/VideoView+MulticastDelegate.swift +++ b/Sources/LiveKit/Views/VideoView+MulticastDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Views/VideoView+PinchToZoom.swift b/Sources/LiveKit/Views/VideoView+PinchToZoom.swift index 602a36c2e..7a6d71727 100644 --- a/Sources/LiveKit/Views/VideoView+PinchToZoom.swift +++ b/Sources/LiveKit/Views/VideoView+PinchToZoom.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKit/Views/VideoView.swift b/Sources/LiveKit/Views/VideoView.swift index b3ce2ffe0..5b40e6622 100644 --- a/Sources/LiveKit/Views/VideoView.swift +++ b/Sources/LiveKit/Views/VideoView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/AsyncRetryTests.swift b/Tests/LiveKitTests/AsyncRetryTests.swift index 4e7f3aab4..37226fa48 100644 --- a/Tests/LiveKitTests/AsyncRetryTests.swift +++ b/Tests/LiveKitTests/AsyncRetryTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/AudioProcessingTests.swift b/Tests/LiveKitTests/AudioProcessingTests.swift index 58eca8d9e..0078552aa 100644 --- a/Tests/LiveKitTests/AudioProcessingTests.swift +++ b/Tests/LiveKitTests/AudioProcessingTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/CompleterTests.swift b/Tests/LiveKitTests/CompleterTests.swift index 0b95ea9bc..2eddb5e6d 100644 --- a/Tests/LiveKitTests/CompleterTests.swift +++ b/Tests/LiveKitTests/CompleterTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/DeviceManager.swift b/Tests/LiveKitTests/DeviceManager.swift index 25b8cb4e5..ffe98ba15 100644 --- a/Tests/LiveKitTests/DeviceManager.swift +++ b/Tests/LiveKitTests/DeviceManager.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/E2EE/Thread.swift b/Tests/LiveKitTests/E2EE/Thread.swift index 8efa15557..6ae8cc0c3 100644 --- a/Tests/LiveKitTests/E2EE/Thread.swift +++ b/Tests/LiveKitTests/E2EE/Thread.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/Extensions/AVAudioPCMBufferTests.swift b/Tests/LiveKitTests/Extensions/AVAudioPCMBufferTests.swift index 4464cb685..705daa3c6 100644 --- a/Tests/LiveKitTests/Extensions/AVAudioPCMBufferTests.swift +++ b/Tests/LiveKitTests/Extensions/AVAudioPCMBufferTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/FunctionTests.swift b/Tests/LiveKitTests/FunctionTests.swift index 3d6ba2c12..a31e2dea2 100644 --- a/Tests/LiveKitTests/FunctionTests.swift +++ b/Tests/LiveKitTests/FunctionTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/ParticipantTests.swift b/Tests/LiveKitTests/ParticipantTests.swift index 11a9e1a57..8a4e9766c 100644 --- a/Tests/LiveKitTests/ParticipantTests.swift +++ b/Tests/LiveKitTests/ParticipantTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/PublishBufferCapturerTests.swift b/Tests/LiveKitTests/PublishBufferCapturerTests.swift index 8efc597f3..2669691b1 100644 --- a/Tests/LiveKitTests/PublishBufferCapturerTests.swift +++ b/Tests/LiveKitTests/PublishBufferCapturerTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/PublishDataTests.swift b/Tests/LiveKitTests/PublishDataTests.swift index 85854cee8..a915ad95b 100644 --- a/Tests/LiveKitTests/PublishDataTests.swift +++ b/Tests/LiveKitTests/PublishDataTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/PublishMicrophoneTests.swift b/Tests/LiveKitTests/PublishMicrophoneTests.swift index 8fd599861..1747daefe 100644 --- a/Tests/LiveKitTests/PublishMicrophoneTests.swift +++ b/Tests/LiveKitTests/PublishMicrophoneTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/QueueActorTests.swift b/Tests/LiveKitTests/QueueActorTests.swift index 98b6366fe..26933e789 100644 --- a/Tests/LiveKitTests/QueueActorTests.swift +++ b/Tests/LiveKitTests/QueueActorTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/RoomTests.swift b/Tests/LiveKitTests/RoomTests.swift index ed86fb5fd..cca72626d 100644 --- a/Tests/LiveKitTests/RoomTests.swift +++ b/Tests/LiveKitTests/RoomTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/SDKTests.swift b/Tests/LiveKitTests/SDKTests.swift index 28390ba4f..dcae75ed3 100644 --- a/Tests/LiveKitTests/SDKTests.swift +++ b/Tests/LiveKitTests/SDKTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/SerialRunnerActor.swift b/Tests/LiveKitTests/SerialRunnerActor.swift index 75b18a3ba..515d74b32 100644 --- a/Tests/LiveKitTests/SerialRunnerActor.swift +++ b/Tests/LiveKitTests/SerialRunnerActor.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/Support/Room.swift b/Tests/LiveKitTests/Support/Room.swift index f2ae0fbb7..ab642a6cf 100644 --- a/Tests/LiveKitTests/Support/Room.swift +++ b/Tests/LiveKitTests/Support/Room.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/Support/TokenGenerator.swift b/Tests/LiveKitTests/Support/TokenGenerator.swift index 8406233f8..d1728f279 100644 --- a/Tests/LiveKitTests/Support/TokenGenerator.swift +++ b/Tests/LiveKitTests/Support/TokenGenerator.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/Support/Tracks.swift b/Tests/LiveKitTests/Support/Tracks.swift index 1edc25b95..bf7b43b95 100644 --- a/Tests/LiveKitTests/Support/Tracks.swift +++ b/Tests/LiveKitTests/Support/Tracks.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/Support/Xcode14.2Backport.swift b/Tests/LiveKitTests/Support/Xcode14.2Backport.swift index ff15a4baa..675b9666c 100644 --- a/Tests/LiveKitTests/Support/Xcode14.2Backport.swift +++ b/Tests/LiveKitTests/Support/Xcode14.2Backport.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/ThreadSafetyTests.swift b/Tests/LiveKitTests/ThreadSafetyTests.swift index 26e5603a2..604b0f435 100644 --- a/Tests/LiveKitTests/ThreadSafetyTests.swift +++ b/Tests/LiveKitTests/ThreadSafetyTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/TrackTests.swift b/Tests/LiveKitTests/TrackTests.swift index a9b2467c5..55bae6534 100644 --- a/Tests/LiveKitTests/TrackTests.swift +++ b/Tests/LiveKitTests/TrackTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitTests/VideoViewTests.swift b/Tests/LiveKitTests/VideoViewTests.swift index d9f3e439e..db1f02922 100644 --- a/Tests/LiveKitTests/VideoViewTests.swift +++ b/Tests/LiveKitTests/VideoViewTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 9d32198d05ef1198595a6e89a14f559def3dbda1 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:24:30 +0900 Subject: [PATCH 4/8] Room.creationTime (#535) Added Room.creationTime property. --- Sources/LiveKit/Core/Room+SignalClientDelegate.swift | 8 ++++++-- Sources/LiveKit/Core/Room.swift | 4 ++++ Sources/LiveKit/Core/SignalClient.swift | 1 - Tests/LiveKitTests/RoomTests.swift | 7 ++++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Sources/LiveKit/Core/Room+SignalClientDelegate.swift b/Sources/LiveKit/Core/Room+SignalClientDelegate.swift index 6f6d5618c..fe3c37b35 100644 --- a/Sources/LiveKit/Core/Room+SignalClientDelegate.swift +++ b/Sources/LiveKit/Core/Room+SignalClientDelegate.swift @@ -103,9 +103,14 @@ extension Room: SignalClientDelegate { _state.mutate { $0.sid = Room.Sid(from: joinResponse.room.sid) $0.name = joinResponse.room.name + $0.serverInfo = joinResponse.serverInfo + $0.creationTime = Date(timeIntervalSince1970: TimeInterval(joinResponse.room.creationTime)) + $0.maxParticipants = Int(joinResponse.room.maxParticipants) + $0.metadata = joinResponse.room.metadata $0.isRecording = joinResponse.room.activeRecording - $0.serverInfo = joinResponse.serverInfo + $0.numParticipants = Int(joinResponse.room.numParticipants) + $0.numPublishers = Int(joinResponse.room.numPublishers) localParticipant.set(info: joinResponse.participant, connectionState: $0.connectionState) @@ -122,7 +127,6 @@ extension Room: SignalClientDelegate { _state.mutate { $0.metadata = room.metadata $0.isRecording = room.activeRecording - $0.maxParticipants = Int(room.maxParticipants) $0.numParticipants = Int(room.numParticipants) $0.numPublishers = Int(room.numPublishers) } diff --git a/Sources/LiveKit/Core/Room.swift b/Sources/LiveKit/Core/Room.swift index 65c2b9dab..953a8f439 100644 --- a/Sources/LiveKit/Core/Room.swift +++ b/Sources/LiveKit/Core/Room.swift @@ -62,6 +62,9 @@ public class Room: NSObject, ObservableObject, Loggable { @objc public var activeSpeakers: [Participant] { _state.activeSpeakers } + @objc + public var creationTime: Date? { _state.creationTime } + /// If the current room has a participant with `recorder:true` in its JWT grant. @objc public var isRecording: Bool { _state.isRecording } @@ -125,6 +128,7 @@ public class Room: NSObject, ObservableObject, Loggable { var remoteParticipants = [Participant.Identity: RemoteParticipant]() var activeSpeakers = [Participant]() + var creationTime: Date? var isRecording: Bool = false var maxParticipants: Int = 0 diff --git a/Sources/LiveKit/Core/SignalClient.swift b/Sources/LiveKit/Core/SignalClient.swift index 2f4f543a6..f8b21f04a 100644 --- a/Sources/LiveKit/Core/SignalClient.swift +++ b/Sources/LiveKit/Core/SignalClient.swift @@ -271,7 +271,6 @@ private extension SignalClient { _lastJoinResponse = joinResponse _delegate.notifyDetached { await $0.signalClient(self, didReceiveConnectResponse: .join(joinResponse)) } _connectResponseCompleter.resume(returning: .join(joinResponse)) - print("creationTime: \(joinResponse.room.creationTime)") await _restartPingTimer() case let .reconnect(response): diff --git a/Tests/LiveKitTests/RoomTests.swift b/Tests/LiveKitTests/RoomTests.swift index cca72626d..430f8369b 100644 --- a/Tests/LiveKitTests/RoomTests.swift +++ b/Tests/LiveKitTests/RoomTests.swift @@ -18,14 +18,19 @@ import XCTest class RoomTests: XCTestCase { - func testResolveSid() async throws { + func testRoomProperties() async throws { try await withRooms([RoomTestingOptions()]) { rooms in // Alias to Room let room1 = rooms[0] + // SID let sid = try await room1.sid() print("Room.sid(): \(String(describing: sid))") XCTAssert(sid.stringValue.starts(with: "RM_")) + + // creationTime + XCTAssert(room1.creationTime != nil) + print("Room.creationTime: \(String(describing: room1.creationTime))") } } From e5efe5604f0ac7ce02e778a7c1237a5b2c5550ef Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Mon, 13 Jan 2025 01:46:46 +0900 Subject: [PATCH 5/8] Custom video frame processing (#530) --- .../LiveKit/Protocols/VideoProcessor.swift | 22 +++++++ .../Track/Capturers/CameraCapturer.swift | 14 +++-- .../Track/Capturers/VideoCapturer.swift | 61 +++++++++++++++---- .../LiveKit/Track/Local/LocalVideoTrack.swift | 6 ++ Sources/LiveKit/Types/VideoFrame.swift | 5 ++ 5 files changed, 93 insertions(+), 15 deletions(-) create mode 100644 Sources/LiveKit/Protocols/VideoProcessor.swift diff --git a/Sources/LiveKit/Protocols/VideoProcessor.swift b/Sources/LiveKit/Protocols/VideoProcessor.swift new file mode 100644 index 000000000..8acc68b95 --- /dev/null +++ b/Sources/LiveKit/Protocols/VideoProcessor.swift @@ -0,0 +1,22 @@ +/* + * Copyright 2025 LiveKit + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import Foundation + +@objc +public protocol VideoProcessor { + func process(frame: VideoFrame) -> VideoFrame? +} diff --git a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift index b9df82fe1..3d1cc6c06 100644 --- a/Sources/LiveKit/Track/Capturers/CameraCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/CameraCapturer.swift @@ -96,9 +96,12 @@ public class CameraCapturer: VideoCapturer { // RTCCameraVideoCapturer used internally for now private lazy var capturer: LKRTCCameraVideoCapturer = .init(delegate: adapter) - init(delegate: LKRTCVideoCapturerDelegate, options: CameraCaptureOptions) { + init(delegate: LKRTCVideoCapturerDelegate, + options: CameraCaptureOptions, + processor: VideoProcessor? = nil) + { _cameraCapturerState = StateSync(State(options: options)) - super.init(delegate: delegate) + super.init(delegate: delegate, processor: processor) log("isMultitaskingAccessSupported: \(isMultitaskingAccessSupported)", .info) } @@ -293,10 +296,13 @@ public extension LocalVideoTrack { @objc static func createCameraTrack(name: String? = nil, options: CameraCaptureOptions? = nil, - reportStatistics: Bool = false) -> LocalVideoTrack + reportStatistics: Bool = false, + processor: VideoProcessor? = nil) -> LocalVideoTrack { let videoSource = RTC.createVideoSource(forScreenShare: false) - let capturer = CameraCapturer(delegate: videoSource, options: options ?? CameraCaptureOptions()) + let capturer = CameraCapturer(delegate: videoSource, + options: options ?? CameraCaptureOptions(), + processor: processor) return LocalVideoTrack(name: name ?? Track.cameraName, source: .camera, capturer: capturer, diff --git a/Sources/LiveKit/Track/Capturers/VideoCapturer.swift b/Sources/LiveKit/Track/Capturers/VideoCapturer.swift index 03db6786b..339ae648b 100644 --- a/Sources/LiveKit/Track/Capturers/VideoCapturer.swift +++ b/Sources/LiveKit/Track/Capturers/VideoCapturer.swift @@ -46,6 +46,8 @@ public class VideoCapturer: NSObject, Loggable, VideoCapturerProtocol { public let delegates = MulticastDelegate(label: "VideoCapturerDelegate") public let rendererDelegates = MulticastDelegate(label: "VideoCapturerRendererDelegate") + private let processingQueue = DispatchQueue(label: "io.livekit.videocapturer.processing") + /// Array of supported pixel formats that can be used to capture a frame. /// /// Usually the following formats are supported but it is recommended to confirm at run-time: @@ -70,16 +72,23 @@ public class VideoCapturer: NSObject, Loggable, VideoCapturerProtocol { let dimensionsCompleter = AsyncCompleter(label: "Dimensions", defaultTimeout: .defaultCaptureStart) - struct State: Equatable { + struct State { // Counts calls to start/stopCapturer so multiple Tracks can use the same VideoCapturer. var startStopCounter: Int = 0 var dimensions: Dimensions? = nil + weak var processor: VideoProcessor? = nil + var isFrameProcessingBusy: Bool = false } - var _state = StateSync(State()) + let _state: StateSync public var dimensions: Dimensions? { _state.dimensions } + public weak var processor: VideoProcessor? { + get { _state.processor } + set { _state.mutate { $0.processor = newValue } } + } + func set(dimensions newValue: Dimensions?) { let didUpdate = _state.mutate { let oldDimensions = $0.dimensions @@ -103,8 +112,9 @@ public class VideoCapturer: NSObject, Loggable, VideoCapturerProtocol { _state.startStopCounter == 0 ? .stopped : .started } - init(delegate: LKRTCVideoCapturerDelegate) { + init(delegate: LKRTCVideoCapturerDelegate, processor: VideoProcessor? = nil) { self.delegate = delegate + _state = StateSync(State(processor: processor)) super.init() _state.onDidMutate = { [weak self] newState, oldState in @@ -223,16 +233,45 @@ extension VideoCapturer { device: AVCaptureDevice?, options: VideoCaptureOptions) { - // Resolve real dimensions (apply frame rotation) - set(dimensions: Dimensions(width: frame.width, height: frame.height).apply(rotation: frame.rotation)) + if _state.isFrameProcessingBusy { + log("Frame processing hasn't completed yet, skipping frame...", .warning) + return + } + + processingQueue.async { [weak self] in + guard let self else { return } + + // Mark as frame processing busy. + self._state.mutate { $0.isFrameProcessingBusy = true } + defer { + self._state.mutate { $0.isFrameProcessingBusy = false } + } + + var rtcFrame: LKRTCVideoFrame = frame + guard var lkFrame: VideoFrame = frame.toLKType() else { + self.log("Failed to convert a RTCVideoFrame to VideoFrame.", .error) + return + } + + // Apply processing if we have a processor attached. + if let processor = self._state.processor { + guard let processedFrame = processor.process(frame: lkFrame) else { + self.log("VideoProcessor didn't return a frame, skipping frame.", .warning) + return + } + lkFrame = processedFrame + rtcFrame = processedFrame.toRTCType() + } + + // Resolve real dimensions (apply frame rotation) + self.set(dimensions: Dimensions(width: rtcFrame.width, height: rtcFrame.height).apply(rotation: rtcFrame.rotation)) - delegate?.capturer(capturer, didCapture: frame) + self.delegate?.capturer(capturer, didCapture: rtcFrame) - if rendererDelegates.isDelegatesNotEmpty { - if let lkVideoFrame = frame.toLKType() { - rendererDelegates.notify { renderer in - renderer.render?(frame: lkVideoFrame) - renderer.render?(frame: lkVideoFrame, captureDevice: device, captureOptions: options) + if self.rendererDelegates.isDelegatesNotEmpty { + self.rendererDelegates.notify { renderer in + renderer.render?(frame: lkFrame) + renderer.render?(frame: lkFrame, captureDevice: device, captureOptions: options) } } } diff --git a/Sources/LiveKit/Track/Local/LocalVideoTrack.swift b/Sources/LiveKit/Track/Local/LocalVideoTrack.swift index f21547fc5..480f15d8e 100644 --- a/Sources/LiveKit/Track/Local/LocalVideoTrack.swift +++ b/Sources/LiveKit/Track/Local/LocalVideoTrack.swift @@ -82,6 +82,12 @@ extension LocalVideoTrack: VideoTrack { public extension LocalVideoTrack { var publishOptions: TrackPublishOptions? { super._state.lastPublishOptions } var publishState: Track.PublishState { super._state.publishState } + + /// Convenience access to ``VideoCapturer/processor``. + var processor: VideoProcessor? { + get { capturer._state.processor } + set { capturer._state.mutate { $0.processor = newValue } } + } } public extension LocalVideoTrack { diff --git a/Sources/LiveKit/Types/VideoFrame.swift b/Sources/LiveKit/Types/VideoFrame.swift index 56621408f..b29a08265 100644 --- a/Sources/LiveKit/Types/VideoFrame.swift +++ b/Sources/LiveKit/Types/VideoFrame.swift @@ -37,6 +37,11 @@ public class CVPixelVideoBuffer: VideoBuffer, RTCCompatibleVideoBuffer { _rtcType.pixelBuffer } + public init(pixelBuffer: CVPixelBuffer) { + _rtcType = LKRTCCVPixelBuffer(pixelBuffer: pixelBuffer) + } + + // Internal only. init(rtcCVPixelBuffer: LKRTCCVPixelBuffer) { _rtcType = rtcCVPixelBuffer } From aded1f910169d9afa9c768c5b6e57e18da7140d5 Mon Sep 17 00:00:00 2001 From: creativecbr Date: Mon, 13 Jan 2025 17:38:20 +0100 Subject: [PATCH 6/8] Bug unsupported file format 'public.heic' (#538) While implementing remote sharing using LiveKit, we encountered an error on the iPad 5th generation running iPadOS 16.7.10 when converting a buffer to a JPEG representation. The suggested solution is to avoid using the native .jpgedRepresentation method, as it appears to contain a bug, and instead handle the conversion manually. After applying this approach, the error seems to be resolved. The error logged in the Console app was: ``` Error 11:20:25.613787+0100 RemoteSharing findWriterForTypeAndAlternateType:119: unsupported file format 'public.heic' ``` This issue did not occur on newer devices with higher iOS versions and it worked correctly on newer devices like the iPhone SE (2nd generation) with iOS 15.5. This suggests the problem is specific to platform 16.7.10. This error caused the screen-sharing session to be interrupted after several occurrences. After changes session was stable. Please review this change and consider potential improvements. PS: I have also removed the code responsible for scale factor buffering, as I did not observe any usage of it. If this removal was a mistake, please let me know. --------- Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> --- .../Broadcast/Uploader/SampleUploader.swift | 45 ++++++++++++++----- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift b/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift index f499f6360..df1e1223b 100644 --- a/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift +++ b/Sources/LiveKit/Broadcast/Uploader/SampleUploader.swift @@ -28,6 +28,7 @@ private enum Constants { class SampleUploader { private static var imageContext = CIContext(options: nil) + private static var colorSpace = CGColorSpaceCreateDeviceRGB() @Atomic private var isReady = false private var connection: BroadcastUploadSocketConnection @@ -37,6 +38,9 @@ class SampleUploader { private let serialQueue: DispatchQueue + // Configure desired compression quality (0.0 = max compression, 1.0 = least compression) + public let compressionQuality: CGFloat = 1.0 + init(connection: BroadcastUploadSocketConnection) { self.connection = connection serialQueue = DispatchQueue(label: "io.livekit.broadcast.sampleUploader") @@ -115,14 +119,12 @@ private extension SampleUploader { CVPixelBufferLockBaseAddress(imageBuffer, .readOnly) - let scaleFactor = 1.0 - let width = CVPixelBufferGetWidth(imageBuffer) / Int(scaleFactor) - let height = CVPixelBufferGetHeight(imageBuffer) / Int(scaleFactor) + let width = CVPixelBufferGetWidth(imageBuffer) + let height = CVPixelBufferGetHeight(imageBuffer) let orientation = CMGetAttachment(buffer, key: RPVideoSampleOrientationKey as CFString, attachmentModeOut: nil)?.uintValue ?? 0 - let scaleTransform = CGAffineTransform(scaleX: CGFloat(1.0 / scaleFactor), y: CGFloat(1.0 / scaleFactor)) - let bufferData = jpegData(from: imageBuffer, scale: scaleTransform) + let bufferData = jpegData(from: imageBuffer) CVPixelBufferUnlockBaseAddress(imageBuffer, .readOnly) @@ -144,16 +146,35 @@ private extension SampleUploader { return serializedMessage } - func jpegData(from buffer: CVPixelBuffer, scale scaleTransform: CGAffineTransform) -> Data? { - let image = CIImage(cvPixelBuffer: buffer).transformed(by: scaleTransform) + func jpegData(from buffer: CVPixelBuffer) -> Data? { + let image = CIImage(cvPixelBuffer: buffer) - guard let colorSpace = image.colorSpace else { - return nil - } + if #available(iOS 17.0, *) { + return Self.imageContext.jpegRepresentation( + of: image, + colorSpace: Self.colorSpace, + options: [kCGImageDestinationLossyCompressionQuality as CIImageRepresentationOption: compressionQuality] + ) + } else { + // Workaround for "unsupported file format 'public.heic'" + guard let cgImage = Self.imageContext.createCGImage(image, from: image.extent) else { + return nil + } - let options: [CIImageRepresentationOption: Float] = [kCGImageDestinationLossyCompressionQuality as CIImageRepresentationOption: 1.0] + let data = NSMutableData() + guard let imageDestination = CGImageDestinationCreateWithData(data, AVFileType.jpg as CFString, 1, nil) else { + return nil + } + + let options: [CFString: Any] = [kCGImageDestinationLossyCompressionQuality: compressionQuality] + CGImageDestinationAddImage(imageDestination, cgImage, options as CFDictionary) - return SampleUploader.imageContext.jpegRepresentation(of: image, colorSpace: colorSpace, options: options) + guard CGImageDestinationFinalize(imageDestination) else { + return nil + } + + return data as Data + } } } From 69bc146b96164fbf7ee751d9fe4d6de135e5cec5 Mon Sep 17 00:00:00 2001 From: Kenneth Chu Date: Mon, 13 Jan 2025 11:44:10 -0500 Subject: [PATCH 7/8] Expose init from string for Participant.Identity (#543) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we have RoomOptions and it contains [DataPublishOptions](https://docs.livekit.io/client-sdk-swift/documentation/livekit/datapublishoptions) with [destinationIdentities](https://docs.livekit.io/client-sdk-swift/documentation/livekit/datapublishoptions/destinationidentities) with type `Participant.Identity`. I think it will be more convenient if we change the access level to public. ❤️ --- Sources/LiveKit/Types/Participant+Types.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LiveKit/Types/Participant+Types.swift b/Sources/LiveKit/Types/Participant+Types.swift index d949ff700..9e6b7caac 100644 --- a/Sources/LiveKit/Types/Participant+Types.swift +++ b/Sources/LiveKit/Types/Participant+Types.swift @@ -47,7 +47,7 @@ public extension Participant { @objc public let stringValue: String - init(from stringValue: String) { + public init(from stringValue: String) { self.stringValue = stringValue } From ae86a91674a27f527abf5ab238d5458606fcb798 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:27:39 +0900 Subject: [PATCH 8/8] Increase audio preset quality (#545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 👀 https://github.com/livekit/client-sdk-js/pull/1295/files --- Sources/LiveKit/Participant/LocalParticipant.swift | 2 +- Sources/LiveKit/Types/AudioEncoding.swift | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/LiveKit/Participant/LocalParticipant.swift b/Sources/LiveKit/Participant/LocalParticipant.swift index 8f00e216c..f197a2719 100644 --- a/Sources/LiveKit/Participant/LocalParticipant.swift +++ b/Sources/LiveKit/Participant/LocalParticipant.swift @@ -543,7 +543,7 @@ private extension LocalParticipant { populator.disableDtx = !publishOptions.dtx - let encoding = publishOptions.encoding ?? AudioEncoding.presetSpeech + let encoding = publishOptions.encoding ?? AudioEncoding.presetMusic self.log("[publish] maxBitrate: \(encoding.maxBitrate)") diff --git a/Sources/LiveKit/Types/AudioEncoding.swift b/Sources/LiveKit/Types/AudioEncoding.swift index add185960..70063618c 100644 --- a/Sources/LiveKit/Types/AudioEncoding.swift +++ b/Sources/LiveKit/Types/AudioEncoding.swift @@ -60,9 +60,9 @@ public extension AudioEncoding { ] static let presetTelephone = AudioEncoding(maxBitrate: 12000) - static let presetSpeech = AudioEncoding(maxBitrate: 20000) - static let presetMusic = AudioEncoding(maxBitrate: 32000) - static let presetMusicStereo = AudioEncoding(maxBitrate: 48000) - static let presetMusicHighQuality = AudioEncoding(maxBitrate: 64000) - static let presetMusicHighQualityStereo = AudioEncoding(maxBitrate: 96000) + static let presetSpeech = AudioEncoding(maxBitrate: 24000) + static let presetMusic = AudioEncoding(maxBitrate: 48000) + static let presetMusicStereo = AudioEncoding(maxBitrate: 64000) + static let presetMusicHighQuality = AudioEncoding(maxBitrate: 96000) + static let presetMusicHighQualityStereo = AudioEncoding(maxBitrate: 128_000) }