Platform SDK: Broadcast Architecture

BPCVid.VideoOn

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 ]

Parts

object
Object expression that resolves to a BPCVid object.
bState
Boolean expression that is True if multimedia data from the device indicated by the BPCVid.Input property is displayed by the Video control, and False if it is not displayed. True is the default.

Remarks

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.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.

See Also

BPCVid, BPCVid.ImageSourceHeight, BPCVid.ImageSourceWidth, BPCVid.Input, BPCVid.Output