Forum Discussion
fortscan
15 years agoVisitor
Hi,
Thank you very much for your quick reply, we appreciate it.
We are familiar with the XML examples. The feature we weren't able to find was how to define the proper XML "media" settings so that the function parse_show_feed could fecth all the "StreamURL" values and build the corresponding array to be mapped to "StreamURLs". We needed this because we will begin implementing 4 different bitrates for all of our videos at CDN level (i.e. 600k, 1000k, 1500k, 2000k).
After searching a lot we found the answe to our own question. Just in case it's useful for someone else reading this post, the proper way of including additional StreamURL links, tied to specific StreamBitrate and StreamQuality, directly at the XML level, so that parse_show_feed (like in showFeed.brs from videoplayer example) can fetch it and build the corresponding array was to extra "media" blocks, like the following:
Everything inside the beginning and ending "item" tags defining the content.
Thanks.
Thank you very much for your quick reply, we appreciate it.
We are familiar with the XML examples. The feature we weren't able to find was how to define the proper XML "media" settings so that the function parse_show_feed could fecth all the "StreamURL" values and build the corresponding array to be mapped to "StreamURLs". We needed this because we will begin implementing 4 different bitrates for all of our videos at CDN level (i.e. 600k, 1000k, 1500k, 2000k).
After searching a lot we found the answe to our own question. Just in case it's useful for someone else reading this post, the proper way of including additional StreamURL links, tied to specific StreamBitrate and StreamQuality, directly at the XML level, so that parse_show_feed (like in showFeed.brs from videoplayer example) can fetch it and build the corresponding array was to extra "media" blocks, like the following:
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1000</streamBitrate>
<streamUrl>http://video_encoded_at_1000k.mp4</streamUrl>
</media>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://video_encoded_at_1500k.mp4</streamUrl>
</media>
(...)
Everything inside the beginning and ending "item" tags defining the content.
Thanks.