menghao
9 years agoVisitor
Need help from the expert in RoSGNode and Content Node
I created a RoSGNode and I try to set the stream with this value { url : "http://me.com/big.m3u8", quality : true contented : "big-hls" }. It just does not work. Can anybody help me? Thanks.
And I print out the nodeChild.stream, it is invalid. I followed the documentation in here https://sdkdocs.roku.com/display/sdkdoc/Content+Meta-Data , I also tried the
did not work.
node = createObject("RoSGNode","ContentNode")
nodeChild = node.createChild("ContentNode")
nodeChild.stream = { url : "http://me.com/big.m3u8", quality : true, contented : "big-hls" }
And I print out the nodeChild.stream, it is invalid. I followed the documentation in here https://sdkdocs.roku.com/display/sdkdoc/Content+Meta-Data , I also tried the
nodeChild.setField("strean",{ url : "http://me.com/big.m3u8", quality : true, contented : "big-hls" })
did not work.