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
Articles in this section
- Android SDK 2.28.2 error when using the application context
- What happens if your session lasts more than 8 hours?
- Updates to using the Vonage Media Library in Native SDKs from version 2.27.x onwards
- React-Native Zoom In/Out Feature
- Why has the size of the iOS/Android SDKs increased so much from version 2.25.2?
- Integrating Picture-in-Picture with Vonage Video Web
- How to Use the Vonage Media Processor Library for Audio and Video Transformations
- Screen Sharing Support on Mobile Devices
- How to change the strength of the Background Blur?
- What are the minimum system requirements to use Video Filters or Transformers?