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.