@tencentcloud/tuiroom-engine-electron 2.7.3 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1212,7 +1212,7 @@ declare class TUIRoomDeviceManager {
1212
1212
  */
1213
1213
  getCurrentDevice(options: {
1214
1214
  type: TUIMediaDeviceType;
1215
- }): TUIDeviceInfo;
1215
+ }): TUIDeviceInfo | undefined;
1216
1216
  /**
1217
1217
  * 开始进行摄像头测试
1218
1218
  * @param {object} options 摄像头测试参数
@@ -2927,7 +2927,7 @@ declare class TUIRoomEngine {
2927
2927
  * console.info("mic deviceName: " + mic.deviceName + " deviceId:" + mic.deviceId);
2928
2928
  * }
2929
2929
  */
2930
- getMicDevicesList(): Promise<any>;
2930
+ getMicDevicesList(): Promise<TRTCDeviceInfo[]>;
2931
2931
  /**
2932
2932
  * 获取扬声器设备列表<br>
2933
2933
  * @returns {Promise<TRTCDeviceInfo[]>} 扬声器列表
@@ -2939,7 +2939,7 @@ declare class TUIRoomEngine {
2939
2939
  * console.info("speaker deviceName: " + speaker.deviceName + " deviceId:" + speaker.deviceId);
2940
2940
  * }
2941
2941
  */
2942
- getSpeakerDevicesList(): Promise<any>;
2942
+ getSpeakerDevicesList(): Promise<TRTCDeviceInfo[]>;
2943
2943
  /**
2944
2944
  * 设置要使用的摄像头设备<br>
2945
2945
  * @param {Object} options