Testing a publisher's stream
You can publish a test stream and check its audio and video statistics to determine the type of stream (such as high-resolution or audio-only) supported by your connection.
To get statistics for a stream published by the local client, you must use a session that uses the Vonage Video Media Router (sessions with the media mode set to routed).
Also checkout Subscribing to streams for more information.
You can use the SubscriberKit.setAudioStatsListener(AudioStatsListener listener) and SubscriberKit.setVideoStatsListener(VideoStatsListener listener) methods of the Subscriber object to get audio and video statistics for the stream you publish.
See this topic for more information.
You can use the networkStatsDelegate method of the OTSubscriberKit object to get audio and video statistics for the stream you publish.
The Vonage Video-network-test repo includes sample code for showing how to use statistics of a test stream before publishing to a session.
You can use the networkStatsDelegate method of the OTSubscriberKit object to get audio and video statistics for the stream you publish.
The Vonage Video-network-test repo includes sample code for showing how to use statistics of a test stream before publishing to a session.
You can then subscribe to the stream and use the Subscriber.AudioStatsUpdated and Subscriber.VideoStatsUpdated events to get audio and video statistics for the stream you publish.