IVSTransmissionStatisticsBroadcastQuality
Objective-C
enum IVSTransmissionStatisticsBroadcastQuality : NSInteger {}
Swift
@frozen enum BroadcastQuality : Int, @unchecked Sendable
BroadcastQuality represents the quality of the stream based on the bitrate minimum and maximum provided
on session configuration. nearMinimum
means the stream is near the lowest possible quality (the configured minimum bitrate),
or streaming is not possible at all.
nearMaximum
means the bitrate is near the maximum allowed (the configured maximum bitrate).
If the video configuration looks like:
initial bitrate = 1000 kbps
minimum bitrate = 300 kbps
maximum bitrate = 5,000 kbps
It will be expected that a nearMinimum
quality is provided to this callback initially, since the initial bitrate is much closer to the minimum
allowed bitrate than the maximum. If network conditions are good, the quality should improve over time towards nearMaximum
.
-
The broadcast is near the maximum quality allowed.
Declaration
Objective-C
IVSTransmissionStatisticsBroadcastQualityNearMaximum
Swift
case nearMaximum = 0
-
The broadcast is at a high quality relative to the provided bounds.
Declaration
Objective-C
IVSTransmissionStatisticsBroadcastQualityHigh
Swift
case high = 1
-
The broadcast is at a medium quality relative to the provided bounds.
Declaration
Objective-C
IVSTransmissionStatisticsBroadcastQualityMedium
Swift
case medium = 2
-
The broadcast is at a low quality relative to the provided bounds.
Declaration
Objective-C
IVSTransmissionStatisticsBroadcastQualityLow
Swift
case low = 3
-
The broadcast is near the minumum quality allowed.
Declaration
Objective-C
IVSTransmissionStatisticsBroadcastQualityNearMinimum
Swift
case nearMinimum = 4