Enumerations

The following enumerations are available globally.

  • A description of the sample size and structure for audio samples.

    See more

    Declaration

    Objective-C

    enum IVSAudioFormat : NSInteger {}

    Swift

    enum IVSAudioFormat : Int
  • Supported aspect modes.

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    enum IVSAudioQuality : NSInteger {}

    Swift

    enum AudioQuality : Int
  • Profiles for the automatic video bitrate behavior.

    See more

    Declaration

    Objective-C

    enum IVSAutomaticBitrateProfile : NSInteger {}

    Swift

    enum AutomaticBitrateProfile : Int
  • Possible log levels for IVSBroadcastSession.logLevel

    See more

    Declaration

    Objective-C

    enum IVSBroadcastLogLevel : NSInteger {}
  • Known errors that can be returned by various APIs in the Broadcast SDK

    See more

    Declaration

    Objective-C

    enum IVSBroadcastError : NSInteger {}

    Swift

    enum IVSBroadcastError : Int
  • A value representing the IVSBroadcastSessions current state.

    See more

    Declaration

    Objective-C

    enum IVSBroadcastSessionState : NSInteger {}

    Swift

    enum State : Int
  • A value representing how the IVSBroadcastSession will interact with AVAudioSession.

    See more

    Declaration

    Objective-C

    enum IVSBroadcastSessionAudioSessionStrategy : NSInteger {}

    Swift

    enum AudioSessionStrategy : Int
  • The state of a network quality test

    See more

    Declaration

    Objective-C

    enum IVSBroadcastSessionTestStatus : NSInteger {}

    Swift

    enum Status : Int
  • Types of input devices.

    See more

    Declaration

    Objective-C

    enum IVSDeviceType : NSInteger {}

    Swift

    enum IVSDeviceType : Int
  • Media types present in a stream.

    See more

    Declaration

    Objective-C

    enum IVSDeviceStreamType : NSInteger {}

    Swift

    enum IVSDeviceStreamType : Int
  • The position of the input device relative to the host device.

    See more

    Declaration

    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 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.

    See more

    Declaration

    Objective-C

    enum IVSTransmissionStatisticsBroadcastQuality : NSInteger {}

    Swift

    @frozen enum BroadcastQuality : Int
  • NetworkHealth represents the current health of the network. bad 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 of excellent 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 like medium or low 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.

    See more

    Declaration

    Objective-C

    enum IVSTransmissionStatisticsNetworkHealth : NSInteger {}

    Swift

    @frozen enum NetworkHealth : Int