mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 00:47:34 +08:00
rtsp拉流、rtp单端口推流新增支持获取丢包率: #1877
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user