From e07ffb3181b4b32036614ddb6694febdfe7a702c Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Fri, 5 Aug 2022 11:43:37 +0300 Subject: [PATCH] Added logs --- public/bundle.js | 2 ++ public/index.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/public/bundle.js b/public/bundle.js index 8288646..e899057 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20821,10 +20821,12 @@ const getLocalStream = () => { } const goConnect = () => { + console.log('[goConnect] device:', device); device === undefined ? getRtpCapabilities() : goCreateTransport() } const goCreateTransport = () => { + console.log('[goCreateTransport] IS_PRODUCER:', IS_PRODUCER); IS_PRODUCER ? createSendTransport() : createRecvTransport() } diff --git a/public/index.js b/public/index.js index d9713eb..f4ba3eb 100644 --- a/public/index.js +++ b/public/index.js @@ -162,10 +162,12 @@ const getLocalStream = () => { } const goConnect = () => { + console.log('[goConnect] device:', device); device === undefined ? getRtpCapabilities() : goCreateTransport() } const goCreateTransport = () => { + console.log('[goCreateTransport] IS_PRODUCER:', IS_PRODUCER); IS_PRODUCER ? createSendTransport() : createRecvTransport() }