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.
Ad110 Can test is a client is currently streaming?
-
- Posts: 5
- Joined: Fri Apr 01, 2022 11:39 am