Roverr / rtsp-stream

Out of box solution for RTSP - HLS live stream transcoding. Makes RTSP easy to play in browsers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

index.m3u8 is empty

davidfungf opened this issue · comments

On rtsp ip camera is configured successfully. When I get the stream by API, it returned the followings. No video is found.

http://x.x.x.x:8080/stream/camera1/index.m3u8

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:1
#EXT-X-MEDIA-SEQUENCE:546
#EXTINF:0.810667,
546.ts
#EXTINF:0.810667,
547.ts
#EXTINF:0.810667,
548.ts

Hi @davidfungf ,

Hmmm this one is interesting, the metadata you provided seems pretty standard to me. It should tell your player in the browser that it should fetch ${STREAM_API}/546.ts , 547.ts ... etc

Are you sure that the files are created into their directory? Can you see them using SSH or something?

When encountering the same problem, VLC sets the preference RTP over RSTP to broadcast RSTP streams normally However, the m3u8 path parsed using "rtsp-stream" is null. Only part of RTSP camera data can be played. This "rtsp-stream" project does not have any parsing instructions and parameters, which may be a dead project