dingrtc 3.8.12-dev.1 → 3.8.12
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 +14 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +4 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1732,7 +1732,7 @@ declare class SessionManager extends EventEmitter<SessionManagerEvent> {
|
|
|
1732
1732
|
handleStuckResubscribe(sessions: Subscription[]): Promise<void>;
|
|
1733
1733
|
private handleResubscribe;
|
|
1734
1734
|
getSessionByStreamId(id: string): Subscription;
|
|
1735
|
-
private
|
|
1735
|
+
private handleResubSuccess;
|
|
1736
1736
|
private handleServerFailover;
|
|
1737
1737
|
private addSession;
|
|
1738
1738
|
private getNetworkQuality;
|
|
@@ -1966,6 +1966,18 @@ declare class User extends EventEmitter {
|
|
|
1966
1966
|
* @internal
|
|
1967
1967
|
*/
|
|
1968
1968
|
getRemoteVideoTrack(session: Subscription, auxiliary?: boolean): RemoteVideoTrack;
|
|
1969
|
+
toJSON: () => {
|
|
1970
|
+
userId: string;
|
|
1971
|
+
userName: string;
|
|
1972
|
+
hasAuxiliary: boolean;
|
|
1973
|
+
hasVideo: boolean;
|
|
1974
|
+
hasAudio: boolean;
|
|
1975
|
+
joinedTime: number;
|
|
1976
|
+
properties: any;
|
|
1977
|
+
audioMuted: boolean;
|
|
1978
|
+
auxiliaryMuted: boolean;
|
|
1979
|
+
videoMuted: boolean;
|
|
1980
|
+
};
|
|
1969
1981
|
}
|
|
1970
1982
|
|
|
1971
1983
|
/**
|
|
@@ -3564,6 +3576,7 @@ declare class RemoteTrack extends Track {
|
|
|
3564
3576
|
private onFirstFrame;
|
|
3565
3577
|
/**
|
|
3566
3578
|
* @internal
|
|
3579
|
+
* @deprecated 看起来这个方法是专用用于监听 音频首帧? 标记了内部但是又没有使用?
|
|
3567
3580
|
*/
|
|
3568
3581
|
attachSubscription(subscription: Subscription): void;
|
|
3569
3582
|
}
|