roku

Playing Multiple Video Nodes at the same Time - Roku SDK

家住魔仙堡 提交于 2020-01-24 17:51:11
问题 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 appreciated. 回答1: Looks like it may not be possible :( https://forums.roku.com/viewtopic.php?t=112791 回答2: This is not possible. I tried several things to make it work but without any success. So for now this is not an option. 来源: https:/

Navigation concept in Roku

早过忘川 提交于 2020-01-15 10:23:13
问题 I am facing some issue in screen navigation in Roku Brightscript. Please, anyone, help me how I can manage 5-6 screen in my Roku project. I want to navigate from 1 to 2 screen and also want to back from that screen. This is some major issue I have for the last 6 month. I am not able to do it. Some help from your side helps me to understand. Currently, I have tried by following below procedure 1-if I want to go to 2 screens then I will do below part m.top.AppendChild(m.secondscreen) m

Navigation concept in Roku

拟墨画扇 提交于 2020-01-15 10:22:54
问题 I am facing some issue in screen navigation in Roku Brightscript. Please, anyone, help me how I can manage 5-6 screen in my Roku project. I want to navigate from 1 to 2 screen and also want to back from that screen. This is some major issue I have for the last 6 month. I am not able to do it. Some help from your side helps me to understand. Currently, I have tried by following below procedure 1-if I want to go to 2 screens then I will do below part m.top.AppendChild(m.secondscreen) m

Read and write from temp file in Roku

半腔热情 提交于 2020-01-14 09:22:06
问题 In Roku, how do I read and write data from a temporary file in the folder tmp: ? I cannot find any documentation relating to this. The data which I am storing is too big to be stored in the registry. 回答1: There is two simple functions do read and write data from tmp:/ folder: ReadAsciiFile(filepath as String) as String text=ReadAsciiFile("tmp:/config.txt") WriteAsciiFile(filepath as String, text as String) as Boolean WriteAsciiFile("tmp:/config.txt", "the text to write") Further documentation

Difference between AsyncGetToString and AsyncPostFromString?

旧巷老猫 提交于 2020-01-04 05:47:28
问题 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 and AsyncPostFromString method. I use the following code in Roku readInternet = createObject("roUrlTransfer") readInternet.setUrl(url) readInternet.setport(m.port) readInternet.gettostring() timer = createobject("roTimeSpan") timer.Mark()

How do I open another channel from one channel in Roku?

蹲街弑〆低调 提交于 2019-12-29 09:07:16
问题 I am able to use curl to get apps and the apps id from my computer in Roku device. And ultimately, I am able to launch channels using curl from my local computer with e.g. curl -d '' 'http://192.x.x.x:8060/launch/33739' but what I am looking for is doing similar operation where I will have a list of channels and then I should be able to open the channels. In external Control Guide of Roku in http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide it is said that it can be done, but it

How to make api request to some server in roku

匆匆过客 提交于 2019-12-29 04:28:10
问题 I am very much new in working with roku and roku specific language( BasicScript ). I need to make api calls to some server to get the channels. I am not understanding how to do it in roku. Please suggest. 回答1: here is the direct way to do it without having to rely on the syntax of the code libraries that are included in your SDK: Blocking Method (all program execution stops until the URL is retrieved): url="http://myserver.com/anExampleQuery?getmydata&apikey=AX5GZP5LL45D987D0&format=XML" xfer

How to replace a PanelSet using replaceChild in BrightScript

不羁的心 提交于 2019-12-24 10:56:43
问题 I'm using the PanelSet class to create a settings screen made of two panels: panelA on the left-hand side displays a list of overall settings options panelB is displayed on the right-hand side, includes a list of different options for each item on panelA How can I replace the Panel displayed on the right-hand side, when the user changes the focused item on panelA ? Roku's documentation states that you have to use the method replaceChild , but I can't figure out how that's supposed to work, or

Is there any way to display HTML content with its style in Roku SG?

 ̄綄美尐妖づ 提交于 2019-12-24 09:08:15
问题 I want to display HTML content like web in Roku SG. I saw the solution for this problem, I used this solution that tells remove tags and then display only content but I want to display HTML content with its HTML style. Please suggest a solution. 回答1: No. There is no way to display HTML content using brightscript. 来源: https://stackoverflow.com/questions/45608601/is-there-any-way-to-display-html-content-with-its-style-in-roku-sg

Roku - How to use isHD, FullHD, FrameRate parameters?

≡放荡痞女 提交于 2019-12-24 06:39:12
问题 I am trying to play a 1080p@60fps HEVC stream on a Roku-4 device. I am facing some issues and I have explained it in this question - Roku: Playback is not smooth on Roku-4 device for 1080p@60fps HEVC content I looked at the SDK documentation of Roku and found some parameters. I have some questions. 1) isHD: This is a flag to indicate the content is HD. 2) FullHD: This is a flag to indicate 1080p content. 3) FrameRate: To specify content frame rate if content is 1080p. My questions are, 1)