Does multiple RTSP clients consume more bandwidth than a single client?

camviewer43

Getting the hang of it
Joined
Mar 14, 2020
Messages
176
Reaction score
50
Location
US
I have a NVR application that records the RTSP stream from a Dahua camera. This is RTSP client #1. I also want to have another application to consume the stream and do object recognition on it. RTSP client #2. Does having two RTSP clients double the bandwidth needed from the camera? Or does RTSP protcol do something smart that keeps the bandwidth the same regardless of multiple clients?

My concern is that one of my cameras is on a powerline link that's pretty weak. If it can't handle double the bandwidth, are there options out there to put a program in my lan to consume the RTSP stream once and re-stream it to multiple clients? I can put this on my gig network where bandwidth consumption isn't an issue.
 

pozzello

Known around here
Joined
Oct 7, 2015
Messages
2,270
Reaction score
1,117
if you're running the NVR app 24/7, just pull the other stream from the NVR instead of the cam... some delay/latency, maybe, but probably close enuf i f you can can only pull one stream from your cam...
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
I have a NVR application that records the RTSP stream from a Dahua camera. This is RTSP client #1. I also want to have another application to consume the stream and do object recognition on it. RTSP client #2. Does having two RTSP clients double the bandwidth needed from the camera? Or does RTSP protcol do something smart that keeps the bandwidth the same regardless of multiple clients?

My concern is that one of my cameras is on a powerline link that's pretty weak. If it can't handle double the bandwidth, are there options out there to put a program in my lan to consume the RTSP stream once and re-stream it to multiple clients? I can put this on my gig network where bandwidth consumption isn't an issue.
See your cameras multicast function Unicast, Multicast, or both: what’s right for you?
 

reflection

Getting comfortable
Joined
Jan 28, 2020
Messages
348
Reaction score
261
Location
Virginia
RTSP is your control protocol that sets up the flow. The flow itself usually RTP. It can be unicast or multicast. By default it's unicast. To answer your first question, you will have two unicast streams, which means double the bandwidth.

If you try multicast, keep in mind that most dumb switches will forward multicast like broadcast. In other words, your multicast stream will get flooded out every port. Switches that support IGMP snooping (usually managed switches) will send the multicast traffic only to ports with multicast receivers. If you have a multiple layer 3 hops, then you also have to have routers that support multicast routing.
 

pozzello

Known around here
Joined
Oct 7, 2015
Messages
2,270
Reaction score
1,117
yup. multicast certainly has it's uses and downsides, which is why I suggested the OP pull the second stream from the NVR instead of the cam directly. At least that avoids his main concern of overloading the PLA, tho even the old Zyxel 401's I use seem to be able to handle multiple streams without saturating... try it, I guess.
 

camviewer43

Getting the hang of it
Joined
Mar 14, 2020
Messages
176
Reaction score
50
Location
US
Thanks all. That gives me some things to go check out.
 
Top