@xylink/xy-rtc-sdk 2.0.5 → 2.0.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.
@@ -112,6 +112,11 @@ export default class Client extends Emmitter {
112
112
  getOnHold(): boolean;
113
113
  getLayoutList(): Map<string, ILayout> | undefined;
114
114
  getSelfRoster(): IRoster | undefined;
115
+ /**
116
+ * 退会时 重置初始化参数
117
+ *
118
+ */
119
+ resetInitParameter(): void;
115
120
  setContentMode(mode: IContentMode): void;
116
121
  /**
117
122
  * 切换显示/隐藏 Local 画面
@@ -31,6 +31,7 @@ export default class Peer {
31
31
  private isShareContent;
32
32
  private senderInterval;
33
33
  private isResendContentOffer;
34
+ private isRestartIceConnection;
34
35
  constructor(client: Client, stream: Stream);
35
36
  getInternels(): IInternels;
36
37
  /**
@@ -129,7 +130,7 @@ export default class Peer {
129
130
  *
130
131
  * @public
131
132
  */
132
- restartIceConnection(): Promise<void>;
133
+ restartIceConnection(isRestartIceConnection?: boolean): Promise<void>;
133
134
  /**
134
135
  * 关闭PeerConnection连接、销毁状态
135
136
  */
@@ -4,7 +4,7 @@
4
4
  * @authors Luo-jinghui (luojinghui424@gmail.com)
5
5
  * @date 2019-10-24 14:06:05
6
6
  */
7
- export declare const version = "2.0.5 - build on 2022-01-27 14:43";
7
+ export declare const version = "2.0.6 - build on 2022-05-19 13:58";
8
8
  export declare const proxy: {
9
9
  wssHost: string;
10
10
  restHost: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylink/xy-rtc-sdk",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "XYRTC SDK(小鱼易连web音视频 sdk)",
5
5
  "keywords": [
6
6
  "webrtc",