From 359fcc5f6d32dca6f27b97d09f79e980a445dd0e Mon Sep 17 00:00:00 2001 From: Daniel Seifi <39242084+DanielSeifi@users.noreply.github.com> Date: Thu, 28 May 2020 20:23:30 +0430 Subject: [PATCH] Update main.js --- step-02/js/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/step-02/js/main.js b/step-02/js/main.js index a0e10ff..e8978eb 100644 --- a/step-02/js/main.js +++ b/step-02/js/main.js @@ -214,9 +214,15 @@ function callAction() { if (videoTracks.length > 0) { trace(`Using video device: ${videoTracks[0].label}.`); } + else{ + trace('Not using video device.'); + } if (audioTracks.length > 0) { trace(`Using audio device: ${audioTracks[0].label}.`); } + else{ + trace('Not using audio device.'); + } const servers = null; // Allows for RTC server configuration.