Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPLiveStreaming #41

Merged
merged 3 commits into from
Mar 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions YTVimeoExtractor/YTVimeoVideo.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ It is very important that you do not create a subclass of `YTVimeoVideo`
* @return The lowest quality stream URL.
*/
-(NSURL *)lowestQualityStreamURL;
/**
* The HTTP Live Stream URL for the video.
*/
@property (nonatomic, readonly, nullable) NSURL *HTTPLiveStreamURL;
NS_ASSUME_NONNULL_END

@end
1 change: 1 addition & 0 deletions YTVimeoExtractor/YTVimeoVideo.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ - (void)extractVideoInfoWithCompletionHandler:(void (^)(NSError *error))completi
NSMutableDictionary *streamURLs = [NSMutableDictionary new];
NSMutableDictionary *thumbnailURLs = [NSMutableDictionary new];

_HTTPLiveStreamURL = [NSURL URLWithString:[self.infoDict valueForKeyPath:@"request.files.hls.url"]];

for (NSDictionary *info in filesInfo) {

Expand Down