Answer the question
In order to leave comments, you need to log in
How to play the broadcast from the camera on the site?
I take the stream from the rtsp camera like
this ipcam(rtsp) - ubuntu(nginx + ffmpeg + nginx-rtmp-module) - www(rtmp)
nginx.conf
...
rtmp{
application cam1 {
live on;
exec_static ffmpeg -i rtsp://login:[email protected]<ip>:554 -c copy -f flv rtmp://<ip>/cam1/stream;
}
}
<video width="600" height="300" controls="1" autoplay="1" src="rtmp://<ip>/hls"></video>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question