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: 
dynamitemedia
Binge Watcher

Re: v3.0 Beta SDK available for download

I too had almost the same experience, i tried 8888, 8080, 80

and nothing just retrieving, and there wasn't any readme or anything to give any details or setup. Check the docs as well, in fact this should have its own pdf file i would think.
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
gonzotek
Visitor

Re: v3.0 Beta SDK available for download

Bump. Any official confirmation this is a Roku-side issue, or suggestions to try if it isn't?
"gonzotek" wrote:
I'm trying to run the webserver example. I'm on 3.0 build 2186. It installs correctly, and starts to the screen with "Web Server: Connections" at the top and "Retrieving..." centered. After that I try to browse to the roku ip and port (8888) specified in the code, and I can not connect. Here's the debugger output:
BrightScript Debugger> ------ Running ------
GetXMLConfig: config 'Roku'
Server.fatal: bind(port 8888)
BrightScript Micro Debugger.
Enter any BrightScript statement, debug commands, or HELP.

Current Function:
060: function errx(obj as Object, message as String, code=0 as Integer)
061: dbg(obj, "fatal", message, code)
062: stop
063: end function
STOP (runtime error &hf7) in ...APR5olJ/pkg:/source/utils.brs(62)

062: stop
Backtrace:
Function errx(obj As <uninitialized>, message As , code As Integer) As
file/line: /tmp/plugin/PD...APR5olJ/pkg:/source/utils.brs(63)
Function server_init(params As ) As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/server.brs(54)
Function initserver() As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/server.brs(34)
Function main() As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/main.brs(49)

Local Variables:
obj &h0010 bsc:roAssociativeArray, refcnt=4
message &h8010 bsc:roString (2.1 was String), refcnt=1
code &h0002 Integer val:0
global &h0020 rotINTERFACE:ifGlobal
m &h0010 bsc:roAssociativeArray, refcnt=4
BrightScript Debugger> ------ Running ------
GetXMLConfig: config 'Roku'
Server.fatal: bind(port 8888)
Current Function:
060: function errx(obj as Object, message as String, code=0 as Integer)
061: dbg(obj, "fatal", message, code)
062: stop
063: end function
STOP (runtime error &hf7) in ...APR5olJ/pkg:/source/utils.brs(62)

062: stop
Backtrace:
Function errx(obj As <uninitialized>, message As , code As Integer) As
file/line: /tmp/plugin/PD...APR5olJ/pkg:/source/utils.brs(63)
Function server_init(params As ) As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/server.brs(54)
Function initserver() As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/server.brs(34)
Function main() As
file/line: /tmp/plugin/PDAAAAPR5olJ/pkg:/source/main.brs(49)

Local Variables:
obj &h0010 bsc:roAssociativeArray, refcnt=4
message &h8010 bsc:roString (2.1 was String), refcnt=1
code &h0002 Integer val:0
global &h0020 rotINTERFACE:ifGlobal
m &h0010 bsc:roAssociativeArray, refcnt=4
Could this be something on my end, or are some of the new bits exposed in the sdk still being enabled on the box in upcoming beta builds? I noticed the config.xml points to what appears to be an external drive, while the default brs code points to a pkg:/ file, index.html, that doesn't exist. I've tried changing a few things related to that(plugging in a drive with html files, adding index.html to the pkg), and still get the same message.
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
smlsr
Visitor

Re: v3.0 Beta SDK available for download

Kevin

PM'd you in regards to the issue with live HLS streams, can you let me know if you didnt receive?

shawn
0 Kudos
learner
Channel Surfer

Re: v3.0 Beta SDK available for download

is this code working
Know the Remote Control Codes for special screens:
o Dump Core: Home 5x, Up, Rewind 2x
it says so in the sdk 3 .SOme how i cant make it work?
0 Kudos
RokuKevin
Visitor

Re: v3.0 Beta SDK available for download

learner,

That remote sequence sends a core file to Roku's servers of the firmware. Those cores aren't available to SDK developers....

If you want to see a BrightScript stack in your currently running channel, all you have to do is telnet to port 8085 and hit Ctrl-c to break into the debugger.

--Kevin
0 Kudos
dherbst
Visitor

Re: v3.0 Beta SDK available for download

Hi, I'm new to Roku development, and I have a couple of basic questions about the move to 3.0:

1. If I build my channel app with sdk3.0, does that mean a customer has to upgrade to firmware 3.0 to use my app?

2. Will all Roku boxes auto upgrade to firmware 3.0 once it is released, or does the customer have to choose to upgrade?

3. If upgrading to firmware 3.0 is optional for a customer, what percentage of customers usually upgrade to the newer firmware?
0 Kudos
RokuKevin
Visitor

Re: v3.0 Beta SDK available for download

1. If you use any 3.0 only api's you should set the firmware dependency to v3.0 so that only v3.0 boxes see your app.
2. When we launch v3.0, we will upgrade user's boxes automatically.
3. It is not optional. Rollouts of new firmware generally take about a week to cover all units.

--Kevin
0 Kudos
smlsr
Visitor

Re: v3.0 Beta SDK available for download

Aside from the other issues (which still exist) that I have PM'd to you.

i have noticed the latest 2191 build takes longer to start streams. As you recall the streams I test with are LIVE ENCODED, so maybe its an effect of continuous polling for the M3U8 or something, really not sure, just wanted to make it a point, as for user experiences, slow starting up a video is never good when it can be avoided.

Shawn
0 Kudos

Re: v3.0 Beta SDK available for download

"RokuKevin" wrote:
We’re making the 3.0 Beta firmware available to all developers who request it. If your box isn’t already part of the developer beta group, send a private developer forum message to RokuKevin. Include the serial number of the Roku units you would like to run the 3.0 beta on.

It is very important that all developers regression test their applications on version 3.0 and note any incompatibilities. You may need to publish an update to your application to make it compatible with v3.0.

The SDK can be downloaded here:
http://rokudev.roku.com/roku_sdk_v30_20110420.zip

--Kevin

the sample code for an android remote under the directory: \roku_sdk_v30_20110420\examples\source\ecp_client\android_remote\Roku seems to be missing a Retriever class. I keep getting following error:

Description Resource Path Location Type
Receiver cannot be resolved to a type Remote.java /Remote/src/com/roku/dvp line 70 Java Problem

Is there an updated file I can download?
0 Kudos
mixe
Visitor

Re: v3.0 Beta SDK available for download

I thought that you needed a Andriod phone for this to work as it's Java!
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.