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,
};
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 pubisher.
Declared In
OTSubscriberKit.h
.
Declared In
OTSubscriberKit.h