I am trying to build a set-up whereby I stream multiple IP Cam RTSP Video feeds to multiple users. It needs to have minimal latency.
Server Hardware: Static IP Synology NAS
Front-End: React
Back-End: Node.js Express
STUN/TURN server: Coturn
Video Feed: Multiple IP Camera's RTSP feeds
Video Encoder: ffmpeg(?)
Video Decoder: ?
Video Format: ?
Streaming Protocol: WebRTC
I have every individual component up however am struggling with the part whereby I encode the RTSP feed.
What video format do I encode it to and how do I use WebRTC to stream to viewers on the front-end?