Forum Discussion
RokuChris
15 years agoRoku Employee
"evilmax17" wrote:
I understand that StreamURLs/StreamBitrates/etc. all need to be aligned, but does it matter if StreamBitrates is sorted or not?
Should we be adding urls/bitrates in any particular order (high->low, low->high), or does it not matter at all?
The arrays do not need to be sorted in any particular order.
More importantly, the parallel array mechanism has been deprecated since firmware 2.6 and we encourage you to use the streams attribute of the content-meta-data structure instead. The streams attribute should be an array of roAssociativeArrays as documented in section 3.3 of the Component Reference.