aws / connect-rtc-js

Provide softphone support to AmazonConnect customers when they choose to directly integrate with our API and not using our web app.
Apache License 2.0
80 stars 63 forks source link

feat: added support for raw stats from RTCPeerConnection #37

Open dnovicki opened 5 years ago

dnovicki commented 5 years ago

Issue #, if available: Currently the getStats() returns data that is translated and highly structured. This does not give client's much flexibility when compiling stats from the call.

Description of changes: Added getStatsRaw() to enable clients to digest the raw stats from RTCPeerConnection object rather than the media tracks themselves.

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