Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/webrtc/src/rtp-forwarders.ts
Original file line number Diff line number Diff line change
@@ -207,7 +207,7 @@ export async function startRtpForwarderProcess(console: Console, ffmpegInput: FF
let audioSection = audioSections.find(msection => msection.codec === audioCodec || audioCodec === 'copy');
if (!audioSection) {
for (const check of audioSections) {
if (await audio.negotiate?.(check) === true) {
if (await audio?.negotiate?.(check) === true) {
audioSection = check;
break;
}

0 comments on commit 5228dbf

Please sign in to comment.