/external/webrtc/call/ |
D | rtp_config.cc | 25 const std::vector<uint32_t>& ssrcs, in FindAssociatedSsrc() argument 27 RTC_DCHECK_EQ(ssrcs.size(), associated_ssrcs.size()); in FindAssociatedSsrc() 28 for (size_t i = 0; i < ssrcs.size(); ++i) { in FindAssociatedSsrc() 29 if (ssrcs[i] == ssrc) in FindAssociatedSsrc() 78 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString() 79 ss << ssrcs[i]; in ToString() 80 if (i != ssrcs.size() - 1) in ToString() 134 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString() 135 ss << ssrcs[i]; in ToString() 136 if (i != ssrcs.size() - 1) in ToString() [all …]
|
D | rtp_video_sender.cc | 156 rtp.ssrcs[simulcast_index]) == in MaybeCreateFecGenerator() 202 RTC_DCHECK_GT(rtp_config.ssrcs.size(), 0); in CreateRtpStreamSenders() 239 RTC_DCHECK(rtp_config.rtx.ssrcs.empty() || in CreateRtpStreamSenders() 240 rtp_config.rtx.ssrcs.size() == rtp_config.ssrcs.size()); in CreateRtpStreamSenders() 241 for (size_t i = 0; i < rtp_config.ssrcs.size(); ++i) { in CreateRtpStreamSenders() 243 configuration.local_media_ssrc = rtp_config.ssrcs[i]; in CreateRtpStreamSenders() 253 rtp_config.GetRtxSsrcAssociatedWithMediaSsrc(rtp_config.ssrcs[i]); in CreateRtpStreamSenders() 255 !rtp_config.rtx.ssrcs.empty()); in CreateRtpStreamSenders() 372 frame_counts_(rtp_config.ssrcs.size()), in RtpVideoSender() 374 RTC_DCHECK_EQ(rtp_config_.ssrcs.size(), rtp_streams_.size()); in RtpVideoSender() [all …]
|
/external/webrtc/modules/pacing/ |
D | packet_router_unittest.cc | 78 const std::vector<uint32_t> ssrcs = {1, 2, 3}; in TEST_F() local 81 packet_router_.OnReceiveBitrateChanged(ssrcs, bitrate_bps); in TEST_F() 85 const std::vector<uint32_t> ssrcs = {1, 2, 3}; in TEST_F() local 88 EXPECT_FALSE(packet_router_.SendRemb(bitrate_bps, ssrcs)); in TEST_F() 453 const std::vector<uint32_t> ssrcs = {1234}; in TEST() local 455 packet_router.OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST() 459 EXPECT_CALL(rtp, SetRemb(bitrate_estimate, ssrcs)).Times(1); in TEST() 460 packet_router.OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST() 465 EXPECT_CALL(rtp, SetRemb(bitrate_estimate, ssrcs)).Times(1); in TEST() 466 packet_router.OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST() [all …]
|
/external/webrtc/media/base/ |
D | stream_params.cc | 24 void AppendSsrcs(rtc::ArrayView<const uint32_t> ssrcs, in AppendSsrcs() argument 28 for (uint32_t ssrc : ssrcs) { in AppendSsrcs() 83 const std::vector<uint32_t>& ssrcs) in SsrcGroup() argument 84 : semantics(usage), ssrcs(ssrcs) {} in SsrcGroup() 93 return (semantics == semantics_in && ssrcs.size() > 0); in has_semantics() 101 AppendSsrcs(ssrcs, &sb); in ToString() 114 return (groupid == other.groupid && id == other.id && ssrcs == other.ssrcs && in operator ==() 131 AppendSsrcs(ssrcs, &sb); in ToString() 179 void StreamParams::GetPrimarySsrcs(std::vector<uint32_t>* ssrcs) const { in GetPrimarySsrcs() 182 ssrcs->push_back(first_ssrc()); in GetPrimarySsrcs() [all …]
|
D | test_utils.cc | 22 const std::vector<uint32_t>& ssrcs) { in CreateSimStreamParams() argument 24 cricket::SsrcGroup sg(cricket::kSimSsrcGroupSemantics, ssrcs); in CreateSimStreamParams() 25 sp.ssrcs = ssrcs; in CreateSimStreamParams() 34 const std::vector<uint32_t>& ssrcs, in CreateSimWithRtxStreamParams() argument 36 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams() 37 for (size_t i = 0; i < ssrcs.size(); ++i) { in CreateSimWithRtxStreamParams() 38 sp.ssrcs.push_back(rtx_ssrcs[i]); in CreateSimWithRtxStreamParams() 40 fid_ssrcs.push_back(ssrcs[i]); in CreateSimWithRtxStreamParams() 55 sp.ssrcs = {primary_ssrc}; in CreatePrimaryWithFecFrStreamParams()
|
D | stream_params_unittest.cc | 31 std::vector<uint32_t> ssrcs(ssrcs_in, ssrcs_in + len); in CreateStreamParamsWithSsrcGroup() local 32 cricket::SsrcGroup sg(semantics, ssrcs); in CreateStreamParamsWithSsrcGroup() 33 stream.ssrcs = ssrcs; in CreateStreamParamsWithSsrcGroup() 73 EXPECT_EQ(1U, one_sp.ssrcs.size()); in TEST() 85 EXPECT_EQ(2U, sp.ssrcs.size()); in TEST() 92 EXPECT_EQ(2U, sp.ssrc_groups[0].ssrcs.size()); in TEST() 93 EXPECT_EQ(kSsrcs2[0], sp.ssrc_groups[0].ssrcs[0]); in TEST() 94 EXPECT_EQ(kSsrcs2[1], sp.ssrc_groups[0].ssrcs[1]); in TEST() 166 sp.ssrcs.push_back(1); in TEST() 167 sp.ssrcs.push_back(2); in TEST() [all …]
|
D | stream_params.h | 68 SsrcGroup(const std::string& usage, const std::vector<uint32_t>& ssrcs); 76 return (semantics == other.semantics && ssrcs == other.ssrcs); 85 std::vector<uint32_t> ssrcs; // SSRCs of this type. member 102 stream.ssrcs.push_back(ssrc); in CreateLegacy() 110 if (ssrcs.empty()) { in first_ssrc() 114 return ssrcs[0]; in first_ssrc() 116 bool has_ssrcs() const { return !ssrcs.empty(); } in has_ssrcs() 118 return absl::c_linear_search(ssrcs, ssrc); in has_ssrc() 120 void add_ssrc(uint32_t ssrc) { ssrcs.push_back(ssrc); } in add_ssrc() 168 void GetPrimarySsrcs(std::vector<uint32_t>* ssrcs) const; [all …]
|
/external/webrtc/media/engine/ |
D | unhandled_packets_buffer_unittest.cc | 37 std::vector<uint32_t> ssrcs = {3}; in TEST() local 39 buff.BackfillPackets(ssrcs, [&packets](uint32_t ssrc, int64_t packet_time_us, in TEST() 50 std::vector<uint32_t> ssrcs = {2}; in TEST() local 52 buff.BackfillPackets(ssrcs, [&packets](uint32_t ssrc, int64_t packet_time_us, in TEST() 65 std::vector<uint32_t> ssrcs = {2, 3}; in TEST() local 67 buff.BackfillPackets(ssrcs, [&packets](uint32_t ssrc, int64_t packet_time_us, in TEST() 81 std::vector<uint32_t> ssrcs = {3}; in TEST() local 82 buff.BackfillPackets(ssrcs, [](uint32_t ssrc, int64_t packet_time_us, in TEST() 89 buff.BackfillPackets(ssrcs, [](uint32_t ssrc, int64_t packet_time_us, in TEST() 103 std::vector<uint32_t> ssrcs = {2}; in TEST() local [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_transceiver.cc | 97 std::vector<uint32_t> ssrcs) { in SetRemb() argument 101 ToQueuedTask([ptr, bitrate_bps, ssrcs = std::move(ssrcs)]() mutable { in SetRemb() 102 ptr->SetRemb(bitrate_bps, std::move(ssrcs)); in SetRemb() 139 void RtcpTransceiver::SendFullIntraRequest(std::vector<uint32_t> ssrcs) { in SendFullIntraRequest() argument 140 return SendFullIntraRequest(std::move(ssrcs), true); in SendFullIntraRequest() 143 void RtcpTransceiver::SendFullIntraRequest(std::vector<uint32_t> ssrcs, in SendFullIntraRequest() argument 148 ToQueuedTask([ptr, ssrcs = std::move(ssrcs), new_request] { in SendFullIntraRequest() 149 ptr->SendFullIntraRequest(ssrcs, new_request); in SendFullIntraRequest()
|
D | rtcp_transceiver.h | 72 void SetRemb(int64_t bitrate_bps, std::vector<uint32_t> ssrcs) override; 90 void SendFullIntraRequest(std::vector<uint32_t> ssrcs); 93 void SendFullIntraRequest(std::vector<uint32_t> ssrcs, bool new_request);
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_unittest_helper.cc | 29 const std::vector<uint32_t>& ssrcs, in OnReceiveBitrateChanged() argument 322 std::vector<uint32_t> ssrcs; in InitialBehaviorTestHelper() local 323 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 324 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 327 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 335 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 336 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 349 EXPECT_TRUE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 350 ASSERT_EQ(1u, ssrcs.size()); in InitialBehaviorTestHelper() 351 EXPECT_EQ(kDefaultSsrc, ssrcs.front()); in InitialBehaviorTestHelper() [all …]
|
D | remote_bitrate_estimator_single_stream.cc | 211 std::vector<uint32_t> ssrcs; in UpdateEstimate() local 212 GetSsrcs(&ssrcs); in UpdateEstimate() 214 observer_->OnReceiveBitrateChanged(ssrcs, target_bitrate); in UpdateEstimate() 234 std::vector<uint32_t>* ssrcs, in LatestEstimate() argument 241 GetSsrcs(ssrcs); in LatestEstimate() 242 if (ssrcs->empty()) in LatestEstimate() 250 std::vector<uint32_t>* ssrcs) const { in GetSsrcs() 251 assert(ssrcs); in GetSsrcs() 252 ssrcs->resize(overuse_detectors_.size()); in GetSsrcs() 256 (*ssrcs)[i] = it->first; in GetSsrcs()
|
D | remote_bitrate_estimator_abs_send_time.cc | 283 std::vector<uint32_t> ssrcs; in IncomingPacketInfo() local 357 ssrcs = Keys(ssrcs_); in IncomingPacketInfo() 362 observer_->OnReceiveBitrateChanged(ssrcs, target_bitrate_bps); in IncomingPacketInfo() 404 std::vector<uint32_t>* ssrcs, in LatestEstimate() argument 410 RTC_DCHECK(ssrcs); in LatestEstimate() 416 *ssrcs = Keys(ssrcs_); in LatestEstimate()
|
/external/webrtc/pc/ |
D | track_media_info_map_unittest.cc | 35 std::initializer_list<uint32_t> ssrcs) { in CreateRtpParametersWithSsrcs() argument 37 for (uint32_t ssrc : ssrcs) { in CreateRtpParametersWithSsrcs() 47 std::initializer_list<uint32_t> ssrcs, in CreateMockRtpSender() argument 50 if (ssrcs.size()) { in CreateMockRtpSender() 51 first_ssrc = *ssrcs.begin(); in CreateMockRtpSender() 63 .WillRepeatedly(::testing::Return(CreateRtpParametersWithSsrcs(ssrcs))); in CreateMockRtpSender() 70 std::initializer_list<uint32_t> ssrcs, in CreateMockRtpReceiver() argument 79 .WillRepeatedly(::testing::Return(CreateRtpParametersWithSsrcs(ssrcs))); in CreateMockRtpReceiver() 111 void AddRtpSenderWithSsrcs(std::initializer_list<uint32_t> ssrcs, in AddRtpSenderWithSsrcs() argument 117 ssrcs, local_track); in AddRtpSenderWithSsrcs() [all …]
|
D | track_media_info_map.cc | 167 std::set<uint32_t> ssrcs; in TrackMediaInfoMap() local 168 ssrcs.insert(sender_info.ssrc()); in TrackMediaInfoMap() 170 for (auto ssrc : ssrc_group.ssrcs) { in TrackMediaInfoMap() 171 ssrcs.insert(ssrc); in TrackMediaInfoMap() 174 for (auto ssrc : ssrcs) { in TrackMediaInfoMap()
|
/external/webrtc/modules/congestion_controller/ |
D | receive_side_congestion_controller_unittest.cc | 42 (const std::vector<uint32_t>& ssrcs, uint32_t bitrate), 63 std::vector<unsigned int> ssrcs; in TEST() local 65 .WillRepeatedly(SaveArg<0>(&ssrcs)); in TEST() 74 ASSERT_EQ(1u, ssrcs.size()); in TEST() 75 EXPECT_EQ(header.ssrc, ssrcs[0]); in TEST()
|
/external/webrtc/video/ |
D | send_statistics_proxy_unittest.cc | 79 for (const auto& ssrc : config_.rtp.ssrcs) { in SetUp() 83 for (size_t i = 0; i < config_.rtp.rtx.ssrcs.size(); ++i) { in SetUp() 84 uint32_t ssrc = config_.rtp.rtx.ssrcs[i]; in SetUp() 87 expected_.substreams[ssrc].referenced_media_ssrc = config_.rtp.ssrcs[i]; in SetUp() 93 config.rtp.ssrcs.push_back(kFirstSsrc); in GetTestConfig() 94 config.rtp.ssrcs.push_back(kSecondSsrc); in GetTestConfig() 95 config.rtp.rtx.ssrcs.push_back(kFirstRtxSsrc); in GetTestConfig() 96 config.rtp.rtx.ssrcs.push_back(kSecondRtxSsrc); in GetTestConfig() 103 config.rtp.ssrcs.push_back(kFirstSsrc); in GetTestConfigWithFlexFec() 104 config.rtp.ssrcs.push_back(kSecondSsrc); in GetTestConfigWithFlexFec() [all …]
|
D | send_delay_stats_unittest.cc | 45 config.rtp.ssrcs.push_back(kSsrc1); in CreateConfig() 46 config.rtp.ssrcs.push_back(kSsrc2); in CreateConfig() 47 config.rtp.rtx.ssrcs.push_back(kRtxSsrc1); in CreateConfig() 48 config.rtp.rtx.ssrcs.push_back(kRtxSsrc2); in CreateConfig()
|
D | encoder_rtcp_feedback.cc | 25 const std::vector<uint32_t>& ssrcs, in EncoderRtcpFeedback() argument 28 ssrcs_(ssrcs), in EncoderRtcpFeedback() 36 RTC_DCHECK(!ssrcs.empty()); in EncoderRtcpFeedback()
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | delay_based_bwe_unittest_helper.cc | 309 std::vector<uint32_t> ssrcs; in InitialBehaviorTestHelper() local 310 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate)); in InitialBehaviorTestHelper() 311 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 313 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate)); in InitialBehaviorTestHelper() 325 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate)); in InitialBehaviorTestHelper() 326 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 335 EXPECT_TRUE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate)); in InitialBehaviorTestHelper() 336 ASSERT_EQ(1u, ssrcs.size()); in InitialBehaviorTestHelper() 337 EXPECT_EQ(kDefaultSsrc, ssrcs.front()); in InitialBehaviorTestHelper() 519 std::vector<uint32_t> ssrcs; in TestWrappingHelper() local [all …]
|
/external/openscreen/cast/streaming/ |
D | answer_messages_unittest.cc | 29 "ssrcs": [1233324, 2234222], 129 EXPECT_THAT(answer.ssrcs, ElementsAre(1233324u, 2234222u)); in ExpectEqualsValidAnswerJson() 205 Json::Value ssrcs = std::move(root["ssrcs"]); in TEST() local 206 EXPECT_EQ(ssrcs.type(), Json::ValueType::arrayValue); in TEST() 207 EXPECT_EQ(ssrcs[0], 123u); in TEST() 208 EXPECT_EQ(ssrcs[1], 456u); in TEST() 333 "ssrcs": [1233324, 2234222], in TEST() 345 "ssrcs": [1233324, 2234222], in TEST() 361 "ssrcs": [1233324, 2234222], in TEST() 371 "ssrcs": [1233324, 2234222] in TEST() [all …]
|
/external/webrtc/modules/remote_bitrate_estimator/tools/ |
D | bwe_rtp.cc | 56 std::set<uint32_t> ssrcs; in SsrcFilter() local 62 ssrcs.insert(ssrc); in SsrcFilter() 65 return ssrcs; in SsrcFilter()
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | remb.cc | 93 bool Remb::SetSsrcs(std::vector<uint32_t> ssrcs) { in SetSsrcs() argument 94 if (ssrcs.size() > kMaxNumberOfSsrcs) { in SetSsrcs() 98 ssrcs_ = std::move(ssrcs); in SetSsrcs()
|
D | remb.h | 34 bool SetSsrcs(std::vector<uint32_t> ssrcs); 38 const std::vector<uint32_t>& ssrcs() const { return ssrcs_; } in ssrcs() function
|
/external/webrtc/modules/remote_bitrate_estimator/include/ |
D | remote_bitrate_estimator.h | 35 virtual void OnReceiveBitrateChanged(const std::vector<uint32_t>& ssrcs, 71 virtual bool LatestEstimate(std::vector<uint32_t>* ssrcs,
|