rtsp拉流、rtp单端口推流新增支持获取丢包率: #1877

This commit is contained in:
xiongziliang
2022-09-03 15:53:01 +08:00
parent cd269672a5
commit 20f1275c58
12 changed files with 35 additions and 40 deletions

View File

@@ -89,7 +89,7 @@ public:
* 获取丢包率只支持rtsp
* @param type 音频或视频TrackInvalid时为总丢包率
*/
virtual float getPacketLossRate(TrackType type) const { return 0; };
virtual float getPacketLossRate(TrackType type) const { return -1; };
/**
* 获取所有track