« Back to Product

Documentation

IPS_GetActiveProxyConnections

 int IPS_GetActiveProxyConnections ()

Returns

Number of clients currently receiving a proxied video stream

Description

Warning

This function is intended for internal use only and may change or be removed at any time without notice.

The function returns the number of clients currently receiving a video stream proxied by the web server. For each MJPEG or RTSP source, e.g. a camera in the visualization, Symcon establishes only one connection and distributes the stream to all requesting clients. The active clients across all of these streams are counted.

On systems without support for proxying video streams, the function returns 0.

WebRTC connections of the VideoServer are returned by IPS_GetActiveWebRTCConnections.

Example

echo "Active proxy connections: " . IPS_GetActiveProxyConnections();

/* e.g. returns:
Active proxy connections: 2
*/
Any questions?