Searched refs:DataCodec (Results 1 – 15 of 15) sorted by relevance
/external/webrtc/media/base/ |
D | rtp_data_engine.cc | 40 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 …]
|
D | rtp_data_engine.h | 36 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_;
|
D | codec_unittest.cc | 23 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 …]
|
D | fake_media_engine.h | 480 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_;
|
D | rtp_data_engine_unittest.cc | 127 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()
|
D | fake_media_engine.cc | 428 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()
|
D | media_engine.h | 161 virtual const std::vector<DataCodec>& data_codecs() = 0;
|
D | codec.h | 220 typedef RtpDataCodec DataCodec; typedef
|
D | media_channel.h | 979 struct DataSendParameters : RtpSendParameters<DataCodec> {}; 981 struct DataRecvParameters : RtpParameters<DataCodec> {};
|
/external/webrtc/pc/ |
D | channel_manager.h | 79 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const;
|
D | channel_manager.cc | 117 std::vector<DataCodec>* codecs) const { in GetSupportedDataCodecs()
|
D | channel.cc | 1289 for (const DataCodec& codec : data->codecs()) { in SetLocalContent_w() 1347 RtpSendParametersFromMediaDescription<DataCodec>( in SetRemoteContent_w()
|
D | channel_unittest.cc | 55 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()
|
D | media_session.cc | 1916 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()
|
D | webrtc_sdp_unittest.cc | 59 using cricket::DataCodec; 1817 data_desc_->AddCodec(DataCodec(101, "google-data")); in AddRtpDataChannel()
|