Home
last modified time | relevance | path

Searched refs:DataCodec (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/talk/media/base/
Drtpdataengine.cc56 DataCodec(kGoogleRtpDataCodecId, in RtpDataEngine()
69 bool FindCodecByName(const std::vector<DataCodec>& codecs, in FindCodecByName()
70 const std::string& name, DataCodec* codec_out) { in FindCodecByName()
71 std::vector<DataCodec>::const_iterator iter; in FindCodecByName()
111 const DataCodec* FindUnknownCodec(const std::vector<DataCodec>& codecs) { in FindUnknownCodec()
112 DataCodec data_codec(kGoogleRtpDataCodecId, kGoogleRtpDataCodecName, 0); in FindUnknownCodec()
113 std::vector<DataCodec>::const_iterator iter; in FindUnknownCodec()
122 const DataCodec* FindKnownCodec(const std::vector<DataCodec>& codecs) { in FindKnownCodec()
123 DataCodec data_codec(kGoogleRtpDataCodecId, kGoogleRtpDataCodecName, 0); in FindKnownCodec()
124 std::vector<DataCodec>::const_iterator iter; in FindKnownCodec()
[all …]
Drtpdataengine.h41 struct DataCodec;
49 virtual const std::vector<DataCodec>& data_codecs() { in data_codecs()
59 std::vector<DataCodec> data_codecs_;
125 bool SetSendCodecs(const std::vector<DataCodec>& codecs);
126 bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
131 std::vector<DataCodec> send_codecs_;
132 std::vector<DataCodec> recv_codecs_;
Dcodec.cc311 DataCodec::DataCodec(int id, const std::string& name, int preference) in DataCodec() function in cricket::DataCodec
315 DataCodec::DataCodec() : Codec() { in DataCodec() function in cricket::DataCodec
319 DataCodec::DataCodec(const DataCodec& c) = default;
321 DataCodec& DataCodec::operator=(const DataCodec& c) = default;
323 std::string DataCodec::ToString() const { in ToString()
Dcodec.h212 struct DataCodec : public Codec { struct
213 DataCodec(int id, const std::string& name, int preference);
214 DataCodec();
215 DataCodec(const DataCodec& c);
217 DataCodec& operator=(const DataCodec& c); argument
Dcodec_unittest.cc33 using cricket::DataCodec;
218 DataCodec c0(95, "D", 0); in TEST_F()
219 EXPECT_TRUE(c0.Matches(DataCodec(95, "", 0))); in TEST_F()
220 EXPECT_FALSE(c0.Matches(DataCodec(96, "", 0))); in TEST_F()
223 DataCodec c1(96, "D", 3); in TEST_F()
224 EXPECT_TRUE(c1.Matches(DataCodec(96, "D", 0))); in TEST_F()
225 EXPECT_TRUE(c1.Matches(DataCodec(97, "D", 0))); in TEST_F()
226 EXPECT_TRUE(c1.Matches(DataCodec(96, "d", 0))); in TEST_F()
227 EXPECT_TRUE(c1.Matches(DataCodec(97, "d", 0))); in TEST_F()
228 EXPECT_FALSE(c1.Matches(DataCodec(96, "", 0))); in TEST_F()
[all …]
Dhybriddataengine.h66 virtual const std::vector<DataCodec>& data_codecs() { return codecs_; } in data_codecs()
71 std::vector<DataCodec> codecs_;
Dfakemediaengine.h620 const std::vector<DataCodec>& recv_codecs() const { return recv_codecs_; } in recv_codecs()
621 const std::vector<DataCodec>& send_codecs() const { return send_codecs_; } in send_codecs()
622 const std::vector<DataCodec>& codecs() const { return send_codecs(); } in codecs()
667 bool SetRecvCodecs(const std::vector<DataCodec>& codecs) { in SetRecvCodecs()
675 bool SetSendCodecs(const std::vector<DataCodec>& codecs) { in SetSendCodecs()
688 std::vector<DataCodec> recv_codecs_;
689 std::vector<DataCodec> send_codecs_;
932 virtual void SetDataCodecs(const std::vector<DataCodec>& data_codecs) { in SetDataCodecs()
936 virtual const std::vector<DataCodec>& data_codecs() { return data_codecs_; } in data_codecs()
942 std::vector<DataCodec> data_codecs_;
Drtpdataengine_unittest.cc172 cricket::DataCodec known_codec; in TEST_F()
175 cricket::DataCodec unknown_codec; in TEST_F()
267 cricket::DataCodec codec; in TEST_F()
331 cricket::DataCodec codec; in TEST_F()
378 cricket::DataCodec codec; in TEST_F()
444 cricket::DataCodec codec; in TEST_F()
Dmediaengine.h217 virtual const std::vector<DataCodec>& data_codecs() = 0;
Dmediachannel.h1172 struct DataSendParameters : RtpSendParameters<DataCodec, DataOptions> {
1184 struct DataRecvParameters : RtpParameters<DataCodec> {
/external/webrtc/talk/media/sctp/
Dsctpdataengine.h100 virtual const std::vector<DataCodec>& data_codecs() { return codecs_; } in data_codecs()
106 std::vector<DataCodec> codecs_;
190 bool SetSendCodecs(const std::vector<DataCodec>& codecs);
191 bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
Dsctpdataengine.cc298 cricket::DataCodec codec(kGoogleSctpDataCodecId, kGoogleSctpDataCodecName, 0); in SctpDataEngine()
950 static bool GetCodecIntParameter(const std::vector<DataCodec>& codecs, in GetCodecIntParameter()
968 bool SctpDataMediaChannel::SetSendCodecs(const std::vector<DataCodec>& codecs) { in SetSendCodecs()
974 bool SctpDataMediaChannel::SetRecvCodecs(const std::vector<DataCodec>& codecs) { in SetRecvCodecs()
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc81 using cricket::DataCodec;
127 static const DataCodec kDataCodecs1[] = {
128 DataCodec(98, "binary-data", 2),
129 DataCodec(99, "utf8-text", 1)
132 static const DataCodec kDataCodecs2[] = {
133 DataCodec(126, "binary-data", 2),
134 DataCodec(127, "utf8-text", 1)
137 static const DataCodec kDataCodecsAnswer[] = {
138 DataCodec(98, "binary-data", 2),
139 DataCodec(99, "utf8-text", 1)
[all …]
Dchannelmanager.h89 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const;
Dmediasession.h53 typedef std::vector<DataCodec> DataCodecs;
392 class DataContentDescription : public MediaContentDescriptionImpl<DataCodec> {
Dmediasession.cc346 void FilterDataCodecs(std::vector<DataCodec>* codecs, bool sctp) { in FilterDataCodecs()
349 for (std::vector<DataCodec>::iterator iter = codecs->begin(); in FilterDataCodecs()
1458 used_pltypes.FindAndSetIdUsed<DataCodec>(data_codecs); in GetCodecsToOffer()
1465 FindCodecsToOffer<DataCodec>(data_codecs_, data_codecs, &used_pltypes); in GetCodecsToOffer()
1865 std::vector<DataCodec> data_codecs(data_codecs_); in AddDataContentForAnswer()
Dchannelmanager.cc181 std::vector<DataCodec>* codecs) const { in GetSupportedDataCodecs()
Dchannel_unittest.cc70 static const cricket::DataCodec kGoogleDataCodec(101, "google-data", 0);
114 cricket::DataCodec,
2621 bool ChannelTest<DataTraits>::CodecMatches(const cricket::DataCodec& c1, in CodecMatches()
2622 const cricket::DataCodec& c2) { in CodecMatches()
Dchannel.cc2132 for (const DataCodec& codec : data->codecs()) { in SetLocalContent_w()
2184 RtpSendParametersFromMediaDescription<DataCodec>(data, &send_params); in SetRemoteContent_w()
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp_unittest.cc54 using cricket::DataCodec;
1108 DataCodec codec(cricket::kGoogleSctpDataCodecId, in AddSctpDataChannel()
1124 data_desc_->AddCodec(DataCodec(101, "google-data", 1)); in AddRtpDataChannel()
1709 cricket::DataCodec codec( in TEST_F()
2261 std::vector<cricket::DataCodec> codecs(dcdesc->codecs()); in TEST_F()
Dwebrtcsdp.cc1230 for (std::vector<cricket::DataCodec>::const_iterator it = in BuildMediaDescription()
1241 for (std::vector<cricket::DataCodec>::const_iterator it = in BuildMediaDescription()
1600 cricket::DataCodec codec_port( in AddSctpDataCodec()
1710 for (std::vector<cricket::DataCodec>::const_iterator it = in BuildRtpMap()
2965 data_desc->AddCodec(cricket::DataCodec(payload_type, encoding_name, in ParseRtpmapAttribute()