TIEMediaFoundationSourceReader.SetVideoInput
Declaration
function SetVideoInput(index: Integer): boolean;
function SetVideoInput(const name: WideString): boolean;
Description
Select one of the
VideoInputs devices as the video source.
Parameter | Description |
index | Index of the video input device. Ranges from 0 up to VideoInputs.Count - 1 |
name | Name of the video input device. Must be one of VideoInputs values |
// Select first video input (first webcam)
ImageEnView1.IO.MediaFoundationSourceReader.SetVideoInput(0);
See Also
◼VideoInputs◼SetFileInput◼SetURLInput