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

Multiple players using the same socket? #137

Open t-wheatley opened 5 years ago

t-wheatley commented 5 years ago

Is it possible to have multiple players active at the same time using the same socket? When I start up a second player, the original socket is closed and reopened which stops the first player.

Both players are connecting to the same server using 'ws://localhost:5445/ws/' but are streaming different URLs. The 'streamedian.videojs.min.js' is being used to create the players.

rtalintyre commented 5 years ago

@victorgrenke do you have any information or code examples for this?

victorgrenke commented 5 years ago

try the example with 4 players on one page

https://streamedian.com/cabinet/downloads/example/players4 In archive HTML page. This page need to put to the folder with js player's file.