if (static_cast<float>((now - this->lastRtcpSentTime) * 1.15) < this->maxRtcpInterval)
return;
// do stuff
this->lastRtcpSentTime = now;
Since the Transport calls this method in a loop for each stream in the consumer (there are 3 in this Pipeconsumer) just the first one is used. The others are ignored because the condition does not match.