/external/webrtc/media/base/ |
D | stream_params.h | 136 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,
|
D | stream_params_unittest.cc | 238 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 …]
|
D | stream_params.cc | 191 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()
|
D | test_utils.cc | 50 uint32_t primary_ssrc, in CreatePrimaryWithFecFrStreamParams() argument 54 {primary_ssrc, flexfec_ssrc}); in CreatePrimaryWithFecFrStreamParams() 55 sp.ssrcs = {primary_ssrc}; in CreatePrimaryWithFecFrStreamParams()
|
D | test_utils.h | 63 uint32_t primary_ssrc,
|
/external/webrtc/pc/ |
D | rtp_sender_receiver_unittest.cc | 237 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);
|
D | media_session_unittest.cc | 3536 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/ |
D | webrtc_video_engine_unittest.cc | 6797 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 …]
|
D | webrtc_video_engine.cc | 1973 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()
|