From 9770def6b0f03e4263f2fb790d86f13316e0788c Mon Sep 17 00:00:00 2001 From: Oliver Lazoroski Date: Thu, 10 Oct 2024 23:59:01 +0200 Subject: [PATCH] chore: simplify type --- packages/client/src/rtc/Publisher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/rtc/Publisher.ts b/packages/client/src/rtc/Publisher.ts index 3f9f151969..7118755847 100644 --- a/packages/client/src/rtc/Publisher.ts +++ b/packages/client/src/rtc/Publisher.ts @@ -522,7 +522,7 @@ export class Publisher { private getCodecPreferences = ( trackType: TrackType, - preferredCodec?: string | null, + preferredCodec?: string, ) => { if (trackType === TrackType.VIDEO) { return getPreferredCodecs('video', preferredCodec || 'vp8');