| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "webrtc/pc/bundlefilter.h" | 11 #include "webrtc/pc/bundlefilter.h" |
| 12 | 12 |
| 13 #include "webrtc/base/logging.h" | |
| 14 #include "webrtc/media/base/rtputils.h" | 13 #include "webrtc/media/base/rtputils.h" |
| 14 #include "webrtc/rtc_base/logging.h" |
| 15 | 15 |
| 16 namespace cricket { | 16 namespace cricket { |
| 17 | 17 |
| 18 BundleFilter::BundleFilter() { | 18 BundleFilter::BundleFilter() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 BundleFilter::~BundleFilter() { | 21 BundleFilter::~BundleFilter() { |
| 22 } | 22 } |
| 23 | 23 |
| 24 bool BundleFilter::DemuxPacket(const uint8_t* data, size_t len) { | 24 bool BundleFilter::DemuxPacket(const uint8_t* data, size_t len) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 bool BundleFilter::FindPayloadType(int pl_type) const { | 41 bool BundleFilter::FindPayloadType(int pl_type) const { |
| 42 return payload_types_.find(pl_type) != payload_types_.end(); | 42 return payload_types_.find(pl_type) != payload_types_.end(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void BundleFilter::ClearAllPayloadTypes() { | 45 void BundleFilter::ClearAllPayloadTypes() { |
| 46 payload_types_.clear(); | 46 payload_types_.clear(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace cricket | 49 } // namespace cricket |
| OLD | NEW |