OTSubscriberVideoEventReason Constants Reference

Declared in OTSubscriberKit.h

OTSubscriberVideoEventReason

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, OTSubscriberVideoEventReason ) {
   OTSubscriberVideoEventPublisherPropertyChanged = 1,
   OTSubscriberVideoEventSubscriberPropertyChanged = 2,
   OTSubscriberVideoEventQualityChanged = 3,
   OTSubscriberVideoEventCodecNotSupported = 4,
};

Constants

OTSubscriberVideoEventPublisherPropertyChanged

The video event was caused by the stream’s publisher changing the value for OTPublisherKit.publishVideo.

Declared In OTSubscriberKit.h.

OTSubscriberVideoEventSubscriberPropertyChanged

The video event was caused by a change to this subscriber’s OTSubscriberKit.subscribeToVideo property.

Declared In OTSubscriberKit.h.

OTSubscriberVideoEventQualityChanged

The video event was caused by a change to the video stream quality. Stream quality may change due to network conditions or CPU usage on either the subscriber or publisher.

Declared In OTSubscriberKit.h.

OTSubscriberVideoEventCodecNotSupported

The video event was caused when video in the the subscriber stream was disabled because the stream uses a video codec (such as H.264) that is not supported on the device.

Declared In OTSubscriberKit.h.

Declared In

OTSubscriberKit.h