Forum Discussion
onevoisses
14 years agoVisitor
So its beer time now and let me impart what I did.
- For testing I configure a local server with apache based on a popular linux distribution
For development I am using a Roku 2 XD
For Playback I am using a Roku 2 XS (optional)
Remotely I have a few friends that I Introduce to Roku looking at my Private Channel (optional)
I have a PC with Linux desktop install (try mint if you are a beginner)
My Router is a 54g
First I went in the in appVideo.brs and turn on the print statement at this line
Step 1.
'Uncomment his line to dump the contents of the episode to be played
' PrintAA(episode)
Use it to Troubleshoot your stream.,I would say turn it back off (comment it back) when you have locate the problem.
Mine was that I had network problem. It worked fine for the simple Videoplayer and Custom Videoplayer.
My thoughts is that if you are going to test hls, you need the bandwidth its time to ditch the 54g routers and upgrade go for 300N.They are design for streaming.
I would suggest invest in a private personal server with webhosting for testing.Use the cloud for production.
Step 2. turn on the debug logs.I found I had an uninitialised variable.This was caused by my reading of this
viewtopic.php?f=34&t=27612 and using this statement
episode.StreamFormat = episode.StreamFormats[0] in the appVideoplayer
the streamsformat have being fixed in the development kit ,it was only a fixed,it will brick your development.
I placed an elseif statement in the appshowfeed.brs to parse the feed formats for deciding wether its mp4 or hls
Step 3. follow your streams path
RokuMarkn suggest that “First thing would be to print rsp to make sure it contains what you think it contains.” this is in the appshowfeeds.brs
it what help me to find out the problem in Step 2.
Step 4. Do not be afraid to start over but made sure you have the latest development kit relevant to the environment you are developing with I am Using 2.9 there is a beta but not yet for me a beginner.
Step 5 .Grab some coffee, put the beer on Ice and read about the “snake” at the bottom of the
brightscript manual. and Read read read read.( I never read the manuals I just want the product to play).Not so Here
Best of luck and thanks to
RokuMarkn,RokuChris and destruk and of course Customer Service,I am getting my player that was never delivered.I am making it an early christmas present.Do not be cynical I am getting it for sure.Fedex told me.
- For testing I configure a local server with apache based on a popular linux distribution
For development I am using a Roku 2 XD
For Playback I am using a Roku 2 XS (optional)
Remotely I have a few friends that I Introduce to Roku looking at my Private Channel (optional)
I have a PC with Linux desktop install (try mint if you are a beginner)
My Router is a 54g
First I went in the in appVideo.brs and turn on the print statement at this line
Step 1.
'Uncomment his line to dump the contents of the episode to be played
' PrintAA(episode)
Use it to Troubleshoot your stream.,I would say turn it back off (comment it back) when you have locate the problem.
Mine was that I had network problem. It worked fine for the simple Videoplayer and Custom Videoplayer.
My thoughts is that if you are going to test hls, you need the bandwidth its time to ditch the 54g routers and upgrade go for 300N.They are design for streaming.
I would suggest invest in a private personal server with webhosting for testing.Use the cloud for production.
Step 2. turn on the debug logs.I found I had an uninitialised variable.This was caused by my reading of this
viewtopic.php?f=34&t=27612 and using this statement
episode.StreamFormat = episode.StreamFormats[0] in the appVideoplayer
the streamsformat have being fixed in the development kit ,it was only a fixed,it will brick your development.
I placed an elseif statement in the appshowfeed.brs to parse the feed formats for deciding wether its mp4 or hls
Step 3. follow your streams path
RokuMarkn suggest that “First thing would be to print rsp to make sure it contains what you think it contains.” this is in the appshowfeeds.brs
it what help me to find out the problem in Step 2.
Step 4. Do not be afraid to start over but made sure you have the latest development kit relevant to the environment you are developing with I am Using 2.9 there is a beta but not yet for me a beginner.
Step 5 .Grab some coffee, put the beer on Ice and read about the “snake” at the bottom of the
brightscript manual. and Read read read read.( I never read the manuals I just want the product to play).Not so Here
Best of luck and thanks to
RokuMarkn,RokuChris and destruk and of course Customer Service,I am getting my player that was never delivered.I am making it an early christmas present.Do not be cynical I am getting it for sure.Fedex told me.