Swift

Enable Sender Stats on the Publisher

Connect to the session, publish your camera, and enable sender-side statistics on your OTPublisher.

Set it on the publisher of each stream you care about—otherwise subscriber remotePublisherTransport may stay limited.

1. Connect to the Session

Implement setup() to create an OTSession and connect:

Adopt OTSessionDelegate on VonageVideoManager (in an extension) to handle connection and streams.

2. Enable Sender-Side Statistics

To receive sender-side statistics, enable them on the stream’s publisher by setting senderStatsTrack on OTPublisherKitSettings:

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.