awslabs / amazon-kinesis-video-streams-webrtc-sdk-js

JS SDK for interfacing with the Amazon Kinesis Video Streams Signaling Service.
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html
Apache License 2.0
286 stars 141 forks source link

Unable to retrieve getStats data #111

Closed JESii closed 3 years ago

JESii commented 3 years ago

We're using the example app to learn about and test the WebRTC capabilities of Kinesis. We are able to run a master and viewer successfully; however, we are unable to get statistics data using the onStatsReport callback that is included in the app.

Examining the payload following the getStats call, we only see a size value -- nothing more. We added the error test to ensure that we were getting a "successful" result.

image

Please let me know what we need to do to get a complete statistics report. Thanks.

MushMal commented 3 years ago

I am not sure why the browsers WebRTC peer connection is not returning stats. Perhaps this is a good question to ask the browsers WebRTC manufacturer? Does this repro on Chrome? FireFox, etc? More data will help other customers to respond

MushMal commented 3 years ago

Resolving as stale due to no responses

JESii commented 3 years ago

Tested only on Chrome; tested multiple times over the last month with other members of the team.

Not sure who to contact for the “browser’s WeebRTC manufacturer”?

We can test this out on Firefox and see what happens there.

Thanks…jon

On Jan 27, 2021, at 11:46 AM, Mushegh Malkhasyan notifications@github.com wrote:

I am not sure why the browsers WebRTC peer connection is not returning stats. Perhaps this is a good question to ask the browsers WebRTC manufacturer? Does this repro on Chrome? FireFox, etc? More data will help other customers to respond

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-js/issues/111#issuecomment-768532939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAADZTYZZKZ6NBZWXX6OITS4BUSJANCNFSM4VEJVBEQ.