import React from "react"; import { List } from "semantic-ui-react"; import Moment from "react-moment"; import "moment/locale/es"; const StreamInfo = props => { const { stream } = props; return ( <> {`Usuarios escuchando: ${stream.listeners}`} Transmitiendo{" "} {stream.server_name} {stream.server_description} {stream.audio_channels === 2 ? "Stereo" : "Mono"} {`Bitrate: ${stream["ice-bitrate"]} kbps, ${stream["ice-samplerate"]} Hz`} CanciĆ³n actual {`${stream.artist} - ${stream.title}`} Descargar archivo m3u ); }; export default StreamInfo;