Skip to content

Commit 338f266

Browse files
doc
1 parent f1ff6e6 commit 338f266

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/livekit/subscription_thread_dispatcher.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,10 @@ class LIVEKIT_API SubscriptionThreadDispatcher {
329329
/// must be joined after releasing the lock.
330330
std::thread extractReaderThreadLocked(const CallbackKey& key);
331331

332-
/// Select the appropriate reader startup path for @p track.
332+
/// Select the appropriate reader startup path for @p media track.
333+
///
334+
/// This is called by @ref Room when a remote track is subscribed. If a reader is already active for the given key,
335+
/// std::thread default constructed is returned.
333336
///
334337
/// Must be called with @ref lock_ held.
335338
std::thread startReaderLocked(const CallbackKey& key, const std::shared_ptr<Track>& track);

0 commit comments

Comments
 (0)