@xylink/xy-rtc-sdk 3.8.0-beta.5 → 3.8.0-beta.6
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/lib/main/client.d.ts +7 -0
- package/lib/type/client.d.ts +22 -0
- package/lib/xyrtc.cjs.js +1 -1
- package/lib/xyrtc.umd.js +1 -1
- package/package.json +1 -1
package/lib/main/client.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export default class Client extends Emitter {
|
|
|
74
74
|
private handStatus;
|
|
75
75
|
private featureConfig;
|
|
76
76
|
private meeting;
|
|
77
|
+
private speakerInfos;
|
|
77
78
|
private onDocumentChange;
|
|
78
79
|
constructor(config: IClientConfig, logger: Logger);
|
|
79
80
|
static instance: Client;
|
|
@@ -598,6 +599,12 @@ export default class Client extends Emitter {
|
|
|
598
599
|
* @param { any } data 媒体消息
|
|
599
600
|
*/
|
|
600
601
|
private onPassThroughMessage;
|
|
602
|
+
/**
|
|
603
|
+
* 处理实时讲话人信息
|
|
604
|
+
*
|
|
605
|
+
* @private
|
|
606
|
+
*/
|
|
607
|
+
private onSpeakerInfoMessage;
|
|
601
608
|
/**
|
|
602
609
|
* 处理contentOnhold
|
|
603
610
|
*
|
package/lib/type/client.d.ts
CHANGED
|
@@ -1302,4 +1302,26 @@ export interface unMuteVideoQueryToast {
|
|
|
1302
1302
|
key: queryType;
|
|
1303
1303
|
value: unMuteVideoQueryToastValue;
|
|
1304
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* 讲话者信息
|
|
1307
|
+
*
|
|
1308
|
+
* @property { string } alias - 别名id
|
|
1309
|
+
* @property { string } name - 讲话者名称
|
|
1310
|
+
* @property { string } pid - pid
|
|
1311
|
+
*
|
|
1312
|
+
*/
|
|
1313
|
+
export interface SpeakersInfoObj {
|
|
1314
|
+
alias: string;
|
|
1315
|
+
name: string;
|
|
1316
|
+
pid: number;
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* 实时讲话人消息体
|
|
1320
|
+
*
|
|
1321
|
+
* @property { speakersInfoObj[] } speakerInfo - 讲话者信息
|
|
1322
|
+
*
|
|
1323
|
+
*/
|
|
1324
|
+
export interface SpeakersInfo {
|
|
1325
|
+
speakerInfo: SpeakersInfoObj[];
|
|
1326
|
+
}
|
|
1305
1327
|
export {};
|