The put_PreferredVideoDevice property sets the preferred video device for video capture. This method sets the video device retrieved in IRTCClient::get_PreferredVideoDevice.
HRESULT put_PreferredVideoDevice( BSTR bstrDeviceName );
- [in] The name of the preferred video device to set.
RTC methods may return an RTC_E_ constant.
|E_INVALIDARG||No such video device.|
|RTC_E_CLIENT_NOT_INITIALIZED||The client has not been initialized.|
The value that this method sets will persist for each user after the application is shut down.
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.