Is there a built-in method for limiting the number of RTSP stream subscribers? I know I can use /connect API call for that case (and keeping some global counter), but I was wondering if there is another possibility. Thanks.
The REST hooks /connect and /playStream combination is the only way to count and limit the number of every stream subscribers.
You can also apply ACL key to the stream if you're using CDN. In this case, you should send ACL key from backend to subscribers you want to allow to see the stream.