trtc-electron-sdk 11.4.503-beta.4 → 11.4.503-beta.5
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/liteav/trtc.d.ts +1 -0
- package/liteav/trtc.js +4 -0
- package/package.json +1 -1
package/liteav/trtc.d.ts
CHANGED
package/liteav/trtc.js
CHANGED
|
@@ -2381,6 +2381,10 @@ class TRTCCloud extends events_1.EventEmitter {
|
|
|
2381
2381
|
stopLocalRecording() {
|
|
2382
2382
|
this.rtcCloud.stopLocalRecording();
|
|
2383
2383
|
}
|
|
2384
|
+
setVideoRenderingFPS(fps) {
|
|
2385
|
+
const valid_fps = fps >= 5 ? fps : 5;
|
|
2386
|
+
this.rtcCloud.setVideoRenderingFPS(valid_fps);
|
|
2387
|
+
}
|
|
2384
2388
|
/////////////////////////////////////////////////////////////////////////////////
|
|
2385
2389
|
//
|
|
2386
2390
|
// (四)音频相关接口函数
|