dingrtc 3.9.8 → 3.9.10
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.ts +11 -5
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +3 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1661,7 +1661,6 @@ declare class PeerConnectionMonitor extends Monitor {
|
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
1663
|
declare class MixedLocalAudioTrack extends EventEmitter<ITrackEvent> {
|
|
1664
|
-
private audioContext;
|
|
1665
1664
|
private _micAudioTrack;
|
|
1666
1665
|
private _screenAudioTrack;
|
|
1667
1666
|
private mixedAudioTrackResult;
|
|
@@ -1670,6 +1669,8 @@ declare class MixedLocalAudioTrack extends EventEmitter<ITrackEvent> {
|
|
|
1670
1669
|
private _trackId;
|
|
1671
1670
|
private logger;
|
|
1672
1671
|
trackMediaType: string;
|
|
1672
|
+
protected audioContext: AudioContext;
|
|
1673
|
+
private selfMicMutedProperty;
|
|
1673
1674
|
constructor(serviceManager: ServiceManager);
|
|
1674
1675
|
getTrackId(): string;
|
|
1675
1676
|
getScreenAudioTrack(): LocalAudioTrack;
|
|
@@ -1682,6 +1683,7 @@ declare class MixedLocalAudioTrack extends EventEmitter<ITrackEvent> {
|
|
|
1682
1683
|
private micTrackEventHandler;
|
|
1683
1684
|
private screenAudioTrackEventHandler;
|
|
1684
1685
|
private _audioTrackInnerEventHandler;
|
|
1686
|
+
setSelfMicMutedProperty(currentMicMuted: boolean): void;
|
|
1685
1687
|
private notifyMicDeviceMuted;
|
|
1686
1688
|
/**
|
|
1687
1689
|
* 跟mic状态含义和逻辑略有不同。
|
|
@@ -2470,6 +2472,10 @@ declare class ServiceManager extends EventEmitter<ChannelEvens> {
|
|
|
2470
2472
|
*/
|
|
2471
2473
|
private processingSubParamsMap;
|
|
2472
2474
|
private static subAcc;
|
|
2475
|
+
/**
|
|
2476
|
+
* 方便查询当前join信息
|
|
2477
|
+
*/
|
|
2478
|
+
joinInfo: JoinParam;
|
|
2473
2479
|
constructor(client: DingRTCClient, reporter: Reporter);
|
|
2474
2480
|
private getSubTraceId;
|
|
2475
2481
|
get publishedLocalTracks(): LocalTrack[];
|
|
@@ -2710,6 +2716,10 @@ interface JoinParam {
|
|
|
2710
2716
|
* @param token 用于鉴权的 token
|
|
2711
2717
|
*/
|
|
2712
2718
|
token: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* @param initMicMuted join时通知其他人本人的 mic 是否 mute。默认为true,后续发布 audio track 后更新状态会通知中其他人
|
|
2721
|
+
*/
|
|
2722
|
+
initMicMuted?: boolean;
|
|
2713
2723
|
}
|
|
2714
2724
|
/**
|
|
2715
2725
|
* sdk 连接状态
|
|
@@ -3229,10 +3239,6 @@ declare class Track extends EventEmitter<ITrackEvent> {
|
|
|
3229
3239
|
* @internal
|
|
3230
3240
|
*/
|
|
3231
3241
|
protected sourceNode: MediaStreamAudioSourceNode;
|
|
3232
|
-
/**
|
|
3233
|
-
* @internal
|
|
3234
|
-
*/
|
|
3235
|
-
protected audioContext: AudioContext;
|
|
3236
3242
|
/**
|
|
3237
3243
|
* @internal
|
|
3238
3244
|
*/
|