From 1bb3d5c078511a0361bf68a63f65b2e6f507ff71 Mon Sep 17 00:00:00 2001 From: Renard Date: Fri, 13 Mar 2020 13:03:49 -0300 Subject: Fix audio channels --- src/StreamInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/StreamInfo.js') diff --git a/src/StreamInfo.js b/src/StreamInfo.js index fd88150..4b95e17 100644 --- a/src/StreamInfo.js +++ b/src/StreamInfo.js @@ -34,7 +34,7 @@ const StreamInfo = props => { - {stream.audio_channels === 2 ? "Stereo" : "Mono"} + {stream["ice-channels"] === 2 ? "Stereo" : "Mono"} {`Bitrate: ${stream["ice-bitrate"]} kbps, ${stream["ice-samplerate"]} Hz`} -- cgit v1.2.1-18-gbd029