Constants
The following constants are available globally.
-
Domain used by all errors produced by the player.
At minimum, these errors will have a useful localized failure reason (
localizedFailureReasonproperty) and description (localizedDescriptionproperty) as well as a unique error code (codeproperty). Other data may be provided in theuserInfovia theNSErrorUserInfoKeyconstants defined in this library.Declaration
Objective-C
extern const NSErrorDomain _Nonnull IVSPlayerErrorDomainSwift
let IVSPlayerErrorDomain: String
-
NSString, short text describing the component that encountered the error.Declaration
Objective-C
extern const NSErrorUserInfoKey _Nonnull IVSSourceDescriptionErrorKeySwift
let IVSSourceDescriptionErrorKey: String -
NSString, short text describing the type of error encountered.Declaration
Objective-C
extern const NSErrorUserInfoKey _Nonnull IVSResultDescriptionErrorKeySwift
let IVSResultDescriptionErrorKey: String -
Subtitles and captions, implemented as
IVSTextCue.Declaration
Objective-C
extern const IVSCueType _Nonnull IVSCueTypeTextSwift
static let text: IVSCue.CueType -
Plaintext timed metadata, implemented as
IVSTextMetadataCue.Declaration
Objective-C
extern const IVSCueType _Nonnull IVSCueTypeTextMetadataSwift
static let textMetadata: IVSCue.CueType -
Metadata injected out of band via the AWS HTTP API
Declaration
Objective-C
extern NSString *const _Nonnull IVSCueID3MetadataIDSwift
let IVSCueID3MetadataID: String -
Metadata injected into the RTMP connection by the broadcaster directly
Declaration
Objective-C
extern NSString *const _Nonnull IVSCueInbandID3MetadataIDSwift
let IVSCueInbandID3MetadataID: String
Constants Reference