-
Creates a new HLS source based on the given URL.
Declaration
Objective-C
- (nonnull instancetype)initWithUrl:(nonnull NSURL *)url;Swift
init(url: NSURL)Parameters
urlThe HLS media URL.
Return Value
A new HLS source initialized with the given URL.
Creates a new HLS source based on the given URL.
Objective-C
- (nonnull instancetype)initWithUrl:(nonnull NSURL *)url;
Swift
init(url: NSURL)
url
|
The HLS media URL. |
A new HLS source initialized with the given URL.