trtc-sdk-v5 5.0.2-beta.1 → 5.1.0-beta.2
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/index.d.ts +1 -4
- package/package.json +1 -1
- package/trtc.esm.js +51 -49
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -71,9 +71,6 @@
|
|
|
71
71
|
small?: boolean;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
declare interface UpdateRemoteVideoConfig extends Omit<RemoteVideoConfig, 'view'> {
|
|
75
|
-
view?: string | HTMLElement | HTMLElement[] | null;
|
|
76
|
-
}
|
|
77
74
|
declare interface StopRemoteVideoConfig {
|
|
78
75
|
userId: string;
|
|
79
76
|
streamType?: TRTCStreamType;
|
|
@@ -1151,7 +1148,7 @@
|
|
|
1151
1148
|
* await trtc.updateRemoteVideo(config);
|
|
1152
1149
|
* @memberof TRTC
|
|
1153
1150
|
*/
|
|
1154
|
-
updateRemoteVideo(config:
|
|
1151
|
+
updateRemoteVideo(config: RemoteVideoConfig): Promise<void>;
|
|
1155
1152
|
/**
|
|
1156
1153
|
* 用于停止远端视频播放。<br>
|
|
1157
1154
|
* @param {object} config - 远端视频配置
|