Home
last modified time | relevance | path

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

/external/webrtc/media/base/
Drtp_data_engine.cc40 DataCodec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName)); in RtpDataEngine()
47 static const DataCodec* FindCodecByName(const std::vector<DataCodec>& codecs, in FindCodecByName()
49 for (const DataCodec& codec : codecs) { in FindCodecByName()
84 const DataCodec* FindUnknownCodec(const std::vector<DataCodec>& codecs) { in FindUnknownCodec()
85 DataCodec data_codec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName); in FindUnknownCodec()
86 std::vector<DataCodec>::const_iterator iter; in FindUnknownCodec()
95 const DataCodec* FindKnownCodec(const std::vector<DataCodec>& codecs) { in FindKnownCodec()
96 DataCodec data_codec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName); in FindKnownCodec()
97 std::vector<DataCodec>::const_iterator iter; in FindKnownCodec()
106 bool RtpDataMediaChannel::SetRecvCodecs(const std::vector<DataCodec>& codecs) { in SetRecvCodecs()
[all …]
Drtp_data_engine.h36 virtual const std::vector<DataCodec>& data_codecs() { return data_codecs_; } in data_codecs()
39 std::vector<DataCodec> data_codecs_;
94 bool SetSendCodecs(const std::vector<DataCodec>& codecs);
95 bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
99 std::vector<DataCodec> send_codecs_;
100 std::vector<DataCodec> recv_codecs_;
Dcodec_unittest.cc23 using cricket::DataCodec;
299 DataCodec c0(95, "D"); in TEST()
300 EXPECT_TRUE(c0.Matches(DataCodec(95, ""))); in TEST()
301 EXPECT_FALSE(c0.Matches(DataCodec(96, ""))); in TEST()
304 DataCodec c1(96, "D"); in TEST()
305 EXPECT_TRUE(c1.Matches(DataCodec(96, "D"))); in TEST()
306 EXPECT_TRUE(c1.Matches(DataCodec(97, "D"))); in TEST()
307 EXPECT_TRUE(c1.Matches(DataCodec(96, "d"))); in TEST()
308 EXPECT_TRUE(c1.Matches(DataCodec(97, "d"))); in TEST()
309 EXPECT_FALSE(c1.Matches(DataCodec(96, ""))); in TEST()
[all …]
Dfake_media_engine.h480 const std::vector<DataCodec>& recv_codecs() const;
481 const std::vector<DataCodec>& send_codecs() const;
482 const std::vector<DataCodec>& codecs() const;
502 bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
503 bool SetSendCodecs(const std::vector<DataCodec>& codecs);
506 std::vector<DataCodec> recv_codecs_;
507 std::vector<DataCodec> send_codecs_;
619 void SetDataCodecs(const std::vector<DataCodec>& data_codecs);
621 const std::vector<DataCodec>& data_codecs() override;
625 std::vector<DataCodec> data_codecs_;
Drtp_data_engine_unittest.cc127 cricket::DataCodec known_codec; in TEST_F()
130 cricket::DataCodec unknown_codec; in TEST_F()
221 cricket::DataCodec codec; in TEST_F()
267 cricket::DataCodec codec; in TEST_F()
331 cricket::DataCodec codec; in TEST_F()
Dfake_media_engine.cc428 const std::vector<DataCodec>& FakeDataMediaChannel::recv_codecs() const { in recv_codecs()
431 const std::vector<DataCodec>& FakeDataMediaChannel::send_codecs() const { in send_codecs()
434 const std::vector<DataCodec>& FakeDataMediaChannel::codecs() const { in codecs()
490 bool FakeDataMediaChannel::SetRecvCodecs(const std::vector<DataCodec>& codecs) { in SetRecvCodecs()
498 bool FakeDataMediaChannel::SetSendCodecs(const std::vector<DataCodec>& codecs) { in SetSendCodecs()
681 void FakeDataEngine::SetDataCodecs(const std::vector<DataCodec>& data_codecs) { in SetDataCodecs()
684 const std::vector<DataCodec>& FakeDataEngine::data_codecs() { in data_codecs()
Dmedia_engine.h161 virtual const std::vector<DataCodec>& data_codecs() = 0;
Dcodec.h220 typedef RtpDataCodec DataCodec; typedef
Dmedia_channel.h979 struct DataSendParameters : RtpSendParameters<DataCodec> {};
981 struct DataRecvParameters : RtpParameters<DataCodec> {};
/external/webrtc/pc/
Dchannel_manager.h79 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const;
Dchannel_manager.cc117 std::vector<DataCodec>* codecs) const { in GetSupportedDataCodecs()
Dchannel.cc1289 for (const DataCodec& codec : data->codecs()) { in SetLocalContent_w()
1347 RtpSendParametersFromMediaDescription<DataCodec>( in SetRemoteContent_w()
Dchannel_unittest.cc55 const cricket::DataCodec kGoogleDataCodec(101, "google-data");
2325 bool ChannelTest<DataTraits>::CodecMatches(const cricket::DataCodec& c1, in CodecMatches()
2326 const cricket::DataCodec& c2) { in CodecMatches()
Dmedia_session.cc1916 MergeCodecs<DataCodec>(rtp_data_codecs_, rtp_data_codecs, &used_pltypes); in GetCodecsForOffer()
1993 MergeCodecs<DataCodec>(filtered_offered_rtp_data_codecs, rtp_data_codecs, in GetCodecsForAnswer()
Dwebrtc_sdp_unittest.cc59 using cricket::DataCodec;
1817 data_desc_->AddCodec(DataCodec(101, "google-data")); in AddRtpDataChannel()