aliyun-rtc-sdk 6.14.4-beta.4 → 6.14.4-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.
@@ -3132,6 +3132,7 @@ declare interface PublishUser {
3132
3132
  pubid?: string;
3133
3133
  tracks?: TrackInfo[];
3134
3134
  userid: string;
3135
+ sessionid?: string;
3135
3136
  }
3136
3137
 
3137
3138
  declare interface ReconnectData {
@@ -4036,6 +4037,20 @@ declare class SLSReporter {
4036
4037
  private static getLogClient;
4037
4038
  static reportOSSUpload(sessionId: string, date: string, responseCode?: number): void;
4038
4039
  constructor(engine: WrappedAliRtcEngine);
4040
+ private customFields;
4041
+ /**
4042
+ * 设置通用字段
4043
+ * @param fields 字段键值对
4044
+ */
4045
+ setCustomFields(fields: {
4046
+ [key: string]: any;
4047
+ }): void;
4048
+ /**
4049
+ * 获取通用字段
4050
+ * @param key 字段键
4051
+ * @returns 字段值或undefined
4052
+ */
4053
+ getCustomField(key: string): any;
4039
4054
  /**
4040
4055
  * 开始建立连接
4041
4056
  * @param authInfo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aliyun-rtc-sdk",
3
- "version": "6.14.4-beta.4",
3
+ "version": "6.14.4-beta.6",
4
4
  "type": "module",
5
5
  "description": "rtc web sdk of aliyun",
6
6
  "main": "dist/aliyun-rtc-sdk.umd.js",