Home
last modified time | relevance | path

Searched refs:rids (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/test/pc/e2e/sdp/
Dsdp_changer.cc120 media_desc->mutable_streams()[0].rids()); in FillSimulcastContext()
123 std::vector<cricket::RidDescription> rids; in FillSimulcastContext() local
125 for (std::string& rid : info.rids) { in FillSimulcastContext()
126 rids.emplace_back(rid, cricket::RidDirection::kSend); in FillSimulcastContext()
130 media_desc->mutable_streams()[0].set_rids(rids); in FillSimulcastContext()
259 for (std::string& rid : info.rids) { in PatchVp8Offer()
285 for (auto& rid : info.rids) { in PatchVp8Offer()
397 desc->GetContentByName(info.rids[0]); in PatchVp8Answer()
408 for (auto& rid : info.rids) { in PatchVp8Answer()
434 std::vector<cricket::RidDescription> rids; in PatchVp8Answer() local
[all …]
Dsdp_changer.h104 std::vector<std::string> rids; member
/external/webrtc/media/base/
Dmedia_engine.cc46 const std::vector<RidDescription>& rids = sp.rids(); in CreateRtpParametersWithEncodings() local
47 RTC_DCHECK(rids.size() == 0 || rids.size() == encoding_count); in CreateRtpParametersWithEncodings()
48 for (size_t i = 0; i < rids.size(); ++i) { in CreateRtpParametersWithEncodings()
49 encodings[i].rid = rids[i].rid; in CreateRtpParametersWithEncodings()
Dstream_params.h208 const std::vector<RidDescription>& rids() const { return rids_; } in rids() function
209 void set_rids(const std::vector<RidDescription>& rids) { rids_ = rids; } in set_rids()
Dstream_params.cc55 void AppendRids(rtc::ArrayView<const RidDescription> rids, in AppendRids() argument
59 for (const RidDescription& rid : rids) { in AppendRids()
/external/webrtc/pc/
Dsimulcast_description.cc33 const std::vector<SimulcastLayer>& rids) { in AddLayerWithAlternatives() argument
34 RTC_DCHECK(!rids.empty()); in AddLayerWithAlternatives()
35 list_.push_back(rids); in AddLayerWithAlternatives()
Drtp_sender.cc59 void RemoveEncodingLayers(const std::vector<std::string>& rids, in RemoveEncodingLayers() argument
64 [&rids](const RtpEncodingParameters& encoding) { in RemoveEncodingLayers()
65 return absl::c_linear_search(rids, encoding.rid); in RemoveEncodingLayers()
325 const std::vector<std::string>& rids) { in DisableEncodingLayers() argument
331 if (rids.empty()) { in DisableEncodingLayers()
337 for (const std::string& rid : rids) { in DisableEncodingLayers()
348 RemoveEncodingLayers(rids, &init_parameters_.encodings); in DisableEncodingLayers()
357 rids, in DisableEncodingLayers()
363 disabled_rids_.insert(disabled_rids_.end(), rids.begin(), rids.end()); in DisableEncodingLayers()
Dpeer_connection_simulcast_unittest.cc65 std::vector<SimulcastLayer> CreateLayers(const std::vector<std::string>& rids, in CreateLayers() argument
67 RTC_DCHECK_EQ(rids.size(), active.size()); in CreateLayers()
69 absl::c_transform(rids, active, std::back_inserter(result), in CreateLayers()
75 std::vector<SimulcastLayer> CreateLayers(const std::vector<std::string>& rids, in CreateLayers() argument
77 return CreateLayers(rids, std::vector<bool>(rids.size(), active)); in CreateLayers()
83 std::vector<std::string> rids; in CreateLayers() local
85 rids.push_back(rid_generator()); in CreateLayers()
87 return CreateLayers(rids, active); in CreateLayers()
302 std::vector<std::string> rids({"f", "h", "q"}); in TEST_F() local
303 auto layers = CreateLayers(rids, true); in TEST_F()
[all …]
Dwebrtc_sdp_unittest.cc1444 void CompareRidDescriptionIds(const std::vector<RidDescription>& rids, in CompareRidDescriptionIds() argument
1447 EXPECT_EQ(rids.size(), ids.size()); in CompareRidDescriptionIds()
1449 EXPECT_EQ(1l, absl::c_count_if(rids, [id](const RidDescription& rid) { in CompareRidDescriptionIds()
4353 const std::vector<RidDescription>& rids = media->streams()[0].rids(); in TEST_F() local
4354 CompareRidDescriptionIds(rids, {"1", "2", "3"}); in TEST_F()
4389 const std::vector<RidDescription>& rids = media->streams()[0].rids(); in TEST_F() local
4390 CompareRidDescriptionIds(rids, {"1", "3"}); in TEST_F()
4416 const std::vector<RidDescription>& rids = media->streams()[0].rids(); in TEST_F() local
4417 CompareRidDescriptionIds(rids, {"1", "3"}); in TEST_F()
4441 const std::vector<RidDescription>& rids = media->streams()[0].rids(); in TEST_F() local
[all …]
Dmedia_session.h44 std::vector<RidDescription> rids; member
64 const std::vector<RidDescription>& rids,
87 const std::vector<RidDescription>& rids,
Dmedia_session.cc350 const std::vector<RidDescription>& rids, in ValidateSimulcastLayers() argument
353 simulcast_layers.GetAllLayers(), [&rids](const SimulcastLayer& layer) { in ValidateSimulcastLayers()
354 return absl::c_any_of(rids, [&layer](const RidDescription& rid) { in ValidateSimulcastLayers()
363 RTC_DCHECK(!sender.rids.empty()); in CreateStreamParamsForNewSenderWithRids()
366 RTC_DCHECK(ValidateSimulcastLayers(sender.rids, sender.simulcast_layers)); in CreateStreamParamsForNewSenderWithRids()
373 if (sender.rids.size() > 1) { in CreateStreamParamsForNewSenderWithRids()
374 result.set_rids(sender.rids); in CreateStreamParamsForNewSenderWithRids()
401 if (description->streams()[0].rids().size() <= 1) { in AddSimulcastToMediaDescription()
441 sender.rids.empty() in AddStreamParams()
1355 const std::vector<RidDescription>& rids, in AddVideoSender() argument
[all …]
Dwebrtc_sdp.cc355 std::vector<RidDescription>* rids);
362 const std::vector<RidDescription>& rids,
639 const std::vector<RidDescription>& rids, in CreateTrackWithNoSsrcs() argument
642 if (msid_track_id.empty() && rids.empty()) { in CreateTrackWithNoSsrcs()
649 track.set_rids(rids); in CreateTrackWithNoSsrcs()
1706 for (const RidDescription& rid_description : track.rids()) { in BuildRtpContentAttributes()
2363 std::vector<RidDescription>* rids) { in RemoveInvalidRidDescriptions() argument
2364 RTC_DCHECK(rids); in RemoveInvalidRidDescriptions()
2369 for (RidDescription& rid : *rids) { in RemoveInvalidRidDescriptions()
2415 rids->erase(std::remove_if(rids->begin(), rids->end(), in RemoveInvalidRidDescriptions()
[all …]
Dsession_description.h245 virtual void set_receive_rids(const std::vector<RidDescription>& rids) { in set_receive_rids() argument
246 receive_rids_ = rids; in set_receive_rids()
Drtp_sender_receiver_unittest.cc248 const std::vector<std::string>& rids) { in CreateVideoRtpSenderWithSimulcast() argument
250 CreateSimulcastStreamParams(rids.size()); in CreateVideoRtpSenderWithSimulcast()
253 rids, std::back_inserter(rid_descriptions), [](const std::string& rid) { in CreateVideoRtpSenderWithSimulcast()
394 const std::vector<std::string>& rids) { in VerifyEncodingLayers() argument
401 EXPECT_THAT(rids, ContainerEq(encoding_rids)); in VerifyEncodingLayers()
Dchannel.cc63 const std::vector<RidDescription>& target_rids = target_->rids(); in operator ()()
64 const std::vector<RidDescription>& source_rids = sp.rids(); in operator ()()
640 new_stream.GenerateSsrcs(new_stream.rids().size(), /* rtx = */ true, in UpdateLocalStreams_w()
Dchannel_unittest.cc1310 void CreateSimulcastContent(const std::vector<std::string>& rids, in CreateSimulcastContent() argument
1313 for (const std::string& name : rids) { in CreateSimulcastContent()
1330 EXPECT_EQ(expected.rids(), result.rids()); in VerifySimulcastStreamParams()
1332 EXPECT_EQ(expected.rids().size() * 2, result.ssrcs.size()); in VerifySimulcastStreamParams()
1335 EXPECT_EQ(expected.rids().size(), primary_ssrcs.size()); in VerifySimulcastStreamParams()
Dmedia_session_unittest.cc358 const std::vector<RidDescription>& rids, in AttachSenderToMediaDescriptionOptions() argument
368 it->AddVideoSender(track_id, stream_ids, rids, simulcast_layers, in AttachSenderToMediaDescriptionOptions()
2608 const std::vector<RidDescription> rids = stream.rids(); in CheckSimulcastInSessionDescription() local
2610 EXPECT_THAT(rids, Pointwise(RidDescriptionEquals(), send_rids)); in CheckSimulcastInSessionDescription()
Dpeer_connection.cc4941 sender_options.rids = send_rids; in GetMediaDescriptionOptionsForTransceiver()
/external/webrtc/call/
Drtp_config.cc84 for (size_t i = 0; i < rids.size(); ++i) { in ToString()
85 ss << rids[i]; in ToString()
86 if (i != rids.size() - 1) in ToString()
196 if (ssrc_index < rids.size()) { in GetRidForSsrc()
197 return rids[ssrc_index]; in GetRidForSsrc()
Drtp_config.h85 std::vector<std::string> rids; member
Drtp_video_sender.cc680 if (rtp_config_.rids.empty()) in ConfigureRids()
685 RTC_DCHECK(rtp_config_.rids.size() >= rtp_streams_.size()); in ConfigureRids()
687 rtp_streams_[i].rtp_rtcp->SetRid(rtp_config_.rids[i]); in ConfigureRids()
/external/webrtc/media/engine/
Dwebrtc_video_engine.cc1283 for (const RidDescription& rid : sp.rids()) { in AddSendStream()
1284 config.rtp.rids.push_back(rid.rid); in AddSendStream()
Dwebrtc_video_engine_unittest.cc8395 std::vector<std::string> rids = {"f", "h", "q"}; in TEST_F() local
8397 for (const auto& rid : rids) { in TEST_F()
8408 EXPECT_THAT(config.rtp.rids, ElementsAreArray(rids)); in TEST_F()
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz1a 2A 3Aaron 4AARON 5abaissiez 6abandon 7abandoned 8abase 9Abase 10 ...
/external/jline/src/src/test/resources/jline/example/
Denglish.gz

12