Skip to content

Commit

Permalink
fix: consumer의 선호 레이어 설정에서 null 조건부 연산자 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
seoko97 committed Dec 5, 2024
1 parent c654f4b commit b66ff06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/media/src/mediasoup/mediasoup.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class MediasoupService implements OnModuleInit {

if (!consumer || consumer.closed || consumer.paused) return;

consumer?.setPreferredLayers({ spatialLayer: networkQuality });
consumer.setPreferredLayers({ spatialLayer: networkQuality });
});
}

Expand Down

0 comments on commit b66ff06

Please sign in to comment.