Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

video.observeField("streamInfo.measuredBItrate", "onFieldChange")

Following code didn't work for me, I wanted to receive call back only when streamBitrate changes

video.observeField("streamInfo.measuredBItrate", "onFieldChange")

I suspect DIY is the right solution.

-- Regards
0 Kudos
1 REPLY 1\
Level 11

Re: video.observeField("streamInfo.measuredBItrate", "onFieldChange")

Ah? What makes you think you can put a contract on a "sub-field" of a node field?

IMHO, the best that one can do is `rsgVideo.observeField("streaminfo", ...)` - though i am not sure if that will ever fire.

Does RSG ever call observers that listen on "read-only" fields?? (Now that's a good question, on the exact meaning of "read-only")
0 Kudos