提交 6f2b8d24 authored 作者: José Luis Millán's avatar José Luis Millán

RtpStream: make packetLost/fractionLost protected

上级 874d1941
...@@ -67,8 +67,6 @@ namespace RTC ...@@ -67,8 +67,6 @@ namespace RTC
public: public:
// Stats. // Stats.
uint32_t packetsLost{ 0 };
uint8_t fractionLost{ 0 };
size_t packetsDiscarded{ 0 }; size_t packetsDiscarded{ 0 };
size_t packetsRepaired{ 0 }; size_t packetsRepaired{ 0 };
size_t firCount{ 0 }; size_t firCount{ 0 };
...@@ -96,6 +94,9 @@ namespace RTC ...@@ -96,6 +94,9 @@ namespace RTC
Timer* healthCheckTimer{ nullptr }; Timer* healthCheckTimer{ nullptr };
bool healthy{ true }; bool healthy{ true };
bool notifyHealth{ true }; bool notifyHealth{ true };
// Stats.
uint32_t packetsLost{ 0 };
uint8_t fractionLost{ 0 };
}; };
/* Inline instance methods. */ /* Inline instance methods. */
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论