if you open the playlist.m3u8 file with VLC it works without problems but if I try to make it work with videojs or another web playler it doesn't work it remains in continuous loading the player how can I solve it? I have to create a backup stream system if an rtmp stream collapses a second rtmp stream will start automatically
below the videojs code I use
<video id="video-player" class="video-js vjs-default-skin vjs-big-play-centered" data-player="default" data-embed="default" data-application-id controls autoplay playsinline="true" muted preload="auto" data-setup='{"fluid": true}'> <p class="vjs-no-js"> To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a> </p> <source src="https://xyz.xyz.xyz.xyz:5443/LiveApp/playlist.m3u8" type="application/x-mpegurl">
Question
Notelseit Srls
#EXTINF:-1,-----Primo Stream
rtmp://xyz.xyz.xyz.xyz/LiveApp/play.html?name=076285155109809955140156
#EXTINF:-1,-----Second Stream
rtmp://xyz.xyz.xyz.xyz/LiveApp/629151653445934458547875
class="video-js vjs-default-skin vjs-big-play-centered" data-player="default"
data-embed="default" data-application-id controls autoplay playsinline="true" muted preload="auto" data-setup='{"fluid": true}'>
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading
to a web browser that <a
href="http://videojs.com/html5-video-support/" target="_blank">supports
HTML5 video</a>
</p>
<source src="https://xyz.xyz.xyz.xyz:5443/LiveApp/playlist.m3u8" type="application/x-mpegurl">
</video>
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
May 18
4
Top Posters For This Question
Notelseit Srls 3 posts
Mahmut As1m Onat 1 post
Popular Days
May 18 2020
4 posts
3 answers to this question
Recommended Posts