larksr_websdk 3.3.114 → 3.3.115

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.
@@ -96,6 +96,7 @@ export default class Application extends EventBase<APP_EVENT_TYPE, AppEvent> {
96
96
  releaseSharePc(): void;
97
97
  closeSharePc(): void;
98
98
  clear(): void;
99
+ closeDataChannel(): void;
99
100
  changeOperater(uid: number): void;
100
101
  inputText(text: string): void;
101
102
  sendTextToDataChannel(text: string): void;
@@ -129,6 +129,8 @@ export default class PeerConnection extends EventBase<WEBRTC_EVENT_TYPE, WebRTCE
129
129
  private packetQueue;
130
130
  constructor(larksr: LarkSR, config: WebRTCConfig, webcodec: WebCodec);
131
131
  create(streams?: MediaStream | undefined | null, config?: CloudLark.IRTCConfiguration | null | undefined): Promise<void>;
132
+ creatDataChannel(): void;
133
+ closeDataChannel(): void;
132
134
  createOffer(): void;
133
135
  close(): void;
134
136
  setAudioEnable(enable: boolean): void;
@@ -1006,6 +1006,7 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
1006
1006
  * @param binary 字节消息
1007
1007
  */
1008
1008
  sendBinaryToDataChannel(binary: Uint8Array): void;
1009
+ closeDataChannel(): void;
1009
1010
  /**
1010
1011
  * 手动向iframe外抛出事件
1011
1012
  * 注意一般只在用 iframe 二次集成时才用到
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larksr_websdk",
3
- "version": "3.3.114",
3
+ "version": "3.3.115",
4
4
  "description": "Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://paraversetechnology.github.io/en/webclient_sdk/",
5
5
  "keywords": [
6
6
  "pingxingyun",
@@ -96,6 +96,7 @@ export default class Application extends EventBase<APP_EVENT_TYPE, AppEvent> {
96
96
  releaseSharePc(): void;
97
97
  closeSharePc(): void;
98
98
  clear(): void;
99
+ closeDataChannel(): void;
99
100
  changeOperater(uid: number): void;
100
101
  inputText(text: string): void;
101
102
  sendTextToDataChannel(text: string): void;
@@ -129,6 +129,8 @@ export default class PeerConnection extends EventBase<WEBRTC_EVENT_TYPE, WebRTCE
129
129
  private packetQueue;
130
130
  constructor(larksr: LarkSR, config: WebRTCConfig, webcodec: WebCodec);
131
131
  create(streams?: MediaStream | undefined | null, config?: CloudLark.IRTCConfiguration | null | undefined): Promise<void>;
132
+ creatDataChannel(): void;
133
+ closeDataChannel(): void;
132
134
  createOffer(): void;
133
135
  close(): void;
134
136
  setAudioEnable(enable: boolean): void;
package/types/larksr.d.ts CHANGED
@@ -1006,6 +1006,7 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
1006
1006
  * @param binary 字节消息
1007
1007
  */
1008
1008
  sendBinaryToDataChannel(binary: Uint8Array): void;
1009
+ closeDataChannel(): void;
1009
1010
  /**
1010
1011
  * 手动向iframe外抛出事件
1011
1012
  * 注意一般只在用 iframe 二次集成时才用到