From 8622d73b5d403bb676eb48dae500da81869b285c Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Fri, 11 Oct 2024 10:31:10 -0700 Subject: [PATCH] WiP --- packages/livekit-server-sdk/src/IngressClient.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/livekit-server-sdk/src/IngressClient.ts b/packages/livekit-server-sdk/src/IngressClient.ts index b93c4fa4..b4c6c98e 100644 --- a/packages/livekit-server-sdk/src/IngressClient.ts +++ b/packages/livekit-server-sdk/src/IngressClient.ts @@ -24,11 +24,11 @@ export interface CreateIngressOptions { /** * name of the room to send media to. */ - roomName?: string; + roomName: string; /** * unique identity of the participant. */ - participantIdentity?: string; + participantIdentity: string; /** * participant display name */ @@ -148,9 +148,9 @@ export class IngressClient extends ServiceBase { if (opts !== undefined) { name = opts.name || ''; - roomName = opts.roomName || ''; + roomName = opts.roomName; participantName = opts.participantName || ''; - participantIdentity = opts.participantIdentity || ''; + participantIdentity = opts.participantIdentity; bypassTranscoding = opts.bypassTranscoding || false; enableTranscoding = opts.enableTranscoding; url = opts.url || '';