Enumerations
The following enumerations are available globally.
-
A description of the sample size and structure for audio samples.
See moreDeclaration
Objective-C
enum IVSAudioFormat : NSInteger {}
Swift
enum IVSAudioFormat : Int
-
Supported aspect modes.
See moreDeclaration
Objective-C
enum IVSAspectMode : NSInteger {}
Swift
enum AspectMode : Int
-
Supported audio quality presets. These will increase the quality of the resulting audio at the expense of CPU time. The impact on CPU is non-negligable, and can take up as much as 30% of the total CPU usage of the SDK. The default value is Medium.
See moreDeclaration
Objective-C
enum IVSAudioQuality : NSInteger {}
Swift
enum AudioQuality : Int
-
Profiles for the automatic video bitrate behavior.
See moreDeclaration
Objective-C
enum IVSAutomaticBitrateProfile : NSInteger {}
Swift
enum AutomaticBitrateProfile : Int
-
Possible log levels for
See moreIVSBroadcastSession.logLevel
Declaration
Objective-C
enum IVSBroadcastLogLevel : NSInteger {}
-
Known errors that can be returned by various APIs in the Broadcast SDK
See moreDeclaration
Objective-C
enum IVSBroadcastError : NSInteger {}
Swift
enum IVSBroadcastError : Int
-
A value representing the
See moreIVSBroadcastSession
s current state.Declaration
Objective-C
enum IVSBroadcastSessionState : NSInteger {}
Swift
enum State : Int
-
A value representing how the
See moreIVSBroadcastSession
will interact withAVAudioSession
.Declaration
Objective-C
enum IVSBroadcastSessionAudioSessionStrategy : NSInteger {}
Swift
enum AudioSessionStrategy : Int
-
The state of a network quality test
See moreDeclaration
Objective-C
enum IVSBroadcastSessionTestStatus : NSInteger {}
Swift
enum Status : Int
-
Types of input devices.
See moreDeclaration
Objective-C
enum IVSDeviceType : NSInteger {}
Swift
enum IVSDeviceType : Int
-
Media types present in a stream.
See moreDeclaration
Objective-C
enum IVSDeviceStreamType : NSInteger {}
Swift
enum IVSDeviceStreamType : Int
-
The position of the input device relative to the host device.
See moreDeclaration
Objective-C
enum IVSDevicePosition : NSInteger {}
Swift
enum IVSDevicePosition : Int
-
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).@discussion 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
See morenearMinimum
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 towardsnearMaximum
.Declaration
Objective-C
enum IVSTransmissionStatisticsBroadcastQuality : NSInteger {}
Swift
@frozen enum BroadcastQuality : Int
-
NetworkHealth represents the current health of the network.
See morebad
means the network is struggling to keep up and the broadcast may be experiencing latency spikes. The SDK may also reduce the quality of the broadcast on low values in order to keep it stable, depending on the minimum allowed bitrate in the broadcast configuration. A value ofexcellent
means the network is easily able to keep up with the current demand and the SDK will be trying to increase the broadcast quality over time, depending on the maximum allowed bitrate. Values likemedium
orlow
are not necessarily bad, it just means the network is being saturated, but it is still able to keep up. The broadcast is still likely stable.Declaration
Objective-C
enum IVSTransmissionStatisticsNetworkHealth : NSInteger {}
Swift
@frozen enum NetworkHealth : Int