From ac371d8dca0972c4f4b53c3892535fb5c637a73c Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:13:54 +0100 Subject: [PATCH] remove sendrecv comment --- internal/core/webrtc_index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/core/webrtc_index.html b/internal/core/webrtc_index.html index cdcf6ac2..30725641 100644 --- a/internal/core/webrtc_index.html +++ b/internal/core/webrtc_index.html @@ -96,10 +96,7 @@ class Receiver { document.getElementById("video").srcObject = new MediaStream([evt.track]); }; - // use sendrecv for firefox - // https://github.com/pion/webrtc/issues/717#issuecomment-507990273 - // https://github.com/pion/example-webrtc-applications/commit/c641b530a001eb057d8b481185c50bf67d1931b4 - const direction = "sendrecv"; // (isFirefox) ? "sendrecv" : "recvonly"; + const direction = "sendrecv"; this.pc.addTransceiver("video", { direction }); this.pc.addTransceiver("audio", { direction });