File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Sources/LiveKit/Participant Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -227,12 +227,14 @@ public class LocalParticipant: Participant {
227
227
228
228
/// publish a new audio track to the Room
229
229
@objc
230
+ @discardableResult
230
231
public func publish( audioTrack: LocalAudioTrack , publishOptions: AudioPublishOptions ? = nil ) async throws -> LocalTrackPublication {
231
232
try await publish ( track: audioTrack, publishOptions: publishOptions)
232
233
}
233
234
234
235
/// publish a new video track to the Room
235
236
@objc
237
+ @discardableResult
236
238
public func publish( videoTrack: LocalVideoTrack , publishOptions: VideoPublishOptions ? = nil ) async throws -> LocalTrackPublication {
237
239
try await publish ( track: videoTrack, publishOptions: publishOptions)
238
240
}
You can’t perform that action at this time.
0 commit comments