Constants
The following constants are available globally.
-
This will be the
domain
on theNSError
objects that the Broadcast SDK emits.Declaration
Objective-C
extern const NSErrorDomain IVSBroadcastErrorDomain
Swift
let IVSBroadcastErrorDomain: String
-
For errors emitted by the SDK, they will all have a key of
IVSBroadcastErrorIsFatalKey
in theiruserInfo
property. The value will be an BOOL wrapped in anNSNumber
describing whether the emitted error is fatal or not (fatal means recovery is impsosible).Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastErrorIsFatalKey
Swift
let IVSBroadcastErrorIsFatalKey: String
-
NSString
, short text describing the source of where the error originated from.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastSourceDescriptionErrorKey
Swift
let IVSBroadcastSourceDescriptionErrorKey: String
-
NSString
, short text describing the category of error.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastResultDescriptionErrorKey
Swift
let IVSBroadcastResultDescriptionErrorKey: String
-
NSString
, short text describing the error UID.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastUidDescriptionErrorKey
Swift
let IVSBroadcastUidDescriptionErrorKey: String
-
“H264”, also known as AVC.
Declaration
Objective-C
extern NS_SWIFT_NAME(IVSVideoCodecName.h264) const IVSVideoCodecName IVSVideoCodecNameH264
Swift
static let h264: IVSVideoCodecName
-
“H265”, also known as HEVC.
Declaration
Objective-C
extern NS_SWIFT_NAME(IVSVideoCodecName.h265) const IVSVideoCodecName IVSVideoCodecNameH265
Swift
static let h265: IVSVideoCodecName