hy-rtc-core-v3 3.19.4 → 3.19.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.
@@ -93,6 +93,7 @@ declare class Room {
93
93
  defaultMuted: boolean;
94
94
  eventMark: string | undefined;
95
95
  businessType?: string;
96
+ isDestroy: boolean;
96
97
  constructor({ eventEmit }: {
97
98
  eventEmit: EventEmitter<any>;
98
99
  });
@@ -241,6 +242,8 @@ declare class Room {
241
242
  setBusinessType(businessType?: string): this;
242
243
  cleanVideoStatusMonitor(element: HTMLVideoElement): void;
243
244
  cleanAllVideoStatusMonitor(): void;
245
+ clearSubscribeRommEventTopic(): void;
246
+ clearRommProduceAndConsume(): Promise<void>;
244
247
  destroyRoom(reject?: (reason?: any) => void, reason?: {
245
248
  messageContent: {
246
249
  code: JoinRoomEventCode;
@@ -424,7 +424,7 @@ export interface joinFlvMonitorArgs {
424
424
  export interface publishSipPhoneCallArgs {
425
425
  deviceId: string;
426
426
  gatewayId?: string;
427
- roomId?: string;
427
+ room: Room;
428
428
  callback?: callbackFunction;
429
429
  onEvent?: OnEvent;
430
430
  }
@@ -445,7 +445,7 @@ export interface joinSipPhoneCallArgs {
445
445
  }
446
446
  export interface publishSipVideoCallArgs {
447
447
  deviceId: string;
448
- roomId?: string;
448
+ room: Room;
449
449
  callback?: callbackFunction;
450
450
  onEvent?: OnEvent;
451
451
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-rtc-core-v3",
3
- "version": "3.19.4",
3
+ "version": "3.19.6",
4
4
  "description": "hy-rtc-core V3",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",