openvidu-test-integration: the participants subscribe to each other's tracks

pull/916/head
juancarmore 2026-10-24 14:39:17 +02:00
parent dc4b259374
commit cc01a69a96
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const LIVEKIT_API_SECRET = "secret";
const LK_CLI = "lk";
export class Livekit {
/** Joins a participant that publishes the demo video and audio tracks; returns the pid of the CLI. */
/** Joins a participant that publishes the demo tracks and subscribes to the others; returns the pid of the CLI. */
static joinParticipantToRoom(participantIdentity: string, roomName: string): number {
const args = [
"room",
@ -19,6 +19,7 @@ export class Livekit {
"--api-secret",
LIVEKIT_API_SECRET,
"--publish-demo",
"--auto-subscribe",
"--identity",
participantIdentity,
roomName