Hi,
I am writing a small module so that everytime a client starts or stop a stream I update an external DB, so I can keep a live view of who exactly is watching the live stream at anytime.
I’m using the onConnectAccept method by using the getClient methods, getUri & getQueryStr I’m gathering all the data I need, except the actual stream that client is playing.
My problem is that by using the getPlayStreamsCount method I get a count of “0”, which I would not expect as the connection is already accepted.
What would be the correct way of getting this info ?
Should I use “OnStreamCreate” & then get the Client info from the getClient method ?
Thx