0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.92k stars 626 forks source link

Can't get the streamUrl of Live Stream #528

Open yiupin opened 3 years ago

vuvdv3101 commented 3 years ago

XCDYoutubeVideo.m Change to : Line 253 if (httpLiveStream != nil) { _streamURL = [NSURL URLWithString:httpLiveStream]; streamURLs[XCDYouTubeVideoQualityHTTPLiveStreaming] = [NSURL URLWithString:httpLiveStream]; }

This is my solution. hope can help you 👍

devbest555 commented 3 years ago

I cannot get the streamURL of Live video yet. any idea?

nid252 commented 3 years ago

@devbest555 Have you found any solution for Live Videos? Facing the same issue.

devbest555 commented 3 years ago

yes, facing the same issue yet. not found the solution yet. help me, please.

vuvdv3101 commented 3 years ago

Did you try my code ?

vuvdv3101 commented 3 years ago

XCDYoutubeVideo.m Change to : Line 253 if (httpLiveStream != nil) { _streamURL = [NSURL URLWithString:httpLiveStream]; streamURLs[XCDYouTubeVideoQualityHTTPLiveStreaming] = [NSURL URLWithString:httpLiveStream]; }

This is my solution. hope can help you 👍

apply this

devbest555 commented 3 years ago

yes, Tried it already but same issue(streamURL = nil for only "LIVE" videos)

vuvdv3101 commented 3 years ago

can you show your code line 253 in XCDYoutubeVideo.m ?

devbest555 commented 3 years ago

yes, will do so. Also, If you use skype or telegram, it will be better to chat real-time my skype : live:.cid.e5675d33daad7e3f telegram : @fullstackwe

nid252 commented 3 years ago

@devbest555 Please update here if you find any solution

joseandroidengineer commented 3 years ago

Any solution to this yet?