ANT rest webrtc-client-stats

14 views
Skip to first unread message

Gambit

unread,
Aug 9, 2021, 6:02:08 AM8/9/21
to Ant Media Server

Hi there

I'm trying to understand how to use /v2/broadcasts/{stream_id}/webrtc-client-stats/{offset}/{size}

What is offest and size used for.

I would like to get all the stats that are associated with a single broadcast?

Thanks

Ant Media Support

unread,
Aug 9, 2021, 7:53:08 AM8/9/21
to delon...@gmail.com, ant-medi...@googlegroups.com
Hi Delon,
Hope you are doing well.
offset - This is the offset of the list, it is useful for pagination.
Size- Number of items that will be fetched. If there is not enough item in the datastore, returned list size may less then this value.
For the mentioned REST /v2/broadcasts/{stream_id}/webrtc-client-stats/{offset}/{size}
You can set offset as 0 and size as 10 for sample usage.

cURL example: curl -X GET -H "Content-Type: application/json" "https://Domain_Name:5443/WebRTCAppEE/rest/v2/broadcasts/stream_ID/webrtc-client-stats/0/10"

You can also simple call the REST from browser as https://Domain_Name:5443/WebRTCAppEE/rest/v2/broadcasts/stream_id/webrtc-client-stats/0/10


I hope this helps.

--
Best Regards,
Mohit Dubey

 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


, Delon <delon...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/ff025aff-d1c4-4205-88e0-9ac4e278ee0cn%40googlegroups.com.
45433:1264838

Delon Misic

unread,
Aug 9, 2021, 10:03:00 AM8/9/21
to Ant Media Support, ant-medi...@googlegroups.com
Thanks very much ;)

On 09 Aug 2021, at 13:53, Ant Media Support <sup...@antmedia.io> wrote:



Ant Media Support

unread,
Aug 9, 2021, 11:09:22 AM8/9/21
to delon...@gmail.com, ant-medi...@googlegroups.com
Hi Delon,
​Most Welcome :)
Have a great week!
--
Cheers,
Mohit Dubey


 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

On Mon, 9 Aug at 5:03 PM
, Delon <delon...@gmail.com> wrote:
Thanks very much ;)

On 09 Aug 2021, at 13:53, Ant Media Support <sup...@antmedia.io> wrote:


Hi Delon,
Hope you are doing well.
offset - This is the offset of the list, it is useful for pagination.
Size- Number of items that will be fetched. If there is not enough item in the datastore, returned list size may less then this value.
For the mentioned REST /v2/broadcasts/{stream_id}/webrtc-client-stats/{offset}/{size}
You can set offset as 0 and size as 10 for sample usage.

cURL example: curl -X GET -H "Content-Type: application/json" "https://Domain_Name:5443/WebRTCAppEE/rest/v2/broadcasts/stream_ID/webrtc-client-stats/0/10"

You can also simple call the REST from browser as https://Domain_Name:5443/WebRTCAppEE/rest/v2/broadcasts/stream_id/webrtc-client-stats/0/10


I hope this helps.

--
Best Regards,
Mohit Dubey

 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Mon, 9 Aug at 1:02 PM
, Delon <delon...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/ff025aff-d1c4-4205-88e0-9ac4e278ee0cn%40googlegroups.com.
45433:1264838
Reply all
Reply to author
Forward
0 new messages