Source Description API
-
The
See moreSourceDescriptionobject is used to describe a configuration of a source for a THEOplayer instance.Declaration
Swift
public class SourceDescription : NSObject, Codable -
The
TypedSourceobject provides the following properties:See moreRemark
- This represents a media resource characterized by a URL to the resource and optionally information about the resource.
- This optional information can be DRM parameters for that specific source.
Declaration
Swift
open class TypedSource : NSObjectextension TypedSource: Codable -
A TextTrackDescription object contains a description of a side-loaded text track that will be added to the player.
See moreRemark
MP4, MP3 and M4A streams only support VTT formatted text tracks. AirPlay is not supported with MP4, MP3 and M4A formats.Declaration
Swift
open class TextTrackDescription : NSObject, Codable -
The MetadataDescription object is used to describe content.
See moreDeclaration
Swift
public class MetadataDescription : NSObject, Codable
Source Description API Reference