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 15 matching lines...) Expand all Loading... |
26 */ | 26 */ |
27 | 27 |
28 #ifndef TALK_SESSION_MEDIA_BUNDLEFILTER_H_ | 28 #ifndef TALK_SESSION_MEDIA_BUNDLEFILTER_H_ |
29 #define TALK_SESSION_MEDIA_BUNDLEFILTER_H_ | 29 #define TALK_SESSION_MEDIA_BUNDLEFILTER_H_ |
30 | 30 |
31 #include <stdint.h> | 31 #include <stdint.h> |
32 | 32 |
33 #include <set> | 33 #include <set> |
34 #include <vector> | 34 #include <vector> |
35 | 35 |
36 #include "talk/media/base/streamparams.h" | |
37 #include "webrtc/base/basictypes.h" | 36 #include "webrtc/base/basictypes.h" |
| 37 #include "webrtc/media/base/streamparams.h" |
38 | 38 |
39 namespace cricket { | 39 namespace cricket { |
40 | 40 |
41 // In case of single RTP session and single transport channel, all session | 41 // In case of single RTP session and single transport channel, all session |
42 // (or media) channels share a common transport channel. Hence they all get | 42 // (or media) channels share a common transport channel. Hence they all get |
43 // SignalReadPacket when packet received on transport channel. This requires | 43 // SignalReadPacket when packet received on transport channel. This requires |
44 // cricket::BaseChannel to know all the valid sources, else media channel | 44 // cricket::BaseChannel to know all the valid sources, else media channel |
45 // will decode invalid packets. | 45 // will decode invalid packets. |
46 // | 46 // |
47 // This class determines whether a packet is destined for cricket::BaseChannel. | 47 // This class determines whether a packet is destined for cricket::BaseChannel. |
(...skipping 14 matching lines...) Expand all Loading... |
62 bool FindPayloadType(int pl_type) const; | 62 bool FindPayloadType(int pl_type) const; |
63 void ClearAllPayloadTypes(); | 63 void ClearAllPayloadTypes(); |
64 | 64 |
65 private: | 65 private: |
66 std::set<int> payload_types_; | 66 std::set<int> payload_types_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace cricket | 69 } // namespace cricket |
70 | 70 |
71 #endif // TALK_SESSION_MEDIA_BUNDLEFILTER_H_ | 71 #endif // TALK_SESSION_MEDIA_BUNDLEFILTER_H_ |
OLD | NEW |