| Declared in | OTVideoEventReason.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 ) { OTPublisherVideoEventNone = 0, OTPublisherVideoEventPublisherPropertyChanged = 1, OTPublisherVideoEventQualityChanged = 3, OTPublisherVideoEventQualityDegradationBandwidth = 5, OTPublisherVideoEventQualityDegradationCPU = 6, OTPublisherVideoEventQualityDegradationOther = 7, OTPublisherVideoEventCodecChange = 8, OTPublisherVideoEventResolutionChange = 9, };
Constants
OTPublisherVideoEventNone
: No notable video event or quality degradation. Default or unknown reason.
Declared In `OTVideoEventReason.h`.
OTPublisherVideoEventPublisherPropertyChanged
: The video event was caused by this publisher changing the value
for OTPublisherKit.publishVideo.
Declared In `OTVideoEventReason.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 `OTVideoEventReason.h`.
OTPublisherVideoEventQualityDegradationBandwidth
: Quality degradation due to insufficient network bandwidth.
Declared In `OTVideoEventReason.h`.
OTPublisherVideoEventQualityDegradationCPU
: Quality degradation caused by CPU limitations on the client device.
Declared In `OTVideoEventReason.h`.
OTPublisherVideoEventQualityDegradationOther
: Quality degradation caused by other reasons.
Declared In `OTVideoEventReason.h`.
OTPublisherVideoEventCodecChange
: The video codec for the stream has changed.
Declared In `OTVideoEventReason.h`.
OTPublisherVideoEventResolutionChange
: Change in video resolution or number of layers.
This can occur due to bitrate constraints, encoder adaptation, camera source changes
(e.g., switching cameras or changing input resolution), or configuration changes.
Does not always imply quality degradation.
Declared In `OTVideoEventReason.h`.
Declared In
OTVideoEventReason.h