aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-13 13:03:49 -0300
committerLibravatar Renard 2020-03-13 13:03:49 -0300
commit1bb3d5c078511a0361bf68a63f65b2e6f507ff71 (patch)
tree3e1e47b8fb851276bb3c15483b339eee10fd950d /src
parent41e8379fb66c12d5468bda329560fd9c66c066cf (diff)
downloadbairadio-app-1bb3d5c078511a0361bf68a63f65b2e6f507ff71.tar.gz
bairadio-app-1bb3d5c078511a0361bf68a63f65b2e6f507ff71.tar.xz
bairadio-app-1bb3d5c078511a0361bf68a63f65b2e6f507ff71.zip
Fix audio channels
Diffstat (limited to 'src')
-rw-r--r--src/StreamInfo.js2
1 files changed, 1 insertions, 1 deletions
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 => {
<List.Icon name="file audio outline" verticalAlign="middle" />
<List.Content>
<List.Header>
- {stream.audio_channels === 2 ? "Stereo" : "Mono"}
+ {stream["ice-channels"] === 2 ? "Stereo" : "Mono"}
</List.Header>
{`Bitrate: ${stream["ice-bitrate"]} kbps, ${stream["ice-samplerate"]} Hz`}
</List.Content>