@rongcloud/plugin-rtc 5.6.13 → 5.6.15
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 +8 -1
- package/dist/index.esm.js +401 -402
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,7 +93,10 @@ declare enum RCRTCCode {
|
|
|
93
93
|
SYSTEM_PERMISSION_DENIED = 53033,
|
|
94
94
|
/** 发布时无有效资源,如 track 已被销毁 */
|
|
95
95
|
PUBLISH_TRACKS_IS_INVALID = 53034,
|
|
96
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated
|
|
98
|
+
* 流状态为 ended
|
|
99
|
+
*/
|
|
97
100
|
TRACK_READYSTATE_IS_ENDED = 53035
|
|
98
101
|
}
|
|
99
102
|
|
|
@@ -1334,6 +1337,10 @@ interface IRCTrackStat {
|
|
|
1334
1337
|
* @description 下行数据中,同道流中只有一个 track 会有值,另一轨道数据值为 `0`
|
|
1335
1338
|
*/
|
|
1336
1339
|
jitter: number | null;
|
|
1340
|
+
/**
|
|
1341
|
+
* 往返时延
|
|
1342
|
+
*/
|
|
1343
|
+
rtt?: number | null;
|
|
1337
1344
|
}
|
|
1338
1345
|
/**
|
|
1339
1346
|
* peerConnection 抛出给用户的 iceCandidatePair 字段
|