OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 for (const auto& codec : codecs) { | 228 for (const auto& codec : codecs) { |
229 if (codec.id == payload_type) { | 229 if (codec.id == payload_type) { |
230 *codec_out = codec; | 230 *codec_out = codec; |
231 return true; | 231 return true; |
232 } | 232 } |
233 } | 233 } |
234 return false; | 234 return false; |
235 } | 235 } |
236 | 236 |
237 bool CodecNamesEq(const std::string& name1, const std::string& name2); | 237 bool CodecNamesEq(const std::string& name1, const std::string& name2); |
238 bool HasNack(const VideoCodec& codec); | 238 bool HasNack(const Codec& codec); |
239 bool HasRemb(const VideoCodec& codec); | 239 bool HasRemb(const Codec& codec); |
240 bool HasTransportCc(const VideoCodec& codec); | 240 bool HasTransportCc(const Codec& codec); |
241 | 241 |
242 } // namespace cricket | 242 } // namespace cricket |
243 | 243 |
244 #endif // TALK_MEDIA_BASE_CODEC_H_ | 244 #endif // TALK_MEDIA_BASE_CODEC_H_ |
OLD | NEW |