Kotlin
Enable Sender Stats on the Publisher
Connect to the session, publish your camera, and enable Sender-Side Statistics so subscribers can access publisher-side metrics
1. Start by Connecting to a Session and Publishing
Build a Session, set a SessionListener, and connect with your token. When onConnected fires, create and publish a Publisher:
2. Enable Sender-Side Statistics
To receive Sender-Side Statistics enable them on the stream’s publisher by setting senderStatsTrack(true) when building the publisher:
Subscriber media link fields such as transport and especially remotePublisherTransport may be limited unless sender-side statistics (and/or audio fallback) are enabled on the publisher.
See Subscriber Media Link Statistics in the overview guide.
Client Observability
Learn how to use client observability to monitor real-time quality metrics for a video call with Vonage Video SDK.
Steps
1
Introduction2
Getting Started3
Creating a New Project4
Adding the Android SDK5
Setting Up Authentication6
Requesting Permissions7
Enable Sender Stats on the Publisher8
Subscribe and Register Observability Listeners9
Handle Video Stats10
Display Stats in the UI11
Running the App12
Conclusion