OTSubscriberVideoEventReason

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

Constants

Name Description
OTSubscriberVideoEventNone No notable video event or quality degradation.
OTSubscriberVideoEventPublisherPropertyChanged The video event was caused by the stream's publisher changing the value for OTPublisherKit.publishVideo.
OTSubscriberVideoEventSubscriberPropertyChanged The video event was caused by a change to this subscriber's OTSubscriberKit.subscribeToVideo property.
OTSubscriberVideoEventQualityChanged The video event was caused by a change to the video stream quality.
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.
OTSubscriberVideoEventCodecChange The video codec for the stream has changed.
OTSubscriberVideoEventResolutionChange Change in video resolution.
OTSubscriberVideoEventVideoInterruption The video stream was interrupted.
OTSubscriberVideoEventSenderQualityRestriction Sender restricted video quality