Skip to content

Commit 8b3cd10

Browse files
yuchem2claude
andcommitted
feat(meeting): audio produce 에 Opus 옵션 추가로 음질 개선
마이크 produce 시 codecOptions(opusFec=패킷손실 보정, opusDtx=무음 절약, opusMaxPlaybackRate=48k, opusMaxAverageBitrate=64k) 적용 → 기본보다 또렷한 음성. 영상 produce 에는 미적용. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 57e7484 commit 8b3cd10

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎apps/frontend/src/feature/meeting/hooks/useMediasoupViewModel.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,18 @@ export function useMediasoupViewModel(
500500
}
501501
const producer = await sendTransport.produce({
502502
track: track as never,
503+
// 음질 개선(음성): Opus FEC(패킷 손실 보정) + DTX(무음 구간 절약) +
504+
// 비트레이트 상향(기본보다 높게). 영상에는 적용하지 않는다.
505+
...(kind === 'audio'
506+
? {
507+
codecOptions: {
508+
opusFec: true,
509+
opusDtx: true,
510+
opusMaxPlaybackRate: 48000,
511+
opusMaxAverageBitrate: 64000,
512+
},
513+
}
514+
: {}),
503515
appData: { source: kind as MediaType },
504516
});
505517
producerRef.current = producer;

0 commit comments

Comments
 (0)