using livestream video in iOS application

404 views Asked by At

I want to use video from some live streaming channel i.e. twitch, youtube in my iOS application without using their plugins. How can i do so?

I'm trying to get url of the video so that i can play it via moviePlayer or something else in my application. At the moment, i'm using OBS for uploading the live-stream on twitch.tv

I've found the following link, but again i'm unable to find the url of the video so can't use the solution mentioned How can I use Livestream player in iOS/Android app?

Thanks,

1

There are 1 answers

1
Fayza Nawaz On BEST ANSWER

I have solved the issue using webView. For Youtube we've stream id and we put it in url as "https://www.youtube.com/watch?v=videoId".

For ustream i made url as "https://www.ustream.tv/embed/channelId".

If you don't want to use webView then you can use helper libraries for these platforms i.e. YTPlayer, twitch etc.