Home
last modified time | relevance | path

Searched refs:feedback_state (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc111 RTCPSender::FeedbackState feedback_state() { in feedback_state() function in webrtc::RtcpSenderTest
131 EXPECT_EQ(0, rtcp_sender_->SetSendingStatus(feedback_state(), true)); in TEST_F()
137 EXPECT_EQ(-1, rtcp_sender_->SendRTCP(feedback_state(), kRtcpSr)); in TEST_F()
144 RTCPSender::FeedbackState feedback_state = rtp_rtcp_impl_->GetFeedbackState(); in TEST_F() local
145 rtcp_sender_->SetSendingStatus(feedback_state, true); in TEST_F()
146 feedback_state.packets_sent = kPacketCount; in TEST_F()
147 feedback_state.media_bytes_sent = kOctetCount; in TEST_F()
149 EXPECT_EQ(0, rtcp_sender_->SendRTCP(feedback_state, kRtcpSr)); in TEST_F()
168 RTCPSender::FeedbackState feedback_state = rtp_rtcp_impl_->GetFeedbackState(); in TEST_F() local
169 rtcp_sender_->SetSendingStatus(feedback_state, true); in TEST_F()
[all …]
Drtcp_sender.cc136 RtcpContext(const FeedbackState& feedback_state, in RtcpContext() argument
140 : feedback_state_(feedback_state), in RtcpContext()
222 int32_t RTCPSender::SetSendingStatus(const FeedbackState& feedback_state, in SetSendingStatus() argument
237 return SendRTCP(feedback_state, kRtcpBye); in SetSendingStatus()
241 int32_t RTCPSender::SendLossNotification(const FeedbackState& feedback_state, in SendLossNotification() argument
260 feedback_state, {RTCPPacketType::kRtcpLossNotification}, 0, nullptr); in SendLossNotification()
687 int32_t RTCPSender::SendRTCP(const FeedbackState& feedback_state, in SendRTCP() argument
692 feedback_state, std::set<RTCPPacketType>(&packetType, &packetType + 1), in SendRTCP()
697 const FeedbackState& feedback_state, in SendCompoundRTCP() argument
706 auto result = ComputeCompoundRTCPPacket(feedback_state, packet_types, in SendCompoundRTCP()
[all …]
Drtcp_sender.h74 int32_t SetSendingStatus(const FeedbackState& feedback_state,
108 int32_t SendRTCP(const FeedbackState& feedback_state,
114 int32_t SendCompoundRTCP(const FeedbackState& feedback_state,
120 int32_t SendLossNotification(const FeedbackState& feedback_state,
162 int32_t SendCompoundRTCPLocked(const FeedbackState& feedback_state,
169 const FeedbackState& feedback_state,
177 void PrepareReport(const FeedbackState& feedback_state)
181 const FeedbackState& feedback_state)
/external/webrtc/video/
Dvideo_send_stream_tests.cc961 RTCPSender::FeedbackState feedback_state; in TestNackRetransmission() local
964 feedback_state, kRtcpNack, in TestNackRetransmission()
1178 RTCPSender::FeedbackState feedback_state; in TestPacketFragmentationSize() local
1180 EXPECT_EQ(0, rtcp_sender.SendRTCP(feedback_state, kRtcpRr)); in TestPacketFragmentationSize()
1432 RTCPSender::FeedbackState feedback_state; in TEST_F() local
1433 EXPECT_EQ(0, rtcp_sender.SendRTCP(feedback_state, kRtcpRr)); in TEST_F()