OTPublisherVideoEventReason Constants Reference

Declared in OTPublisherKit.h

OTPublisherVideoEventReason

Video enabled and disabled events are accompanied with a reason code, for determining why the video track was enabled/disabled.

Definition

typedef NS_ENUM(int32_t, OTPublisherVideoEventReason ) {
   OTPublisherVideoEventPublisherPropertyChanged = 1,
   OTPublisherVideoEventQualityChanged = 3,
};

Constants

OTPublisherVideoEventPublisherPropertyChanged

The video event was caused by this publisher changing the value for OTPublisherKit.publishVideo.

Declared In OTPublisherKit.h.

OTPublisherVideoEventQualityChanged

The video event was caused by a change in the network congestion level. The [OTPublisherKitDelegate publisherVideoDisabled:reason:] message is sent. When conditions improve, the video stream resumes, and the [OTPublisherKitDelegate publisherVideoEnabled:reason:] message is sent.

Declared In OTPublisherKit.h.

Declared In

OTPublisherKit.h