File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
livekit-android-sdk/src/main/java/io/livekit/android/room/participant Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,11 @@ internal constructor(
156156 /* *
157157 * Creates a video track, recording video through the camera with the given [options].
158158 *
159+ * Note: If using this in conjunction with [setCameraEnabled], ensure that your created
160+ * camera track is published first before using [setCameraEnabled]. Otherwise, the LiveKit
161+ * SDK will attempt to create its own camera track to manage, and will cause issues since
162+ * generally only one camera session can be active at a time.
163+ *
159164 * @param name The name of the track
160165 * @param options The capture options to use for this track, or [Room.videoTrackCaptureDefaults] if none is passed.
161166 * @param videoProcessor A video processor to attach to this track that can modify the frames before publishing.
You can’t perform that action at this time.
0 commit comments