Can I directly access the RTCPeerConnection object for monitoring?
Question
Can I directly access the RTCPeerConnection object in WebRTC through the Javascript SDK for monitoring and quality control.
Applies To
- Vonage Video API
- Javascript SDK
Answer
No. The Javascript SDK does not expose the underlying RTCPeerConnection objects through the API.
Additional Information
For quality monitoring you can use the getStats() and getRtcStatsReport() APIs of the subscriber and publisher objects. These can provide detailed stream statistics for monitoring.
https://tokbox.com/developer/sdks/js/reference/Subscriber.html#getRtcStatsReport
https://tokbox.com/developer/sdks/js/reference/Subscriber.html#getStats
https://tokbox.com/developer/sdks/js/reference/Publisher.html#getRtcStatsReport
https://tokbox.com/developer/sdks/js/reference/Publisher.html#getStats
Comments
0 comments
Article is closed for comments.