Chromium Code Reviews| Index: webrtc/media/base/rtpdataengine.cc |
| diff --git a/webrtc/media/base/rtpdataengine.cc b/webrtc/media/base/rtpdataengine.cc |
| index 99aa3b14a5690fdee1394875019ee98aeae9f0e0..6c3837d70d853f1bc1886090e1bf5912cbc0253b 100644 |
| --- a/webrtc/media/base/rtpdataengine.cc |
| +++ b/webrtc/media/base/rtpdataengine.cc |
| @@ -35,7 +35,7 @@ static const size_t kMaxSrtpHmacOverhead = 16; |
| RtpDataEngine::RtpDataEngine() { |
| data_codecs_.push_back( |
| - DataCodec(kGoogleRtpDataCodecId, kGoogleRtpDataCodecName)); |
| + DataCodec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName)); |
| } |
| DataMediaChannel* RtpDataEngine::CreateChannel( |
| @@ -84,7 +84,7 @@ void RtpClock::Tick(double now, int* seq_num, uint32_t* timestamp) { |
| } |
| const DataCodec* FindUnknownCodec(const std::vector<DataCodec>& codecs) { |
| - DataCodec data_codec(kGoogleRtpDataCodecId, kGoogleRtpDataCodecName); |
| + DataCodec data_codec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName); |
|
ossu
2016/10/07 12:11:26
Does this not need to be changed if we want to avo
the sun
2016/10/08 18:55:06
Not really. Look at Codec::Matches() - it'll compa
|
| std::vector<DataCodec>::const_iterator iter; |
| for (iter = codecs.begin(); iter != codecs.end(); ++iter) { |
| if (!iter->Matches(data_codec)) { |
| @@ -95,7 +95,7 @@ const DataCodec* FindUnknownCodec(const std::vector<DataCodec>& codecs) { |
| } |
| const DataCodec* FindKnownCodec(const std::vector<DataCodec>& codecs) { |
| - DataCodec data_codec(kGoogleRtpDataCodecId, kGoogleRtpDataCodecName); |
| + DataCodec data_codec(kGoogleRtpDataCodecPlType, kGoogleRtpDataCodecName); |
| std::vector<DataCodec>::const_iterator iter; |
| for (iter = codecs.begin(); iter != codecs.end(); ++iter) { |
| if (iter->Matches(data_codec)) { |