Ad110 Can test is a client is currently streaming?

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
stureynolds
Posts: 5
Joined: Fri Apr 01, 2022 11:39 am

Ad110 Can test is a client is currently streaming?

Post by stureynolds »

Is there an API to know if the camera is streaming?

I can subscribe to RtspSessionState (PLAY / TERMINATE), but this won't tell me if the TCP connection was dumped since TERMINATE is never sent.
There is also RtspSessionDisconnect, but AFAICT, this is sent immediately after PLAY (and the event arrives to even before the PLAY event).

Also, if there are multiple RTSP connections, this route is also a little problematic.

Is there an API to simply report the number of attached RTSP, or streaming clients?

Thanks in advance.
Post Reply