RTSP vs MJPEG with http/https

Viewed 34

I have to devices which I want to stream video from one device to another on local area network is mjpeg over http multipart/x-mixed-replace better or rtsp because i didn't find enough documentation about how to implement rtsp in python

1 Answers

Hi,

It depends of the use case of your project, there are lots of articles like this Article Article where diffrence is described beetween MJPEG and H264.

For development MJPEG is very easy, H264 and rtsp are way more complex. If you want to go the route with RTSP you can use gstreamer rtsp server with python as server and for client like a library as pyav (Example)

Implementing RTSP is not hard because it is used to control transmission over RTP, hard part is RTP transport/audio/video related stuff.

Hope this helps you a littl bit

Related