beautypg.com

BrightSign Object Reference Manual (FW 5.1) User Manual

Page 270

background image

262

o VideoCodec
o AudioPid
o AudioCodec
o SpectralInversion
o ChannelMap
o FirstRfChannel
o LastRfChannel


The last three entries in this array allow you to use the same roArray as a parameter for

Scan()

and

PlayFile()

.

The first and last RF channel values are set to the same value so that only one RF channel will be scanned. This
kind of scan can be performed at the same time as playing the channel because it doesn’t require retuning.

Example
c=CreateObject("roChannelManager")
aa=CreateObject("roAssociativeArray")
aa["ChannelMap"] = "QAM"
aa["FirstRfChannel"] = 10
aa["LastRfChannel"] = 15
c.Scan(aa)

cinfo = CreateObject("roAssociativeArray")
cinfo["ChannelIndex"] = 0
desc = c.CreateChannelDescriptor(cinfo)
print desc

v = CreateObject("roVideoPlayer")
v.PlayFile(desc)