Questions tagged [roku]

"Roku" is a video streaming player and platform, developed and sold by the company "Roku, Inc."

[Roku, Inc.][1] was founded in 2002 by Anthony Wood, the founder of ReplayTV (one of the first DVRs). "Roku" means six in Japanese, a reference to this being the 6th company that Wood has launched.

Roku Inc develops both the hardware and software for the eponymous Roku platform. The company manufactures and sells the [Roku][2] set-top boxes - as well as licenses the platform to manufacturers (e.g. Hisense, TCL, Insignia, Sharp) of "RokuTV" smart TVs.

Development for the Roku platforms is done primarily through BrightScript, a scripting language very similar to Visual Basic. A sister company - BrightSign - uses Brightscript for their commercial sign and display products.

More information can be found at http://www.roku.com

[1] https://en.wikipedia.org/wiki/Roku,_Inc.

[2] https://en.wikipedia.org/wiki/Roku

496 questions
2
votes
1 answer

Brightscript generated signed URLs for CloudFront yield "Access Denied"

I'm working on a Roku channel, and we want to have files hosted in an AWS S3 bucket, with CloudFront to distribute the content. Before considering security, it worked fine. However, now that I'm trying to be mindful of security issues, I'm…
bmbudai
  • 31
  • 4
2
votes
1 answer

Difference between AsyncGetToString and AsyncPostFromString?

I create one web API. and I call in bright-script. I refer https://developer.roku.com/en-gb/docs/references/brightscript/interfaces/ifurltransfer.md#head-as-dynamic/ all the method but don't understand anyone knows its real use for AsyncGetToString…
2
votes
1 answer

Concept of WebView in Roku

Is there any concept of Webview in Roku like android iOS. I just want open web site through URL. In Roku document not Webview related information available.
DEEPAK MITTAL
  • 141
  • 1
  • 1
  • 10
2
votes
2 answers

How to fetch image in Roku BrightScript?

The below Curl returns an image. I am struggling to find Roku equivalent code to fetch an image and display it in poster node. curl -X GET \ …
Naren
  • 1,504
  • 16
  • 19
2
votes
2 answers

"Should" the roku video node be created in task thread always?

The video node can be created in both render thread & task node thread. Is there a mandate on video node to be created only in "task node" thread? From the definition of render thread, it says that render thread must be used to create UI elements &…
Kedar Nath
  • 23
  • 2
2
votes
1 answer

ROKU: open another Scene/Screen from a screen

With the use of Task inside a Scene, we got response from a api. But how to access the response of Task from main.brs? Can we change the scene from a scene in a scenegraph? I could not figure that. Or can we only change the scene from main.brs?
Ajay Paudel
  • 322
  • 1
  • 12
2
votes
2 answers

Roku : Writing to Registry

When writing values to the registry, does this really have to be done using a task Task ? Snippet from https://sdkdocs.roku.com/display/sdkdoc/BrightScript+Support roRegistry : Can only be used in a Task node roRegistrySection : Can only be…
Fabii
  • 3,820
  • 14
  • 51
  • 92
2
votes
2 answers

Playing Multiple Video Nodes at the same Time - Roku SDK

I am trying to overlay two video screens and play them simultaneously, with the audio on one muted. However, it seems like Roku only supports the playback of one Video at a time. Is there any way to play both Video nodes simultaneously? Any help is…
2
votes
2 answers

roku error "The channel code provided is associated with a channel not available in your region."

Can someone please tell me why I suddenly get this error The channel code provided is associated with a channel not available in your region. I have done nothing different, even the channels that have been uploaded last year suddenly show this…
norcal johnny
  • 2,050
  • 2
  • 13
  • 17
2
votes
2 answers

Bring Focus back to the node in roku

Hi I am developing an SDK which shows custom views when user performs some events in the app. I have created xml of those views and had been able to render it via scene. But an issue faced is that when this custom view is shown focus is transferred…
Vaisakh Vinod
  • 267
  • 2
  • 14
2
votes
2 answers

roVideoPlayer is depreciated. Is there any alternate for streaming videos?

In brightscript, roVideoPlayer will have been depreciated from 2019. Is there any alternate for playing streaming videos? I have tried Video as a component but I only see a blank and black screen.
ganka
  • 191
  • 1
  • 11
2
votes
3 answers

How to write global function in brightscript?

I am working for Roku Scene Graph application, I want to write global user defined function which can be use and call any where in my application. is any way? Please suggest.
Balbant Singh
  • 187
  • 1
  • 10
2
votes
3 answers

Roku SceneGraph - check URL for 404

I'm new to Roku coding and I was wondering if there is a simple Function (non-Task Node) that I can use to check and see if a URL is valid or not and then just return a Yay or Nay so I can check a second URL? Thank you
matrixebiz
  • 97
  • 2
  • 10
2
votes
1 answer

Convert time and date from one time zone to another in Roku SG

I have a particular date and time. Now, I want to convert the time according to device current time zone. Basically what I need is an script that, when provided with a time and a timezone can return the time in another time zone. How can I achieve…
Balbant Singh
  • 187
  • 1
  • 10
2
votes
1 answer

Encrypt String Roku BrightScript

Im newbie in BrightScript, I would like to know how to encrypt the string. can you give me an example? This is my code esn = m.constants.deviceSerialID How to encrypt the result of this? i got research but i don't know how to use and how to put…
Jude Bautista
  • 160
  • 1
  • 16