kosmetism/react-soundplayer

requestAudio in componentWillReceiveProps

scrat98 opened this issue · 4 comments

When you wnat dynamical update components with differents streamUrl - it will be fail because requestAudio invokes only once

How do we solve this problem?

@imhuyqn I used React ref and saved instance. And when I changed the URL I persist used ref.requestAudio. But next I switch to the "react-player" library as you can see here
scrat98/audio-streaming-site@e51502e

Hi! I am having the same issue. Any updates on this bug?

fixed via - #102