We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755fd86 commit 8c6e83cCopy full SHA for 8c6e83c
Sources/LiveKit/Participant/LocalParticipant+Async.swift
@@ -23,7 +23,7 @@ public extension LocalParticipant {
23
func set(source: Track.Source, enabled: Bool) async throws -> LocalTrackPublication? {
24
25
try await withCheckedThrowingContinuation { continuation in
26
- set(source: .camera, enabled: enabled).then(on: queue) { result in
+ set(source: source, enabled: enabled).then(on: queue) { result in
27
continuation.resume(returning: result)
28
}.catch(on: queue) { error in
29
continuation.resume(throwing: error)
0 commit comments