Jump to content
  • 0

Problem Playlist


Notelseit Srls
 Share

Question

I created this playlist  m3u8 file

#EXTM3U
#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

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">
       
    </video>

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
Hi Notelseit,

Can you tell me in which browser are you having this issue? And just to be clear, it does not work with https://domain/LiveApp/play.html right?

Best,
Asim

On Monday, May 18, 2020 at 1:18:42 PM UTC+3, Notelseit Srls wrote:
I created this playlist  m3u8 file

#EXTM3U
#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

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">
       
    </video>

Link to comment
Share on other sites

  • 0
exactly, always if I wasn't wrong to recall the playlist I used https://regia.onstreaming.it:5443/LiveApp/play.html?id=playlist and https://regia.onstreaming.it:5443/LiveApp/play .html? id = playlist.m3u8 as well as having created a stream playlist and inserting the rtmp, but without success they all remain in the upload.


I'll explain what I have to do so help me better I have two rtmp if rtmp1 crashes it must go rtmp2 (in the meantime it restores rtmp1) and it blocks rtmp2 and returns to see rtmp1. basically I have to implement a failover flow 

Il giorno lunedì 18 maggio 2020 13:10:42 UTC+2, mahmut asım Onat ha scritto:
Hi Notelseit,

Can you tell me in which browser are you having this issue? And just to be clear, it does not work with https://domain/LiveApp/play.html right?

Best,
Asim

On Monday, May 18, 2020 at 1:18:42 PM UTC+3, Notelseit Srls wrote:
I created this playlist  m3u8 file

#EXTM3U
#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

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">
       
    </video>

Link to comment
Share on other sites

  • 0
after further tests and file changes I got to the point that VLC the transition from one stream to another is immediate or almost immediate, while changing the flow on the web with play.html takes an average of 2 minutes, how can we make the time go down to a 1 minute or less for the rtmp change?

Il giorno lunedì 18 maggio 2020 12:18:42 UTC+2, Notelseit Srls ha scritto:
I created this playlist  m3u8 file

#EXTM3U
#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

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">
       
    </video>

Link to comment
Share on other sites

 Share


×
×
  • Create New...