shixiaoda / M3U8Paser

A light weight m3u8 parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M3U8Kit

Build Status CocoaPods Compatible Platform Carthage compatible

Installation

Cocoapods

Podfile

To integrate M3U8Kit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'

target 'TargetName' do
    pod 'M3U8Kit'
end

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

To integrate MLSOAppDelegate into your Xcode project using Carthage, specify it in your Carfile:

github "alexsun/M3U8Paser" ~> 0.2.1 

Run carthage to build the framework and drag the built M3U8Kit.framework into your Xcode project.

Manually

If you prefer not to use either of the above mentioned dependency managers, you can integrate M3U8Kit into your project manually by adding the files contained in the Source folder to your project.

Usage

NSError *error = nil;
M3U8PlaylistModel *model = [[M3U8PlaylistModel alloc] 
            initWithURL:@"https://xxx.xxx.com/live.m3u8"
              error:&error];

License

M3U8Kit is available under the MIT license. See the LICENSE file for more info.

About

A light weight m3u8 parser

License:MIT License


Languages

Language:Objective-C 84.0%Language:C++ 13.9%Language:Ruby 1.8%Language:Swift 0.3%