We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a67866 commit 23e0abdCopy full SHA for 23e0abd
src/Rtp/RtpProcess.cpp
@@ -281,13 +281,13 @@ toolkit::EventPoller::Ptr RtpProcess::getOwnerPoller(MediaSource &sender) {
281
return _sock ? _sock->getPoller() : nullptr;
282
}
283
284
-void RtpProcess::setHelper(const std::weak_ptr<RtcpContext> help){
+void RtpProcess::setHelper(std::weak_ptr<RtcpContext> help) {
285
_help = std::move(help);
286
287
288
-int RtpProcess::getLossRate(MediaSource &sender, TrackType type){
+int RtpProcess::getLossRate(MediaSource &sender, TrackType type) {
289
auto help = _help.lock();
290
- if(!help){
+ if (!help) {
291
return -1;
292
293
auto expected = help->getExpectedPacketsInterval();
0 commit comments