Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
samprouda
Visitor

Need help in streaming online TV channel

Hi, I am a newbie with Roku and I needed your help and guidance in a way to watch a certain online TV channel on Roku. The channel is http://www.alsharqiyatv.com/
This will surely ease homesick and thank you so much in advance.
0 Kudos
8 REPLIES 8
bandal
Visitor

Re: Need help in streaming online TV channel

I would like to do the same on another site, but how to extract the stream they are using?
0 Kudos
RokuJoel
Binge Watcher

Re: Need help in streaming online TV channel

"samprouda" wrote:
Hi, I am a newbie with Roku and I needed your help and guidance in a way to watch a certain online TV channel on Roku. The channel is http://www.alsharqiyatv.com/
This will surely ease homesick and thank you so much in advance.


They have two iphone compatible links on that page which appear to be at least partially Roku compatible, you could comment out the default video, plop the url's (one at a time) into the SimplevideoPlayer example in the SDK, like this:

urls = ["http://ns8.indexforce.com:1935/home/mystream/playlist.m3u8"]
qualities = ["SD"]
streamformat = "hls"
title = "Live"
srt=""

and see if they work for you when you hit "Play". 😄

- Joel
0 Kudos
bandal
Visitor

Re: Need help in streaming online TV channel

So how did you get the url? I want to extract something similar from another site?
0 Kudos
gonzotek
Visitor

Re: Need help in streaming online TV channel

"bandal" wrote:
So how did you get the url? I want to extract something similar from another site?

I use a user agent spoofer extension for chrome to check if site provides any content in ios/roku friendly formats:
http://spoofer-extension.appspot.com/
After installation I use a mobile safari user agent string:
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

Then I use the chrome developer tools to inspect the video object to determine the video url. Many sites dynamically generate the video tag using javascript, so you can't just look at the source to find it, you have to inspect the live page.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos
bandal
Visitor

Re: Need help in streaming online TV channel

Thanks, but I am using Windows versus the Mac. I will PM you a link to see if it is compatible with Roku.
0 Kudos
gonzotek
Visitor

Re: Need help in streaming online TV channel

"bandal" wrote:
Thanks, but I am using Windows versus the Mac. I will PM you a link to see if it is compatible with Roku.
Chrome and the user agent spoofer extension are both available for mac or windows, and there are comparable linux tools. I'm on windows myself presently. You need the user agent spoofer to lie to the site and convince it that it's talking to an iOS device; the "like Mac OS X" is just part of the spoofed string.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos
TheEndless
Channel Surfer

Re: Need help in streaming online TV channel

Safari has the iOS user agents built-in. Install Safari for Windows and turn on the Develop menu, then you can select the desired User Agent from the Develop menu.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
bandal
Visitor

Re: Need help in streaming online TV channel

Cool, I will give it a shot.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.