BMPSourceType
Objective-C
enum BMPSourceType : NSInteger {}
Swift
enum SourceType : Int
Types of media which can be handled by the Bitmovin Player.
-
indicates a missing source type.
Declaration
Objective-C
BMPSourceTypeNone = 0Swift
case none = 0 -
Indicates media of type HLS.
Declaration
Objective-C
BMPSourceTypeHlsSwift
case hls = 1 -
Indicates media of type DASH.
Declaration
Objective-C
BMPSourceTypeDashSwift
case dash = 2 -
Indicates media of type Progressive MP4.
Declaration
Objective-C
BMPSourceTypeProgressiveSwift
case progressive = 3 -
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
Objective-C
BMPSourceTypeMovpkgSwift
case movpkg = 4 - Casting a source of type
BMPSourceType Enumeration Reference