diff --git a/src/component/internal/webrtc.ts b/src/component/internal/webrtc.ts index 1a76ac1d..95221516 100644 --- a/src/component/internal/webrtc.ts +++ b/src/component/internal/webrtc.ts @@ -251,7 +251,7 @@ export class NekoWebRTC extends EventEmitter { // add stereo=1 to answer sdp to enable stereo audio for chromium answer.sdp = answer.sdp?.replace(/(stereo=1;)?useinbandfec=1/, 'useinbandfec=1;stereo=1') - this._peer.setLocalDescription(answer) + await this._peer.setLocalDescription(answer) if (answer) { this.emit('negotiation', answer)