Streamedian / html5_rtsp_player

Play RTSP stream from IP camera in browser in this HTML5 player without plugins
Apache License 2.0
2.61k stars 598 forks source link

MediaSource readyState === closed #50

Closed mburger81 closed 6 years ago

mburger81 commented 7 years ago

I tried your latest player on github and we have some problems with MediaSource. On first launch of player the new MediaSource instance in MSE has always as readyState closed and the player does not start playing the video.

image

In this case we get an error on video tag error listner: MediaError code:4 message: MEDIA_ELEMENT_ERROR: Unable to attach MediaSource

image

If we reload the page with F5 anything is fine, the MediaSource readyState is open and the player plays the stream

mburger81 commented 7 years ago

Sorry it is not the latest but the player in version 0.3.4

mburger81 commented 7 years ago

This error is still present on 0.3.8 @kreopt can you please jump into this issue, if you can help me a little bit we can go ahead on checking the issue. We are at a point we can not discover on which could be the reason for the issue. Give as some hints and we will try to get some workaround and a PR fot his problem thx

victorgrenke commented 7 years ago

this error is in the last code?