Cannot GET /live/STREAM_NAME/index.m3u8
I am trying to play my MP4 file in HLS on local host. I start the server with "node app.js" and then enter "ffmpeg -re -i input.mp4 -c copy -f flv http://localhost:8000/live/STREAM_NAME/index.m3u8"
When trying to view the HLS stream on http://localhost:8000/live/STREAM_NAME/index.m3u8"_ on chrome browser I get the error Cannot GET /live/STREAM_NAME/index.m3u8. Any help please, I have been stuck on this for a while.
I've met same issue. In my case, I've configured a task as recommanded code snippet in config.trans
{
app: 'live',
ac: 'aac',
hls: true,
hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',
dash: true,
dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
}
Then, I push stream to rtmp://localhost/live/1, the RTMP stream works fine, while I cannot access http://localhost/live/1/index.m3u8, I've tried the urls like http://localhost:8000/live/1/index.m3u8 and http://localhost/media/live/1/index.m3u8 (I've debugged into the node_trans_session.js and got the ./media/live/ path...), they did not work neither.
I wanna know how to achieve hls stream use this repo.
#120
I have face this issue also, waiting for someone help..T_T
Are there files in .\media\live\STREAM_NAM? If not, maybe the ffmpeg.exe is the problem. Check the folder where the ffmpeg.exe in, there are two dll zip file, unzip it.
Duplicate of #108 and probably #120 too.
Same problem here
Duplicate of #108 and probably #120 too.
Dude it's in fucking chinese
Same issue dash,hls not working on aws instance , but mp4 copy saved on media folder. Any idea why this issue, It's working on my local machine.
Any update on this issue? It seems like it doesn't even serve the m3u8 files. I've tried explicitly exposing the directory with express, and it doesn't work as well.
您好,您的邮件我已收到~~我会及时查看的 (^__^)