OTPublisherVideoEventReason
Video enabled and disabled events are accompanied with a reason code, for determining why the video track was enabled/disabled.
Constants
| Name | Description |
|---|---|
OTPublisherVideoEventNone |
No notable video event or quality degradation. |
OTPublisherVideoEventPublisherPropertyChanged |
The video event was caused by this publisher changing the value for OTPublisherKit.publishVideo. |
OTPublisherVideoEventQualityChanged |
The video event was caused by a change in the network congestion level. |
OTPublisherVideoEventQualityDegradationBandwidth |
Quality degradation due to insufficient network bandwidth. |
OTPublisherVideoEventQualityDegradationCPU |
Quality degradation caused by CPU limitations on the client device. |
OTPublisherVideoEventQualityDegradationOther |
Quality degradation caused by other reasons. |
OTPublisherVideoEventCodecChange |
The video codec for the stream has changed. |
OTPublisherVideoEventResolutionChange |
Change in video resolution or number of layers. |