Your Digital Media Has Never Looked So Good

Search found 465 matches

by RokuNB
Wed Apr 26, 2017 11:31 am
Forum: Roku Developer Program
Topic: Performance of creating ContentNode v. roArray/roAA
Replies: 8
Views: 1104

Re: Performance of creating ContentNode v. roArray/roAA

- The initial roAA won't be able to contain functional fields, unlike creating a custom node directly. This is the key benefit we've been looking for. If only RSG has first-class function support. Not only initial roAA but in general RSG node fields currently cannot contain 1st-class function refer...
by RokuNB
Wed Apr 26, 2017 11:25 am
Forum: Roku Developer Program
Topic: Performance of creating ContentNode v. roArray/roAA
Replies: 8
Views: 1104

Re: Performance of creating ContentNode v. roArray/roAA

There is a new API in 7.6 that I'm hopeful will address this:  ifSGNodeField.update .  In my experience, anything that can be done natively (vs. in BRS code) is a huge performance boost.  ifSGNodeField.update should be able to take ParseJSON output and convert it into a node tree in one call. I don...
by RokuNB
Wed Apr 26, 2017 11:08 am
Forum: Roku Developer Program
Topic: RAF doesn't clear ad when back button pressed during ad
Replies: 9
Views: 825

Re: RAF doesn't clear ad when back button pressed during ad

Can you provide some more detail on how you are using RAF?
You are doing SSAI (server-side ad stitching)?
Is that in "RSG mode", running event loop in a Task - or in some other way (e.g. SDK1/roVideoPlayer, event loop in main etc)?
If you can post code snippets, that may help as well.
by RokuNB
Tue Apr 25, 2017 5:35 pm
Forum: Roku Developer Program
Topic: Roku developer support form is broken
Replies: 1
Views: 457

Re: Roku developer support form is broken

Try the form again, i tested it works now
by RokuNB
Tue Apr 25, 2017 3:29 pm
Forum: Roku Developer Program
Topic: Performance of creating ContentNode v. roArray/roAA
Replies: 8
Views: 1104

Re: Copy of Brightscript object being created when using assignment operator.

I wonder if Roku is aware of this performance, and if this is going to be optimized in the future. No matter how you look at it, if you need to pass a lot of arbitrary data around, it's either going to be a bit slow to create the roSGNodes to use as a reference, or you end up running into performan...
by RokuNB
Mon Apr 24, 2017 1:22 pm
Forum: Roku Developer Program
Topic: Update 7.6 2720X-Roku 2
Replies: 8
Views: 1036

Re: Update 7.6 2720X-Roku 2

A (well-constructed) channel that worked on 7.5 should work as well with 7.6. We go over great pains to ensure compatibility with the existing apps but a fact of life is that with each new version some apps would be unintentionally affected. No, i am not aware of why "an RSG app" would not...
by RokuNB
Mon Apr 24, 2017 9:55 am
Forum: Roku Developer Program
Topic: Copy of Brightscript object being created when using assignment operator.
Replies: 11
Views: 1686

Re: Copy of Brightscript object being created when using assignment operator.

Also, if I am using Node/ContentNode, am I correct in assuming that anything that I want to stay mutable in the nested structure which is not an intrinsic type should also be a Node/ContentNode? That's what i said - yes. You can work around (of sorts) to that if you really, really want to by re-ass...
by RokuNB
Sat Apr 22, 2017 4:46 pm
Forum: Roku Developer Program
Topic: Video fails on v7.6 Roku 3 devices
Replies: 2
Views: 721

Re: Video fails on v7.6 Roku 3 devices

Does it happen always (reliably reproducible) or sometimes? Does removing the DRM have effect? Using different server/location? Is correctly set for smooth streaming, .StreamFormat="ism" ? Anything interesting with the network? Strange http codes, multiple connections - contrast and compar...
by RokuNB
Sat Apr 22, 2017 4:26 pm
Forum: Roku Developer Program
Topic: Copy of Brightscript object being created when using assignment operator.
Replies: 11
Views: 1686

Re: Copy of Brightscript object being created when using assignment operator.

So, if I am getting this correctly, I should use a ContentNode for a field in the scene. Would that be different from using associative array? Would that not be immutable? Or am I completely off base? [...] ContentList is an roArray type. So, while I can change the title, I can't make any chang...
by RokuNB
Thu Apr 20, 2017 7:12 pm
Forum: Roku Developer Program
Topic: Recent firmware release broken SG native keyboard
Replies: 2
Views: 699

Re: Recent firmware release broken SG native keyboard

You mean when using that stock zip in 1080 mode, the keyboards from Dialogs and Widgets submenus dont show up?
I can't reproduce it on my Ultra. Does restart resolve it for you (e.g. if low memory)?
Can somebody else reproduce the issue?
by RokuNB
Thu Apr 20, 2017 6:28 pm
Forum: Roku Developer Program
Topic: RAF: Strange URL requests when using server-side ad stitching
Replies: 1
Views: 428

Re: RAF: Strange URL requests when using server-side ad stitching

Try library as such does not make calls to googlesyndication.com, it must be from the backfilled ad pods.

I don't think you need importAds(), just stitchedAdsInit() - but are you passing the right structure to it? As described in Ad Structure
by RokuNB
Wed Apr 19, 2017 1:03 pm
Forum: Roku Developer Program
Topic: Has anyone integrated RAF2 into the hero-grid template?
Replies: 3
Views: 293

Re: Has anyone integrated RAF2 into the hero-grid template?

Any chance you can capture a screenshot? E.g. with cell phone, upload to imgur.com, then share the URL
by RokuNB
Wed Apr 19, 2017 11:39 am
Forum: Roku Developer Program
Topic: Copy of Brightscript object being created when using assignment operator.
Replies: 11
Views: 1686

Re: Copy of Brightscript object being created when using assignment operator.

The response i have heard has been to use ContentNodes instead, i.e. rebuild your structure using ContentNode (or even Node if no media metadata) as a foundation for your nested structures. And that makes total sense if the data you have is either (a) multimedia item info or (b) will be used for RSG...
by RokuNB
Tue Apr 18, 2017 4:09 pm
Forum: Roku Developer Program
Topic: Centralized onKeyEvent or managing several
Replies: 1
Views: 388

Re: Centralized onKeyEvent or managing several

Your issue is likely not returning `true` at the end of the first handler: The onKeyEvent() function must return true if the XML component handled the event, or false if it did not handle the event. Returning false allows the event to continue bubbling up the focus chain so that ancestors of the XML...
by RokuNB
Tue Apr 18, 2017 4:02 pm
Forum: Roku Developer Program
Topic: Scenegraph Layout simplification?
Replies: 3
Views: 689

Re: Scenegraph Layout simplification?

You can have as many files as you please or as few as your app needs allow. ⋅ There is no need to do subfolders and that's likely counterproductive. ⋅ You need one XML file per each custom component - that is necessary when modifying built-in behavior, e.g. to define `onKeyEvent(...