InputSource

Supported Hardware Devices: Pro Capture cards, USB Capture devices

Contents Demonstrated in the Sample:

  1. Retrieving audio and video input source information
  2. Channel selection via command parameters when multiple devices are available

Call Logic:

  1. Obtain version information, initialize, and enumerate devices: MWGetVersion, MWCaptureInitInstance, MWRefreshDevice, MWGetChannelCount
  2. Open the device:
    1. Open the device specified by command parameters: MWOpenChannel
    2. When no device is specified in command parameters, open the first available channel by default: MWGetDevicePath, MWOpenChannelByPath
  3. Retrieve channel information: MWGetChannelInfo
  4. Retrieve video input array and video input source: MWGetVideoInputSourceArray, MWGetVideoInputSource
  5. Retrieve audio input array and audio input source: MWGetAudioInputSourceArray, MWGetAudioInputSource
  6. Release resources: MWCloseChannel, MWCaptureExitInstance

Result:

Result

Flowchart:

InputSource Flowchart

results matching ""

    No results matching ""

    results matching ""

      No results matching ""