I am using ffmpeg along with nginx/rtmp to rebroadcast video from an IP camera to a webpage. The command I execute is:
ffmpeg -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://admin:admin@192.168.28.120/ -f flv -c:v copy -c:a copy rtmp://hls.mydomain.com/show/120
Subsequently, I access the video using this URL in Chrome:
http://hls.mydomain.com:8080/hls/120.m3u8
However, the issue arises as the video in Chrome exhibits severe choppiness and tends to stop after only a few minutes. Any idea why and how to resolve it?