Gambit Posted August 9, 2021 Share Posted August 9, 2021 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 Link to comment Share on other sites More sharing options...
0 Ant Media Support Posted August 9, 2021 Share Posted August 9, 2021 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/10I 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 <delonmisic@gmail.com> wrote: 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 -- 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-server+unsubscribe@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 Link to comment Share on other sites More sharing options...
0 Gambit Posted August 9, 2021 Author Share Posted August 9, 2021 Thanks very much ;) On 09 Aug 2021, at 13:53, Ant Media Support <support@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 <delonmisic@gmail.com> wrote: 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 -- 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-server+unsubscribe@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 Link to comment Share on other sites More sharing options...
0 Ant Media Support Posted August 9, 2021 Share Posted August 9, 2021 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 <delonmisic@gmail.com> wrote: Thanks very much ;) On 09 Aug 2021, at 13:53, Ant Media Support <support@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/10I 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 <delonmisic@gmail.com> wrote: 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 -- 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-server+unsubscribe@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 Link to comment Share on other sites More sharing options...
Question
Gambit
Link to comment
Share on other sites
Top Posters For This Question
2
2
Popular Days
Aug 9
4
Top Posters For This Question
Ant Media Support 2 posts
Gambit 2 posts
Popular Days
Aug 9 2021
4 posts
3 answers to this question
Recommended Posts