beautypg.com

BrightSign Object Reference Manual (FW 5.1) User Manual

Page 121

background image

113

The following template list specifies a 48KHz audio stream if there is one; otherwise, no audio stream will be played.

Observe that the list is not correctly terminated with a semicolon; in this case, the semi-colon is implicitly supplied.
SetPreferredAudio("freq=48000")

The following template list contains two templates. Note that all patterns within a template must match the stream

description for the entire template to match. In this example, an AAC-encoded English track is preferred; an MP3-
encoded English track is designated as the second option; and any track will be chosen if neither template is
matched.
SetPreferredAudio("codec=aac,lang=eng;codec=mp3,lang=eng;;")