Skip to content

Commit

Permalink
chore: simplify type
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Oct 10, 2024
1 parent da0e4fb commit 9770def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/rtc/Publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9770def

Please sign in to comment.