SourceType
@objc(BMPSourceType)
public enum SourceType : Int
Types of media which can be handled by the Bitmovin Player.
-
Indicates a missing source type.
Declaration
Swift
case none = 0 -
Indicates media of type HLS.
Declaration
Swift
case hls -
Indicates media of type DASH.
Declaration
Swift
case dash -
Indicates media of type Progressive MP4.
Declaration
Swift
case progressive -
Indicates already downloaded media in Apple’s
movpkgformat.This type could be used to playback a locally stored asset. E.g. an asset that was not downloaded using our
OfflineManager.The
urlprovided to theSourceConfighas to be a file url starting withfile://. Serving amovpkgvia HTTP is not supported. If a HTTP url (starting withhttp(s)://) is provided the initializer will fail and throw an exception.AirPlay of a movpkg is supported when the device has an active network connection.
Limitations:
- Casting a source of type
movpkgis not supported. - Playback of a partially downloaded
movpkg, e.g. playback while still downloading, is not supported.
Declaration
Swift
case movpkg - Casting a source of type
SourceType Enumeration Reference