Closed dio99 closed 2 years ago
The flow of the default config is that rtmp streams are received in live
endpoints >> transcoded and pushed by ffmpeg to show
endpoints >> hls and dash pulls the show
endpoints.
Maybe for starters try to push rtsmp to rtmp live point and test if you can open it in vlc. Then uncomment the transcoding and see if you can get the rtmp show
endpoints as rtmp. IF that works, I believe the default dash/hls will work.
yes i got it working. issue here was my >> to log file since that sent to stdout :) the static push as i read was better in keep con then push/pull but i need to see why i did not get it in the show endpoints
im using your code and docker image it works in the default setup , so i changed little in nginx.conf
but i want to get live feed from rtsp cam so i tried to modify it but i cant to create the stream files for hls or dash any hints?
worker_processes auto; error_log /var/log/nginx/nginx_error.log;
events { worker_connections 1024; }
RTMP configuration
rtmp { server { listen 1935; # Listen on standard RTMP port chunk_size 4000;
ping 30s;
}
http { access_log /var/log/nginx/nginx_access.log; sendfile off; tcp_nopush on; directio 512;
aio on;
}