AwesomeWebProjects / react-player

One audio player built with ReactJS, Web Audio API and Web Worker API
https://dazzling-jang-471a34.netlify.com/
MIT License
107 stars 22 forks source link

Live Radio Streaming #46

Open theraw opened 4 years ago

theraw commented 4 years ago

Hello, Can this project be used for radio stream?

Radio is a simple radio station with music using Shoutcast

danielbarion commented 4 years ago

Hello @theraw, yes with few modifications: 1 - When checking if the get is finished, continue doing the check forever if not finished yet, getting the data and playing sound (reading data and getting as parallel).

Can you send the Pull Request with the modification, please?

theraw commented 4 years ago

i'm sorry man sadly i have no idea of react i was just asking 😄

But if i find out i'm gonna pr ofcourse.

danielbarion commented 4 years ago

Okay, if you read the code and understand a little about JavaScript, you can do this (because the logic are just JS and web apis...).

The infinity check is a feature planned, but I can't handle this now, I'm focused on my work.

Thank you