Home
last modified time | relevance | path

Searched refs:primary_ssrc (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/media/base/
Dstream_params.h136 bool AddFidSsrc(uint32_t primary_ssrc, uint32_t fid_ssrc) { in AddFidSsrc()
137 return AddSecondarySsrc(kFidSsrcGroupSemantics, primary_ssrc, fid_ssrc); in AddFidSsrc()
142 bool GetFidSsrc(uint32_t primary_ssrc, uint32_t* fid_ssrc) const { in GetFidSsrc()
143 return GetSecondarySsrc(kFidSsrcGroupSemantics, primary_ssrc, fid_ssrc); in GetFidSsrc()
148 bool AddFecFrSsrc(uint32_t primary_ssrc, uint32_t fecfr_ssrc) { in AddFecFrSsrc()
149 return AddSecondarySsrc(kFecFrSsrcGroupSemantics, primary_ssrc, fecfr_ssrc); in AddFecFrSsrc()
154 bool GetFecFrSsrc(uint32_t primary_ssrc, uint32_t* fecfr_ssrc) const { in GetFecFrSsrc()
155 return GetSecondarySsrc(kFecFrSsrcGroupSemantics, primary_ssrc, fecfr_ssrc); in GetFecFrSsrc()
213 uint32_t primary_ssrc,
216 uint32_t primary_ssrc,
Dstream_params_unittest.cc238 uint32_t primary_ssrc = stream.first_ssrc(); in TEST() local
239 ASSERT_NE(0u, primary_ssrc); in TEST()
243 EXPECT_TRUE(stream.GetFidSsrc(primary_ssrc, &rtx_ssrc)); in TEST()
245 EXPECT_TRUE(stream.GetFecFrSsrc(primary_ssrc, &flex_ssrc)); in TEST()
256 uint32_t primary_ssrc = stream.first_ssrc(); in TEST() local
257 ASSERT_NE(0u, primary_ssrc); in TEST()
261 EXPECT_TRUE(stream.GetFidSsrc(primary_ssrc, &rtx_ssrc)); in TEST()
263 EXPECT_FALSE(stream.GetFecFrSsrc(primary_ssrc, &flex_ssrc)); in TEST()
273 uint32_t primary_ssrc = stream.first_ssrc(); in TEST() local
274 ASSERT_NE(0u, primary_ssrc); in TEST()
[all …]
Dstream_params.cc191 for (uint32_t primary_ssrc : primary_ssrcs) { in GetFidSsrcs() local
193 if (GetFidSsrc(primary_ssrc, &fid_ssrc)) { in GetFidSsrcs()
200 uint32_t primary_ssrc, in AddSecondarySsrc() argument
202 if (!has_ssrc(primary_ssrc)) { in AddSecondarySsrc()
207 ssrc_groups.push_back(SsrcGroup(semantics, {primary_ssrc, secondary_ssrc})); in AddSecondarySsrc()
212 uint32_t primary_ssrc, in GetSecondarySsrc() argument
216 ssrc_group.ssrcs[0] == primary_ssrc) { in GetSecondarySsrc()
Dtest_utils.cc50 uint32_t primary_ssrc, in CreatePrimaryWithFecFrStreamParams() argument
54 {primary_ssrc, flexfec_ssrc}); in CreatePrimaryWithFecFrStreamParams()
55 sp.ssrcs = {primary_ssrc}; in CreatePrimaryWithFecFrStreamParams()
Dtest_utils.h63 uint32_t primary_ssrc,
/external/webrtc/pc/
Drtp_sender_receiver_unittest.cc237 uint32_t primary_ssrc = stream_params.first_ssrc(); in CreateVideoRtpSender() local
238 CreateVideoRtpSender(primary_ssrc); in CreateVideoRtpSender()
239 return primary_ssrc; in CreateVideoRtpSender()
319 uint32_t primary_ssrc = stream_params.first_ssrc(); local
324 video_rtp_receiver_->SetupMediaChannel(primary_ssrc);
Dmedia_session_unittest.cc3536 for (uint32_t primary_ssrc : primary_ssrcs) { in TEST_F() local
3538 EXPECT_FALSE(streams[0].GetFecFrSsrc(primary_ssrc, &flexfec_ssrc)); in TEST_F()
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc6797 uint32_t primary_ssrc = stream_params.first_ssrc(); in TEST_F() local
6804 EXPECT_TRUE(channel_->SetVideoSend(primary_ssrc, &options, &frame_forwarder)); in TEST_F()
6812 channel_->GetRtpSendParameters(primary_ssrc); in TEST_F()
6819 EXPECT_TRUE(channel_->SetRtpSendParameters(primary_ssrc, parameters).ok()); in TEST_F()
6822 parameters = channel_->GetRtpSendParameters(primary_ssrc); in TEST_F()
6849 EXPECT_TRUE(channel_->SetVideoSend(primary_ssrc, nullptr, nullptr)); in TEST_F()
7772 uint32_t primary_ssrc = stream_params.first_ssrc(); in TEST_F() local
7779 EXPECT_TRUE(channel_->SetVideoSend(primary_ssrc, &options, &frame_forwarder)); in TEST_F()
7787 channel_->GetRtpSendParameters(primary_ssrc); in TEST_F()
7798 EXPECT_TRUE(channel_->SetRtpSendParameters(primary_ssrc, parameters).ok()); in TEST_F()
[all …]
Dwebrtc_video_engine.cc1973 for (uint32_t primary_ssrc : parameters_.config.rtp.ssrcs) { in WebRtcVideoSendStream() local
1974 if (sp.GetFecFrSsrc(primary_ssrc, &flexfec_ssrc)) { in WebRtcVideoSendStream()
1987 parameters_.config.rtp.flexfec.protected_media_ssrcs = {primary_ssrc}; in WebRtcVideoSendStream()