0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't get the streamUrl of Live Stream

yiupin opened this issue · comments

Can't get the streamUrl of Live Stream

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 👍

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

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

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

Did you try my code ?

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

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

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

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

@devbest555 Please update here if you find any solution

Any solution to this yet?