Home
last modified time | relevance | path

Searched refs:ssrcs (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dstreamparams.cc39 static std::string SsrcsToString(const std::vector<uint32>& ssrcs) { in SsrcsToString() argument
42 for (std::vector<uint32>::const_iterator it = ssrcs.begin(); in SsrcsToString()
43 it != ssrcs.end(); ++it) { in SsrcsToString()
44 if (it != ssrcs.begin()) { in SsrcsToString()
54 return (semantics == semantics_in && ssrcs.size() > 0); in has_semantics()
61 ost << SsrcsToString(ssrcs); in ToString()
75 ost << SsrcsToString(ssrcs) << ";"; in ToString()
108 ssrcs.push_back(secondary_ssrc); in AddSecondarySsrc()
123 it->ssrcs.size() >= 2 && in GetSecondarySsrc()
124 it->ssrcs[0] == primary_ssrc) { in GetSecondarySsrc()
[all …]
Dstreamparams.h60 SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs) in SsrcGroup()
61 : semantics(usage), ssrcs(ssrcs) { in SsrcGroup()
65 return (semantics == other.semantics && ssrcs == other.ssrcs);
76 std::vector<uint32> ssrcs; // SSRCs of this type. member
82 stream.ssrcs.push_back(ssrc); in CreateLegacy()
89 ssrcs == other.ssrcs &&
101 if (ssrcs.empty()) { in first_ssrc()
105 return ssrcs[0]; in first_ssrc()
108 return !ssrcs.empty(); in has_ssrcs()
111 return std::find(ssrcs.begin(), ssrcs.end(), ssrc) != ssrcs.end(); in has_ssrc()
[all …]
Dstreamparams_unittest.cc40 std::vector<uint32> ssrcs(ssrcs_in, ssrcs_in + len); in CreateStreamParamsWithSsrcGroup() local
41 cricket::SsrcGroup sg(semantics, ssrcs); in CreateStreamParamsWithSsrcGroup()
42 stream.ssrcs = ssrcs; in CreateStreamParamsWithSsrcGroup()
82 EXPECT_EQ(1U, one_sp.ssrcs.size()); in TEST()
94 EXPECT_EQ(2U, sp.ssrcs.size()); in TEST()
101 EXPECT_EQ(2U, sp.ssrc_groups[0].ssrcs.size()); in TEST()
102 EXPECT_EQ(kSsrcs2[0], sp.ssrc_groups[0].ssrcs[0]); in TEST()
103 EXPECT_EQ(kSsrcs2[1], sp.ssrc_groups[0].ssrcs[1]); in TEST()
237 std::remove(stream2.ssrcs.begin(), stream2.ssrcs.end(), 13); in TEST()
Dtestutils.cc340 const std::string& cname, const std::vector<uint32>& ssrcs) { in CreateSimStreamParams() argument
342 cricket::SsrcGroup sg(cricket::kSimSsrcGroupSemantics, ssrcs); in CreateSimStreamParams()
343 sp.ssrcs = ssrcs; in CreateSimStreamParams()
351 const std::string& cname, const std::vector<uint32>& ssrcs, in CreateSimWithRtxStreamParams() argument
353 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams()
354 for (size_t i = 0; i < ssrcs.size(); ++i) { in CreateSimWithRtxStreamParams()
355 sp.ssrcs.push_back(rtx_ssrcs[i]); in CreateSimWithRtxStreamParams()
357 fid_ssrcs.push_back(ssrcs[i]); in CreateSimWithRtxStreamParams()
Dfilemediaengine.cc301 if (send_ssrc_ != 0 || sp.ssrcs.size() != 1) { in AddSendStream()
305 send_ssrc_ = sp.ssrcs[0]; in AddSendStream()
347 if (send_ssrc_ != 0 || sp.ssrcs.size() != 1) { in AddSendStream()
351 send_ssrc_ = sp.ssrcs[0]; in AddSendStream()
Dvideoengine_unittest.h799 EXPECT_EQ(1U, info.senders[0].ssrcs().size()); in GetStats()
800 EXPECT_EQ(1U, info.receivers[0].ssrcs().size()); in GetStats()
801 EXPECT_EQ(info.senders[0].ssrcs()[0], info.receivers[0].ssrcs()[0]); in GetStats()
832 std::vector<uint32> ssrcs; in GetStatsMultipleRecvStreams() local
833 ssrcs.push_back(1); in GetStatsMultipleRecvStreams()
834 ssrcs.push_back(2); in GetStatsMultipleRecvStreams()
835 network_interface_.SetConferenceMode(true, ssrcs); in GetStatsMultipleRecvStreams()
858 EXPECT_EQ(1U, info.receivers[i].ssrcs().size()); in GetStatsMultipleRecvStreams()
859 EXPECT_EQ(i + 1, info.receivers[i].ssrcs()[0]); in GetStatsMultipleRecvStreams()
914 EXPECT_EQ(1U, info.senders[0].ssrcs().size()); in GetStatsMultipleSendStreams()
[all …]
Dtestutils.h243 const std::string& cname, const std::vector<uint32>& ssrcs);
247 const std::string& cname, const std::vector<uint32>& ssrcs,
Dfakenetworkinterface.h64 void SetConferenceMode(bool conf, const std::vector<uint32>& ssrcs) { in SetConferenceMode() argument
67 conf_sent_ssrcs_ = ssrcs; in SetConferenceMode()
Dfilemediaengine_unittest.cc188 std::set<uint32> ssrcs; in GetSsrcAndPacketCounts() local
195 ssrcs.insert(ssrc); in GetSsrcAndPacketCounts()
198 *ssrc_count = ssrcs.size(); in GetSsrcAndPacketCounts()
Dmediachannel.h646 std::vector<uint32> ssrcs() const { in ssrcs() function
691 std::vector<uint32> ssrcs() const { in ssrcs() function
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediamessages.cc231 std::vector<uint32>* ssrcs, in ParseSsrcs() argument
242 ssrcs->push_back(ssrc); in ParseSsrcs()
255 std::vector<uint32> ssrcs; in ParseSsrcGroups() local
256 if (!ParseSsrcs(group_elem, &ssrcs, error)) { in ParseSsrcGroups()
259 ssrc_groups->push_back(SsrcGroup(semantics, ssrcs)); in ParseSsrcGroups()
274 if (!ParseSsrcs(stream_elem, &(stream.ssrcs), error)) { in ParseJingleStream()
327 void WriteSsrcs(const std::vector<uint32>& ssrcs, in WriteSsrcs() argument
329 for (std::vector<uint32>::const_iterator ssrc = ssrcs.begin(); in WriteSsrcs()
330 ssrc != ssrcs.end(); ++ssrc) { in WriteSsrcs()
346 WriteSsrcs(group->ssrcs, group_elem); in WriteSsrcGroups()
[all …]
Dmediasession.cc249 std::vector<uint32>* ssrcs) { in GenerateSsrcs() argument
255 std::count(ssrcs->begin(), ssrcs->end(), candidate) > 0); in GenerateSsrcs()
256 ssrcs->push_back(candidate); in GenerateSsrcs()
426 std::vector<uint32> ssrcs; in AddStreamParams() local
428 GenerateSctpSids(*current_streams, &ssrcs); in AddStreamParams()
431 GenerateSsrcs(*current_streams, num_ssrcs, &ssrcs); in AddStreamParams()
434 content_description->AddLegacyStream(ssrcs[0], ssrcs[1]); in AddStreamParams()
437 content_description->AddLegacyStream(ssrcs[0]); in AddStreamParams()
461 std::vector<uint32> ssrcs; in AddStreamParams() local
463 GenerateSctpSids(*current_streams, &ssrcs); in AddStreamParams()
[all …]
Dssrcmuxfilter_unittest.cc113 stream2.ssrcs.push_back(kSsrc2); in TEST()
114 stream2.ssrcs.push_back(kSsrc3); in TEST()
Dmediasession_unittest.cc1064 ASSERT_EQ(1U, audio_streams[0].ssrcs.size()); in TEST_F()
1065 EXPECT_NE(0U, audio_streams[0].ssrcs[0]); in TEST_F()
1067 ASSERT_EQ(1U, audio_streams[1].ssrcs.size()); in TEST_F()
1068 EXPECT_NE(0U, audio_streams[1].ssrcs[0]); in TEST_F()
1093 ASSERT_EQ(1U, data_streams[0].ssrcs.size()); in TEST_F()
1094 EXPECT_NE(0U, data_streams[0].ssrcs[0]); in TEST_F()
1096 ASSERT_EQ(1U, data_streams[1].ssrcs.size()); in TEST_F()
1097 EXPECT_NE(0U, data_streams[1].ssrcs[0]); in TEST_F()
1146 ASSERT_EQ(1U, updated_audio_streams[1].ssrcs.size()); in TEST_F()
1147 EXPECT_NE(0U, updated_audio_streams[1].ssrcs[0]); in TEST_F()
[all …]
Dmediamessages_unittest.cc86 stream.ssrcs.push_back(ssrc1); in CreateStream()
87 stream.ssrcs.push_back(ssrc2); in CreateStream()
89 cricket::SsrcGroup(semantics, stream.ssrcs)); in CreateStream()
Dchannel_unittest.cc734 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInLocalContent()
740 stream2.ssrcs.push_back(kSsrc2); in TestUpdateStreamsInLocalContent()
746 stream3.ssrcs.push_back(kSsrc3); in TestUpdateStreamsInLocalContent()
774 stream1.ssrcs.clear(); in TestUpdateStreamsInLocalContent()
801 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInRemoteContent()
807 stream2.ssrcs.push_back(kSsrc2); in TestUpdateStreamsInRemoteContent()
813 stream3.ssrcs.push_back(kSsrc3); in TestUpdateStreamsInRemoteContent()
842 stream1.ssrcs.clear(); in TestUpdateStreamsInRemoteContent()
868 stream1.ssrcs.push_back(kSsrc1); in TestChangeStreamParamsInContent()
874 stream2.ssrcs.push_back(kSsrc2); in TestChangeStreamParamsInContent()
[all …]
Dmediasessionclient_unittest.cc2546 stream.ssrcs.push_back(1001); in TestSendVideoStreamUpdate()
2564 stream.ssrcs.clear(); in TestSendVideoStreamUpdate()
2622 ASSERT_EQ(1U, last_streams_added_.audio()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2645 ASSERT_EQ(1U, last_streams_added_.audio()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2654 ASSERT_EQ(1U, last_streams_added_.video()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2673 ASSERT_EQ(1U, last_streams_added_.video()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2704 ASSERT_EQ(1U, last_streams_removed_.audio()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2712 ASSERT_EQ(1U, last_streams_removed_.video()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
2720 ASSERT_EQ(1U, last_streams_removed_.video()[0].ssrcs.size()); in TestStreamsUpdateAndViewRequests()
Dmediasessionclient.cc666 stream.ssrcs.push_back(sid); in ParseJingleSctpDataContent()
1045 if (!stream->ssrcs.empty()) { in CreateJingleSctpDataContentElem()
1046 AddXmlAttr(stream_elem, QN_SID, stream->ssrcs[0]); in CreateJingleSctpDataContentElem()
Dcall.cc522 stream.ssrcs.push_back(ssrc); in StartScreencast()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dwebrtcsdp_unittest.cc454 video_stream1.ssrcs.push_back(kVideoTrack1Ssrc); in WebRtcSdpTest()
460 video_stream2.ssrcs.push_back(kVideoTrack2Ssrc); in WebRtcSdpTest()
466 video_stream3.ssrcs.push_back(kVideoTrack3Ssrc); in WebRtcSdpTest()
467 video_stream3.ssrcs.push_back(kVideoTrack4Ssrc); in WebRtcSdpTest()
468 cricket::SsrcGroup ssrc_group(kFecSsrcGroupSemantics, video_stream3.ssrcs); in WebRtcSdpTest()
626 audio_stream1.ssrcs.push_back(kAudioTrack1Ssrc); in CreateAudioContentDescription()
632 audio_stream2.ssrcs.push_back(kAudioTrack2Ssrc); in CreateAudioContentDescription()
1000 data_stream.ssrcs.push_back(kDataChannelSsrc); in AddRtpDataChannel()
Dwebrtcsdp.cc1386 if (track->ssrc_groups[i].ssrcs.empty()) { in BuildRtpContentAttributes()
1393 track->ssrc_groups[i].ssrcs.begin(); in BuildRtpContentAttributes()
1394 for (; ssrc != track->ssrc_groups[i].ssrcs.end(); ++ssrc) { in BuildRtpContentAttributes()
1400 for (size_t i = 0; i < track->ssrcs.size(); ++i) { in BuildRtpContentAttributes()
1401 uint32 ssrc = track->ssrcs[i]; in BuildRtpContentAttributes()
2560 if (ssrc_group->ssrcs.empty()) { in ParseContent()
2563 uint32 ssrc = ssrc_group->ssrcs.front(); in ParseContent()
2710 std::vector<uint32> ssrcs; in ParseSsrcGroupAttribute() local
2713 ssrcs.push_back(ssrc); in ParseSsrcGroupAttribute()
2715 ssrc_groups->push_back(SsrcGroup(semantics, ssrcs)); in ParseSsrcGroupAttribute()
/external/chromium_org/media/cast/rtcp/
Drtcp_utility.h135 uint32 ssrcs[kRtcpMaxNumberOfRembFeedbackSsrcs]; member
Drtcp_receiver.cc422 if (rtcp_field.remb_item.ssrcs[i] == ssrc_) { in HandlePayloadSpecificRembItem()
Drtcp_utility.cc830 big_endian_reader.ReadU32(&field_.remb_item.ssrcs[i]); in ParsePayloadSpecificRembItem()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc2599 stream1.ssrcs.push_back(1); in TEST_F()
2602 stream2.ssrcs.push_back(2); in TEST_F()
2746 stream.ssrcs.push_back(kSsrc2); in TEST_F()
2758 stream.ssrcs.push_back(kSsrc2); in TEST_F()
2776 stream.ssrcs.push_back(kSsrc2); in TEST_F()

12