Platform SDK: Broadcast Architecture |
The VideoOn property sets or returns a value indicating whether video is displayed by the Video control. Visual Basic syntax is shown.
object.VideoOn [ = bState ]
Your application can use VideoOn to turn off video when it needs to pass the contents of the current input device to the output device without displaying anything on-screen. For example, your application can use VideoOn if it is scheduling a recording in the background.
To route media data from the device indicated by Input to the device indicated by the BPCVid.Output property without displaying the media data, set VideoOn to False.
Setting VideoOn to False mutes audio output in addition to turning off video. To play audio-only content, set VideoOn to True and set the BPCVid.ImageSourceHeight and BPCVid.ImageSourceWidth properties to zero.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.
BPCVid, BPCVid.ImageSourceHeight, BPCVid.ImageSourceWidth, BPCVid.Input, BPCVid.Output