Specify it in your Podfile:
pod 'M3U8Kit'
Then, run the following command:
$ pod install
Released from 0.4.1
Specify it in your Cartfile
:
github "M3U8Kit/M3U8Parser" ~> 1.0.0
Run carthage
to build the framework and drag the built M3U8Kit.framework
into your Xcode project.
If you prefer not to use either of the above mentioned dependency managers, you can integrate M3U8Parser
into your project manually by adding the files contained in the Source folder to your project.
#import "NSURL+m3u8.h"
[<#URL#> m3u_loadAsyncCompletion:^(M3U8PlaylistModel *model, NSError *error) {
}];
NSError *error = nil;
M3U8PlaylistModel *model = [[M3U8PlaylistModel alloc]
initWithURL:@"https://xxx.xxx.com/live.m3u8"
error:&error];
M3U8Kit is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 252 |
Last commit: 5 days ago |
additionalParameters
to resolve tvg-logo/tvg-id/tvg-country or other additional properties as key-value pairs for M3U8 EXTINF. by @wolfcon in https://github.com/M3U8Kit/M3U8Parser/pull/36Full Changelog: https://github.com/M3U8Kit/M3U8Parser/compare/1.0.2...1.1.0
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics