@hysc/meeting 10.0.33 → 10.0.34

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
+ import * as lodash_es from 'lodash-es';
1
2
  import * as _hysc_brtc from '@hysc/brtc';
2
3
  import { LocalStream, RemoteStream, Device, SubscribeOptions, VideoProfile, AudioHint, StreamCodecOption } from '@hysc/brtc';
3
- import * as lodash_es from 'lodash-es';
4
4
  import BCClient, { BCUser, ShareMediaOptions, Player, AudioPlayer } from '@hysc/core';
5
5
  import { BehaviorSubject, Subject } from 'rxjs';
6
6
  import { BoomError } from '@hysc/utils';
@@ -1824,14 +1824,7 @@ declare class BMRoom {
1824
1824
  /**
1825
1825
  * 初始化输入设备
1826
1826
  */
1827
- initDevices(): Promise<{
1828
- videoDevices: Device[];
1829
- audioDevices: Device[];
1830
- audioOutputDevices: Device[];
1831
- selectVideoDevice: Device | null;
1832
- selectAudioDevice: Device | null;
1833
- selectAudioOutputDevice: Device | null;
1834
- }>;
1827
+ initDevices(): Promise<any>;
1835
1828
  /**
1836
1829
  * 筛选出默认选中的设备,如果没有,选择第一个
1837
1830
  * @param devices
@@ -1840,7 +1833,7 @@ declare class BMRoom {
1840
1833
  /**
1841
1834
  * 处理用户设备变化之后的逻辑
1842
1835
  */
1843
- handleMediaDevicesChange: lodash_es.DebouncedFunc<(event: any) => Promise<void>>;
1836
+ handleMediaDevicesChange: () => Promise<void>;
1844
1837
  setSelectAudioDevice(device: Device): void;
1845
1838
  setSelectVideoDevice(device: Device): void;
1846
1839
  setSelectSpeakerDevice(device: Device): void;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ import * as lodash_es from 'lodash-es';
1
2
  import * as _hysc_brtc from '@hysc/brtc';
2
3
  import { LocalStream, RemoteStream, Device, SubscribeOptions, VideoProfile, AudioHint, StreamCodecOption } from '@hysc/brtc';
3
- import * as lodash_es from 'lodash-es';
4
4
  import BCClient, { BCUser, ShareMediaOptions, Player, AudioPlayer } from '@hysc/core';
5
5
  import { BehaviorSubject, Subject } from 'rxjs';
6
6
  import { BoomError } from '@hysc/utils';
@@ -1824,14 +1824,7 @@ declare class BMRoom {
1824
1824
  /**
1825
1825
  * 初始化输入设备
1826
1826
  */
1827
- initDevices(): Promise<{
1828
- videoDevices: Device[];
1829
- audioDevices: Device[];
1830
- audioOutputDevices: Device[];
1831
- selectVideoDevice: Device | null;
1832
- selectAudioDevice: Device | null;
1833
- selectAudioOutputDevice: Device | null;
1834
- }>;
1827
+ initDevices(): Promise<any>;
1835
1828
  /**
1836
1829
  * 筛选出默认选中的设备,如果没有,选择第一个
1837
1830
  * @param devices
@@ -1840,7 +1833,7 @@ declare class BMRoom {
1840
1833
  /**
1841
1834
  * 处理用户设备变化之后的逻辑
1842
1835
  */
1843
- handleMediaDevicesChange: lodash_es.DebouncedFunc<(event: any) => Promise<void>>;
1836
+ handleMediaDevicesChange: () => Promise<void>;
1844
1837
  setSelectAudioDevice(device: Device): void;
1845
1838
  setSelectVideoDevice(device: Device): void;
1846
1839
  setSelectSpeakerDevice(device: Device): void;