Lines Matching refs:rtcp
54 class PacketContainer : public rtcp::CompoundPacket {
87 PacketSender(rtcp::RtcpPacket::PacketReadyCallback callback, in PacketSender()
96 void AppendPacket(const rtcp::RtcpPacket& packet) { in AppendPacket()
111 const rtcp::RtcpPacket::PacketReadyCallback callback_;
350 if (csrc_cnames_.size() >= rtcp::Sdes::kMaxNumberOfChunks - 1) in AddMixedCNAME()
450 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildSR(const RtcpContext& ctx) { in BuildSR()
469 rtcp::SenderReport* report = new rtcp::SenderReport(); in BuildSR()
477 return std::unique_ptr<rtcp::RtcpPacket>(report); in BuildSR()
480 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildSDES( in BuildSDES()
485 rtcp::Sdes* sdes = new rtcp::Sdes(); in BuildSDES()
491 return std::unique_ptr<rtcp::RtcpPacket>(sdes); in BuildSDES()
494 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildRR(const RtcpContext& ctx) { in BuildRR()
495 rtcp::ReceiverReport* report = new rtcp::ReceiverReport(); in BuildRR()
499 return std::unique_ptr<rtcp::RtcpPacket>(report); in BuildRR()
502 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildPLI(const RtcpContext& ctx) { in BuildPLI()
503 rtcp::Pli* pli = new rtcp::Pli(); in BuildPLI()
509 return std::unique_ptr<rtcp::RtcpPacket>(pli); in BuildPLI()
512 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildFIR(const RtcpContext& ctx) { in BuildFIR()
515 rtcp::Fir* fir = new rtcp::Fir(); in BuildFIR()
521 return std::unique_ptr<rtcp::RtcpPacket>(fir); in BuildFIR()
524 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildREMB( in BuildREMB()
526 rtcp::Remb* remb = new rtcp::Remb(); in BuildREMB()
531 return std::unique_ptr<rtcp::RtcpPacket>(remb); in BuildREMB()
539 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildTMMBR( in BuildTMMBR()
554 std::vector<rtcp::TmmbItem> candidates = in BuildTMMBR()
571 std::vector<rtcp::TmmbItem> bounding = in BuildTMMBR()
584 rtcp::Tmmbr* tmmbr = new rtcp::Tmmbr(); in BuildTMMBR()
586 rtcp::TmmbItem request; in BuildTMMBR()
592 return std::unique_ptr<rtcp::RtcpPacket>(tmmbr); in BuildTMMBR()
595 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildTMMBN( in BuildTMMBN()
597 rtcp::Tmmbn* tmmbn = new rtcp::Tmmbn(); in BuildTMMBN()
599 for (const rtcp::TmmbItem& tmmbr : tmmbn_to_send_) { in BuildTMMBN()
605 return std::unique_ptr<rtcp::RtcpPacket>(tmmbn); in BuildTMMBN()
608 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildAPP(const RtcpContext& ctx) { in BuildAPP()
609 rtcp::App* app = new rtcp::App(); in BuildAPP()
612 return std::unique_ptr<rtcp::RtcpPacket>(app); in BuildAPP()
615 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildLossNotification( in BuildLossNotification()
617 auto loss_notification = std::make_unique<rtcp::LossNotification>( in BuildLossNotification()
626 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildNACK( in BuildNACK()
628 rtcp::Nack* nack = new rtcp::Nack(); in BuildNACK()
642 return std::unique_ptr<rtcp::RtcpPacket>(nack); in BuildNACK()
645 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildBYE(const RtcpContext& ctx) { in BuildBYE()
646 rtcp::Bye* bye = new rtcp::Bye(); in BuildBYE()
650 return std::unique_ptr<rtcp::RtcpPacket>(bye); in BuildBYE()
653 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildExtendedReports( in BuildExtendedReports()
655 std::unique_ptr<rtcp::ExtendedReports> xr(new rtcp::ExtendedReports()); in BuildExtendedReports()
659 rtcp::Rrtr rrtr; in BuildExtendedReports()
664 for (const rtcp::ReceiveTimeInfo& rti : ctx.feedback_state_.last_xr_rtis) { in BuildExtendedReports()
669 rtcp::TargetBitrate target_bitrate; in BuildExtendedReports()
738 rtcp::CompoundPacket* out_packet) { in ComputeCompoundRTCPPacket()
772 std::unique_ptr<rtcp::RtcpPacket> packet_bye; in ComputeCompoundRTCPPacket()
787 std::unique_ptr<rtcp::RtcpPacket> packet = (this->*func)(context); in ComputeCompoundRTCPPacket()
864 std::vector<rtcp::ReportBlock> RTCPSender::CreateReportBlocks( in CreateReportBlocks()
866 std::vector<rtcp::ReportBlock> result; in CreateReportBlocks()
912 void RTCPSender::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { in SetTmmbn()
999 std::vector<std::unique_ptr<rtcp::RtcpPacket>> rtcp_packets) { in SendCombinedRtcpPacket()