mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-integration: the participants subscribe to each other's tracks
parent
dc4b259374
commit
cc01a69a96
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue