Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jmendoza
Visitor

Problem with DRMPARAMS on ContentNode

Hi!, I'm having problems assigning the drm params to a content node, when I show the content node on console, says that "DRMPARAMS: invalid". Does anyone have the same problem? all the other fields are correct.
Thanks!


This is my code:
           item = createObject("RoSGNode","ContentNode")
            'commented for debugging
            'item.SetFields(itemAA)
            
            item.Actors = itemAA.Actors
            item.Categories = itemAA.Categories
            item.Description = itemAA.Description
            item.Directors = itemAA.Directors            
            item.HdBackgroundImageUrl = itemAA.HdBackgroundImageUrl
            item.HdPosterUrl = itemAA.HdPosterUrl
            item.ReleaseDate = itemAA.ReleaseDate
            item.StreamFormat = itemAA.StreamFormat
            item.Streams = itemAA.Streams
            item.Title = itemAA.Title
            item.Url = itemAA.Url
            item.EncodingKey = itemAA.EncodingKey
            item.EncodingType = itemAA.EncodingType
            
            if itemAA.doesExist("drmParams")
                'info only for demostration
                drmParams = createObject("roAssociativeArray")
                drmParams.name = "Verimatrix"
                drmParams.authDomain = "auth-value-from-streaming-provider"
                drmParams.serializationUrl = "hostname-url-from-streaming-provider"
                
               item.DRMPARAMS = drmParams
                ? "drm on parse"            
                ? item                
            end if         
0 Kudos
1 REPLY 1
jmendoza
Visitor

Re: Problem with DRMPARAMS on ContentNode

Ok, it was firmware related, updated to 9.0 and I can see the array now.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.