Moritz Bastian1648581703 Posted October 21, 2020 Share Posted October 21, 2020 Is there a way of getting "Used Traffic per Stream" via the API? Link to comment Share on other sites More sharing options...
0 Moritz Bastian1648581703 Posted October 21, 2020 Author Share Posted October 21, 2020 Is there a way of fetching this information with the api? WebRTC Statistics in Ant Media Server Also, The Ant Media Server provides WebRTC statistics within the JavaScript SDK. Developers can get below statistical information using Ant Media Server JavaScript SDK; bytesReceived packetsLost fractionLost timestamp (inbound and outbound) bytesSent Link to comment Share on other sites More sharing options...
0 Selim Emre Posted October 21, 2020 Share Posted October 21, 2020 Hi Moritz, You can get WebRTC Statistics with below REST APIs: https://antmedia.io/rest/#/BroadcastRestService/getWebRTCLowLevelSendStats https://antmedia.io/rest/#/BroadcastRestService/getWebRTCLowLevelReceiveStats Also, you can use client statistics -> https://antmedia.io/rest/#/BroadcastRestService/getWebRTCClientStatsListV2 PS: Please check REST API Guide in here -> https://github.com/ant-media/Ant-Media-Server/wiki/REST-Guide I hope the above details can help you. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Moritz Bastian1648581703 Posted October 23, 2020 Author Share Posted October 23, 2020 Hi Selim, thanks for helping me. I'm trying to fetch all the traffic after the stream has endet. The API Stats are only live not after the session has endet. Do you have a approach here? Best Regards, Moritz Link to comment Share on other sites More sharing options...
Question
Moritz Bastian1648581703
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
Oct 21
3
Oct 23
1
Top Posters For This Question
Moritz Bastian1648581703 3 posts
Selim Emre 1 post
Popular Days
Oct 21 2020
3 posts
Oct 23 2020
1 post
3 answers to this question
Recommended Posts