简体   繁体   中英

roUrlTransfer in BrightScript

I am creating my own channel for Roku. I need to get the streams of my videos and images from a JSON file from a server. I found a couple of examples of how to do that using roUrlTransfer component, but all those examples tell that you need to have a web service first to get the JSON or xml file from it, and I'm not really familiar with creating web services. Can I just put a JSON file on my server and get that using roUrlTransfer instead of having a web service to generate that file for me?

Yes, as long as the url is accessible to the Roku, you can host it as a static json or xml file. You don't need a full blown web service.

In fact, a significant number of the channels available on the Roku are driven by static MRSS feeds.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM