Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
isaacnewton3108
Reel Rookie

CDN switching using CdnConfig attribute

I am unable to get the 'CDN switching' feature working. The developer page https://developer.roku.com/en-gb/docs/developer-program/getting-started/architecture/content-metadat... describes the feature and cdnconfig attribute and I am using the mandatory parameters Priority and Weight described in the example on the same page. I assigned priority 1 and 2 to the two content URLs, with an equal weight of 50 to each of them. However, in my testing, I can’t get the Roku device to automatically switch CDN (or IP address) when I block the ongoing download IP address.

Once one of the two sources was selected, the Roku device stuck to that one until rebooted. When the playback from selected source was blocked, the Roku device didn't attempt to move over to the other source. The playback was just frozen.

Has anyone got this feature working? I can't find any sample code showing how to use it. Any help on how to get this feature working is highly appreciated. Thanks!

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.