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: 
bollywood
Visitor

Re: How Do I Start Developing a Channel?

so i am trying to use the custom video player code. if i just replace the url below with the actual url from another website, is that all that is needed to test it?


this.player.SetContentList([{
Stream: { url: "http://ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/smil:bigbuckbunnyiphone.smil/playlist.m3u8" }
StreamFormat: "hls"
}])
this.player.Play()



this is the website i am trying to create private channels for
http://webcast.gov.in/
as you can see there are links to many channels/content. i am trying to add all of it into channels.
this is what i found out from the page source:
http://webcast.gov.in/StrobeMediaPlayback.swf

is this the correct url for the live stream? am i going in the right direction here?
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam

https://owner.roku.com/add/hawkcam
0 Kudos
RokuKevin
Visitor

Re: How Do I Start Developing a Channel?

Roku will not play swf (Flash) files. You need to set both the url and the matching StreamFormat value. Please see the roVideoScreen section in the Component Reference for supported StreamFormat video types.

--Kevin
0 Kudos
bollywood
Visitor

Re: How Do I Start Developing a Channel?

this is what their website says:

In an attempt to ensure universality, both the popular and prevalent streaming media technologies viz. Real Network Technology and Microsoft's Windows Media Technology are being fully supported by the state-of-the art media servers set up by us.

Real Networks Technology

* Encoder : Real / Helix Producer
* Server : Real /Helix server.
* Player : Real Player.
* Protocols : RTSP, PNM, HTTP

Microsoft Media Technology
* Encoder : Windows Media Encoder
* Server : Windows Media server.
* Player : Windows Media Player
* Protocols : MMS, HTTP



and i see in the pdf that it supports WMV9, so am i going in the right direction?
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam

https://owner.roku.com/add/hawkcam
0 Kudos
stratcat96
Visitor

Re: How Do I Start Developing a Channel?

"bollywood" wrote:
so i am trying to use the custom video player code. if i just replace the url below with the actual url from another website, is that all that is needed to test it?


this.player.SetContentList([{
Stream: { url: "http://ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/smil:bigbuckbunnyiphone.smil/playlist.m3u8" }
StreamFormat: "hls"
}])
this.player.Play()



this is the website i am trying to create private channels for
http://webcast.gov.in/
as you can see there are links to many channels/content. i am trying to add all of it into channels.
this is what i found out from the page source:
http://webcast.gov.in/StrobeMediaPlayback.swf

is this the correct url for the live stream? am i going in the right direction here?



a webpage url is different than a stream's url. As previously stated, Roku has a limited set of codecs it will play and unfortunately flash is not one of them. You need to specify the url of a compatible stream, that is the actual location of the stream on the server. That info is usually not attainable by simply seeing what it says in the address bar of the browser.
0 Kudos
bollywood
Visitor

Re: How Do I Start Developing a Channel?

so what's the trick to find out their actual stream, as they are using Real Media and windows Media and i see many websites are embedding their live video on their sites.
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam

https://owner.roku.com/add/hawkcam
0 Kudos
stratcat96
Visitor

Re: How Do I Start Developing a Channel?

search the web for a freeware packet sniffer
0 Kudos
bollywood
Visitor

Re: How Do I Start Developing a Channel?

i just did a google search, which one of these do you recommend?

Wireshark

Microsoft Network Monitor

Capsa Packet Sniffer Free

SmartSniff
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam

https://owner.roku.com/add/hawkcam
0 Kudos
stratcat96
Visitor

Re: How Do I Start Developing a Channel?

wireshark is good but very complex in its flexibility. You just need a simple sniffer, try the capsa. All in all its trying out to see what's easiest for you to use
0 Kudos
RokuMarkn
Visitor

Re: How Do I Start Developing a Channel?

"bollywood" wrote:
so what's the trick to find out their actual stream, as they are using Real Media and windows Media


It seems to me that the best approach would be to ask the web site owners how they want you to fetch the data. If you just reverse engineer some solution that happens to work today, it might stop working if they change something on the web site.

--Mark
0 Kudos
bollywood
Visitor

Re: How Do I Start Developing a Channel?

i sent them an email. hopefully someone will respond.

in the meanwhile, just to test, i am going to try to find the stream and create a channel.
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam

https://owner.roku.com/add/hawkcam
0 Kudos