TRTCDeviceInfo

TRTCDeviceInfo

Audio/Video device information

Constructor

new TRTCDeviceInfo(deviceId, deviceName, deviceProperties)

Parameters:
Name Type Description
deviceId String

device PID (UTF-8)

deviceName String

device name (UTF-8)

deviceProperties Object

device properties

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

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