HLS streaming from RTSP link
jingwei95 opened this issue · 1 comments
Description
Forgive that I am a newbie to this. I am trying to develop a page to stream IP cam. I have a RTSP link and converted it to RTMP and HTTP m3u8 format with RTMP Nginx module and it runs smoothly on nvr. But when I load it with vg-HLS. It does play but not smoothly as it will keep buffer. It seems like it is trying to get the m3u8 file and an error does show when I inspect it.
my fragment setting is 5s and the playlist length is 10s on the Nginx.
Could someone help in and give some advice?
Do you have a device that support HLS playback natively (e.g. Safari on iOS or macOS, Edge before Chromium on Windows)? I would suggest trying on those device to make sure that thee stream itself good.
Also it might be helpful to inspect your Network tab in Web Inspector to see if all the requests are loaded fine.