Chromium Code Reviews| Index: talk/session/media/bundlefilter.h |
| diff --git a/talk/session/media/bundlefilter.h b/talk/session/media/bundlefilter.h |
| index 3717376668f33d7bf838f84e8835d98cd6453e9c..dcab9f5ee5ecb25f40a5011d64d9a7a5939f5376 100755 |
| --- a/talk/session/media/bundlefilter.h |
| +++ b/talk/session/media/bundlefilter.h |
| @@ -28,6 +28,8 @@ |
| #ifndef TALK_SESSION_MEDIA_BUNDLEFILTER_H_ |
| #define TALK_SESSION_MEDIA_BUNDLEFILTER_H_ |
| +#include <stdint.h> |
| + |
| #include <set> |
| #include <vector> |
| @@ -51,28 +53,17 @@ class BundleFilter { |
| ~BundleFilter(); |
| // Determines packet belongs to valid cricket::BaseChannel. |
| - bool DemuxPacket(const char* data, size_t len, bool rtcp); |
| + bool DemuxPacket(const uint8_t* data, size_t len); |
|
hta-webrtc
2015/11/12 16:47:53
Since that's not what it does any more, what about
juberti
2015/11/13 07:34:23
This name still seems fine to me. In the future th
pbos-webrtc
2015/11/13 11:10:16
Going with not changing it, but I changed the comm
|
| // Adds the supported payload type. |
| void AddPayloadType(int payload_type); |
| - // Adding a valid source to the filter. |
| - bool AddStream(const StreamParams& stream); |
| - |
| - // Removes source from the filter. |
| - bool RemoveStream(uint32_t ssrc); |
| - |
| - // Utility methods added for unitest. |
| - // True if |streams_| is not empty. |
| - bool HasStreams() const; |
| - bool FindStream(uint32_t ssrc) const; |
| + // Public for unittests. |
| bool FindPayloadType(int pl_type) const; |
| void ClearAllPayloadTypes(); |
| - |
| private: |
| std::set<int> payload_types_; |
| - std::vector<StreamParams> streams_; |
| }; |
| } // namespace cricket |