From ed1b89c6bf9a64c3a673f7bb1faefc77a8d57662 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Fri, 9 Feb 2024 06:23:14 +0900 Subject: [PATCH] v2.0.2 --- LiveKitClient.podspec | 4 ++-- README.md | 2 +- Sources/LiveKit/Core/Engine.swift | 2 +- Sources/LiveKit/LiveKit.swift | 2 +- Sources/LiveKit/Track/Support/Extensions.swift | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LiveKitClient.podspec b/LiveKitClient.podspec index b9819748d..ef1165cb0 100644 --- a/LiveKitClient.podspec +++ b/LiveKitClient.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |spec| spec.name = 'LiveKitClient' - spec.version = '2.0.1' + spec.version = '2.0.2' spec.summary = 'LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website.' spec.homepage = 'https://github.com/livekit/client-sdk-swift' spec.license = { :type => 'Apache 2.0', :file => 'LICENSE' } @@ -12,7 +12,7 @@ Pod::Spec.new do |spec| spec.osx.deployment_target = '10.15' spec.swift_versions = ['4.2', '5'] - spec.source = { :git => 'https://github.com/livekit/client-sdk-swift.git', :tag => '2.0.1' } + spec.source = { :git => 'https://github.com/livekit/client-sdk-swift.git', :tag => '2.0.2' } spec.source_files = 'Sources/**/*' diff --git a/README.md b/README.md index 689ebf2da..62c481008 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Add the dependency and also to your target let package = Package( ... dependencies: [ - .package(name: "LiveKit", url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor("2.0.1")), + .package(name: "LiveKit", url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor("2.0.2")), ], targets: [ .target( diff --git a/Sources/LiveKit/Core/Engine.swift b/Sources/LiveKit/Core/Engine.swift index 08cae6566..0e7b25d9b 100644 --- a/Sources/LiveKit/Core/Engine.swift +++ b/Sources/LiveKit/Core/Engine.swift @@ -97,7 +97,7 @@ class Engine: Loggable { guard let self else { return } if newState.connectionState == .reconnecting, newState.isReconnectingWithMode == nil { - log("reconnectMode should not be .none", .error) + self.log("reconnectMode should not be .none", .error) } if (newState.connectionState != oldState.connectionState) || (newState.isReconnectingWithMode != oldState.isReconnectingWithMode) { diff --git a/Sources/LiveKit/LiveKit.swift b/Sources/LiveKit/LiveKit.swift index 81333c020..d6e7eea7b 100644 --- a/Sources/LiveKit/LiveKit.swift +++ b/Sources/LiveKit/LiveKit.swift @@ -34,7 +34,7 @@ let logger = Logger(label: "LiveKitSDK") @objc public class LiveKitSDK: NSObject { @objc(sdkVersion) - public static let version = "2.0.1" + public static let version = "2.0.2" @objc public static func setLoggerStandardOutput() { diff --git a/Sources/LiveKit/Track/Support/Extensions.swift b/Sources/LiveKit/Track/Support/Extensions.swift index 45552cfbc..2f548ce01 100644 --- a/Sources/LiveKit/Track/Support/Extensions.swift +++ b/Sources/LiveKit/Track/Support/Extensions.swift @@ -104,7 +104,7 @@ public extension CGImage { showsMicrophoneButton: Bool = true) { if !Thread.current.isMainThread { - log("Must be called on main thread", .error) + logger.log("Must be called on main thread", .error, type: RPSystemBroadcastPickerView.self) } let view = RPSystemBroadcastPickerView()