/external/webrtc/talk/media/base/ |
D | rtpdataengine.cc | 56 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 …]
|
D | rtpdataengine.h | 41 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_;
|
D | codec.cc | 311 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()
|
D | codec.h | 212 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
|
D | codec_unittest.cc | 33 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 …]
|
D | hybriddataengine.h | 66 virtual const std::vector<DataCodec>& data_codecs() { return codecs_; } in data_codecs() 71 std::vector<DataCodec> codecs_;
|
D | fakemediaengine.h | 620 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_;
|
D | rtpdataengine_unittest.cc | 172 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()
|
D | mediaengine.h | 217 virtual const std::vector<DataCodec>& data_codecs() = 0;
|
D | mediachannel.h | 1172 struct DataSendParameters : RtpSendParameters<DataCodec, DataOptions> { 1184 struct DataRecvParameters : RtpParameters<DataCodec> {
|
/external/webrtc/talk/media/sctp/ |
D | sctpdataengine.h | 100 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);
|
D | sctpdataengine.cc | 298 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/ |
D | mediasession_unittest.cc | 81 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 …]
|
D | channelmanager.h | 89 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const;
|
D | mediasession.h | 53 typedef std::vector<DataCodec> DataCodecs; 392 class DataContentDescription : public MediaContentDescriptionImpl<DataCodec> {
|
D | mediasession.cc | 346 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()
|
D | channelmanager.cc | 181 std::vector<DataCodec>* codecs) const { in GetSupportedDataCodecs()
|
D | channel_unittest.cc | 70 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()
|
D | channel.cc | 2132 for (const DataCodec& codec : data->codecs()) { in SetLocalContent_w() 2184 RtpSendParametersFromMediaDescription<DataCodec>(data, &send_params); in SetRemoteContent_w()
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp_unittest.cc | 54 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()
|
D | webrtcsdp.cc | 1230 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()
|