diff --git a/LiveKitExample.xcodeproj/project.pbxproj b/LiveKitExample.xcodeproj/project.pbxproj index 2c86ebe..1136080 100644 --- a/LiveKitExample.xcodeproj/project.pbxproj +++ b/LiveKitExample.xcodeproj/project.pbxproj @@ -648,7 +648,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 20260609; + CURRENT_PROJECT_VERSION = 20260910; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 76TVFCUKK7; @@ -670,7 +670,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MARKETING_VERSION = 2.15.0; + MARKETING_VERSION = 2.17.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -717,7 +717,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 20260609; + CURRENT_PROJECT_VERSION = 20260910; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 76TVFCUKK7; @@ -734,7 +734,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MARKETING_VERSION = 2.15.0; + MARKETING_VERSION = 2.17.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; @@ -799,7 +799,7 @@ repositoryURL = "https://github.com/livekit/client-sdk-swift"; requirement = { kind = exactVersion; - version = 2.15.3; + version = 2.17.0; }; }; B5C2EF142D0114C800FAC766 /* XCRemoteSwiftPackageReference "components-swift" */ = { diff --git a/LiveKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/LiveKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index f4d5f7b..277d27e 100644 --- a/LiveKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/LiveKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/livekit/client-sdk-swift", "state" : { - "revision" : "43ade336353ad12f9ec7fa1e6a51d9b3bd8121f8", - "version" : "2.15.3" + "revision" : "f07831a7f06bca9e2fc2e136db591b7b42f16d8d", + "version" : "2.17.0" } }, { @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/livekit/livekit-uniffi-xcframework.git", "state" : { - "revision" : "7c161254ce7cd55debc48023f69a917076b12a26", - "version" : "0.0.6" + "revision" : "7a9bf91b1601d5c408ae0cac7dc2047b5a4f615e", + "version" : "0.1.9" } }, { @@ -46,22 +46,13 @@ "version" : "4.1.1" } }, - { - "identity" : "swift-protobuf", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-protobuf.git", - "state" : { - "revision" : "55d7a1cc5666b85c13464aea1c4b4a90feccb4c8", - "version" : "1.38.1" - } - }, { "identity" : "webrtc-xcframework", "kind" : "remoteSourceControl", "location" : "https://github.com/livekit/webrtc-xcframework.git", "state" : { - "revision" : "46f2af86f06b9a8a9158d37cadda5cb5a214e4c4", - "version" : "144.7559.11" + "revision" : "c73deceaddd9c07293871ae28f24d4326cc86d62", + "version" : "150.7871.2" } } ], diff --git a/Multiplatform/Controllers/RoomContext.swift b/Multiplatform/Controllers/RoomContext.swift index 8c35397..35c2e48 100644 --- a/Multiplatform/Controllers/RoomContext.swift +++ b/Multiplatform/Controllers/RoomContext.swift @@ -81,7 +81,9 @@ final class RoomContext: ObservableObject { @Published var showMessagesPanel: Bool = false { didSet { - if showMessagesPanel { showAudioPanel = false } + if showMessagesPanel { + showAudioPanel = false + } } } @@ -91,7 +93,9 @@ final class RoomContext: ObservableObject { @Published var showAudioPanel: Bool = false { didSet { - if showAudioPanel { showMessagesPanel = false } + if showAudioPanel { + showMessagesPanel = false + } } } @@ -227,11 +231,9 @@ final class RoomContext: ObservableObject { weak var screenShareTrack: LocalTrackPublication? @available(macOS 12.3, *) - func setScreenShareMacOS(isEnabled: Bool, screenShareSource: MacOSScreenCaptureSource? = nil) async throws { + func setScreenShareMacOS(isEnabled: Bool, screenShareSource: sending MacOSScreenCaptureSource? = nil) async throws { if isEnabled, let screenShareSource { - // The capturer takes sole ownership of the source on the RTC executor (see SDK docs). - nonisolated(unsafe) let source = screenShareSource - let track = await LocalVideoTrack.createMacOSScreenShareTrack(source: source, options: ScreenShareCaptureOptions(appAudio: true)) + let track = await LocalVideoTrack.createMacOSScreenShareTrack(source: screenShareSource, options: ScreenShareCaptureOptions(appAudio: true)) let options = VideoPublishOptions(preferredCodec: VideoCodec.h264) screenShareTrack = try await room.localParticipant.publish(videoTrack: track, options: options) }