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

Increased debug logging in example app and implemented onStatsReport #200

Closed dave-malone closed 1 year ago

dave-malone commented 1 year ago

Issue #, if available: n/a

Description of changes:

Implemented onStatsReport in example/app.js. Added new log levels to logging function (DEBUG and INFO levels). Added element to examples/index.html to display log info as well as stats reports info. Added more debug info to both master and viewer, specifically SDP offer/answer and ICE candidate info exchanged between each to assist with debugging.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.