Jump to content
  • 0

ANT rest webrtc-client-stats


Gambit
 Share

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
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

  • 0

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

  • 0
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" "
"

You can also simple call the REST from browser as



I hope this helps.

--
Best Regards,
Mohit Dubey


 
Star 
 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
.

To view this discussion on the web visit
.

45433:1264838
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...