Skip to content

Commit

Permalink
v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Apr 25, 2024
1 parent 6f50c05 commit 2f6cdd7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions LiveKitClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "LiveKitClient"
spec.version = "2.0.5"
spec.version = "2.0.6"
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"}
Expand All @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.osx.deployment_target = "10.15"

spec.swift_versions = ["5.7"]
spec.source = {:git => "https://github.com/livekit/client-sdk-swift.git", :tag => "2.0.5"}
spec.source = {:git => "https://github.com/livekit/client-sdk-swift.git", :tag => "2.0.6"}

spec.source_files = "Sources/**/*"

Expand Down
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ let package = Package(
],
dependencies: [
// LK-Prefixed Dynamic WebRTC XCFramework
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "114.5735.13"),
.package(url: "https://github.com/apple/swift-protobuf.git", .upToNextMajor(from: "1.25.2")),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMajor(from: "1.5.4")),
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "114.5735.14"),
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.26.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
// Only used for DocC generation
.package(url: "https://github.com/apple/swift-docc-plugin", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0"),
// Only used for Testing
.package(url: "https://github.com/vapor/jwt-kit.git", .upToNextMajor(from: "4.13.2")),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.13.4"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5")),
.package(name: "LiveKit", url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor("2.0.6")),
],
targets: [
.target(
Expand Down
3 changes: 2 additions & 1 deletion Sources/LiveKit/E2EE/KeyProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public class BaseKeyProvider: Loggable {
ratchetWindowSize: options.ratchetWindowSize,
sharedKeyMode: isSharedKey,
uncryptedMagicBytes: options.uncryptedMagicBytes,
failureTolerance: options.failureTolerance)
failureTolerance: options.failureTolerance,
keyRingSize: 16)
if isSharedKey, sharedKey != nil {
let keyData = sharedKey!.data(using: .utf8)!
rtcKeyProvider.setSharedKey(keyData, with: 0)
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Extensions/RTCI420Buffer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extension LKRTCI420Buffer {
dstUV: dstUV,
dstStrideUV: Int32(dstUVStride),
width: width,
width: height)
height: height)

} else {
let dst = CVPixelBufferGetBaseAddress(outputPixelBuffer)
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/LiveKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let logger = Logger(label: "LiveKitSDK")
@objc
public class LiveKitSDK: NSObject {
@objc(sdkVersion)
public static let version = "2.0.5"
public static let version = "2.0.6"

@objc
public static func setLoggerStandardOutput() {
Expand Down

0 comments on commit 2f6cdd7

Please sign in to comment.