TRTCDeviceInfo

TRTCDeviceInfo

Audio/Video device information

Constructor

new TRTCDeviceInfo(deviceId, deviceName, deviceProperties)

Parameters:
Name Type Description
deviceId String required

device PID (UTF-8)

deviceName String required

device name (UTF-8)

deviceProperties Object required

device properties

  • only camera device supported, contains camera capture resolutions supported
Properties
Name Type Description
SupportedResolution Array required

Array of supported capture resolutions. Each array entry is an object with width and height properties and the properties values ara both integer number.

  • Notice: virtual camera not supported