We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e511665 + 0119254 commit a2e7ac3Copy full SHA for a2e7ac3
src/modules/StreamingClient.ts
@@ -242,7 +242,11 @@ export class StreamingClient {
242
243
// add transceivers
244
this.peerConnection.addTransceiver('video', { direction: 'recvonly' });
245
- this.peerConnection.addTransceiver('audio', { direction: 'sendrecv' });
+ if (this.disableInputAudio) {
246
+ this.peerConnection.addTransceiver('audio', { direction: 'recvonly' });
247
+ } else {
248
+ this.peerConnection.addTransceiver('audio', { direction: 'sendrecv' });
249
+ }
250
}
251
252
private async onSignalMessage(signalMessage: SignalMessage) {
0 commit comments