Home
last modified time | relevance | path

Searched refs:primary_ssrcs (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/media/base/
Dstream_params_unittest.cc170 std::vector<uint32_t> primary_ssrcs; in TEST() local
171 sp.GetPrimarySsrcs(&primary_ssrcs); in TEST()
173 sp.GetFidSsrcs(primary_ssrcs, &fid_ssrcs); in TEST()
174 ASSERT_EQ(1u, primary_ssrcs.size()); in TEST()
175 EXPECT_EQ(1u, primary_ssrcs[0]); in TEST()
183 primary_ssrcs.clear(); in TEST()
184 sp.GetPrimarySsrcs(&primary_ssrcs); in TEST()
186 sp.GetFidSsrcs(primary_ssrcs, &fid_ssrcs); in TEST()
187 ASSERT_EQ(3u, primary_ssrcs.size()); in TEST()
188 EXPECT_EQ(1u, primary_ssrcs[0]); in TEST()
[all …]
Dstream_params.cc154 std::vector<uint32_t> primary_ssrcs; in GenerateSsrcs() local
157 primary_ssrcs.push_back(ssrc); in GenerateSsrcs()
162 SsrcGroup simulcast(kSimSsrcGroupSemantics, primary_ssrcs); in GenerateSsrcs()
167 for (uint32_t ssrc : primary_ssrcs) { in GenerateSsrcs()
173 for (uint32_t ssrc : primary_ssrcs) { in GenerateSsrcs()
189 void StreamParams::GetFidSsrcs(const std::vector<uint32_t>& primary_ssrcs, in GetFidSsrcs() argument
191 for (uint32_t primary_ssrc : primary_ssrcs) { in GetFidSsrcs()
Dmedia_engine.cc37 std::vector<uint32_t> primary_ssrcs; in CreateRtpParametersWithEncodings() local
38 sp.GetPrimarySsrcs(&primary_ssrcs); in CreateRtpParametersWithEncodings()
39 size_t encoding_count = primary_ssrcs.size(); in CreateRtpParametersWithEncodings()
43 encodings[i].ssrc = primary_ssrcs[i]; in CreateRtpParametersWithEncodings()
Dstream_params.h173 void GetFidSsrcs(const std::vector<uint32_t>& primary_ssrcs,
/external/webrtc/test/pc/e2e/sdp/
Dsdp_changer.cc340 std::vector<uint32_t> primary_ssrcs; in PatchVp9Offer() local
341 stream.GetPrimarySsrcs(&primary_ssrcs); in PatchVp9Offer()
342 RTC_CHECK(primary_ssrcs.size() == 1); in PatchVp9Offer()
345 primary_ssrcs.push_back(ssrc); in PatchVp9Offer()
350 cricket::SsrcGroup(cricket::kSimSsrcGroupSemantics, primary_ssrcs)); in PatchVp9Offer()
/external/webrtc/media/engine/
Dwebrtc_video_engine.cc218 std::vector<uint32_t> primary_ssrcs; in ValidateStreamParams() local
219 sp.GetPrimarySsrcs(&primary_ssrcs); in ValidateStreamParams()
221 sp.GetFidSsrcs(primary_ssrcs, &rtx_ssrcs); in ValidateStreamParams()
237 if (!rtx_ssrcs.empty() && primary_ssrcs.size() != rtx_ssrcs.size()) { in ValidateStreamParams()
2752 std::vector<uint32_t> primary_ssrcs; in GetRtpParameters() local
2753 stream_params_.GetPrimarySsrcs(&primary_ssrcs); in GetRtpParameters()
2754 for (uint32_t ssrc : primary_ssrcs) { in GetRtpParameters()
/external/webrtc/pc/
Dmedia_session_unittest.cc3450 std::vector<uint32_t> primary_ssrcs; in TEST_F() local
3451 streams[0].GetPrimarySsrcs(&primary_ssrcs); in TEST_F()
3452 EXPECT_EQ(3u, primary_ssrcs.size()); in TEST_F()
3454 streams[0].GetFidSsrcs(primary_ssrcs, &fid_ssrcs); in TEST_F()
3490 std::vector<uint32_t> primary_ssrcs; in TEST_F() local
3491 streams[0].GetPrimarySsrcs(&primary_ssrcs); in TEST_F()
3492 ASSERT_EQ(1u, primary_ssrcs.size()); in TEST_F()
3494 EXPECT_TRUE(streams[0].GetFecFrSsrc(primary_ssrcs[0], &flexfec_ssrc)); in TEST_F()
3533 std::vector<uint32_t> primary_ssrcs; in TEST_F() local
3534 streams[0].GetPrimarySsrcs(&primary_ssrcs); in TEST_F()
[all …]
Dchannel_unittest.cc1333 std::vector<uint32_t> primary_ssrcs; in VerifySimulcastStreamParams() local
1334 result.GetPrimarySsrcs(&primary_ssrcs); in VerifySimulcastStreamParams()
1335 EXPECT_EQ(expected.rids().size(), primary_ssrcs.size()); in VerifySimulcastStreamParams()