| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 #ifndef WEBRTC_CALL_RTCP_DEMUXER_H_ | 11 #ifndef WEBRTC_CALL_RTCP_DEMUXER_H_ |
| 12 #define WEBRTC_CALL_RTCP_DEMUXER_H_ | 12 #define WEBRTC_CALL_RTCP_DEMUXER_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/api/array_view.h" |
| 18 #include "webrtc/call/ssrc_binding_observer.h" | 19 #include "webrtc/call/ssrc_binding_observer.h" |
| 19 #include "webrtc/rtc_base/array_view.h" | |
| 20 #include "webrtc/rtc_base/basictypes.h" | 20 #include "webrtc/rtc_base/basictypes.h" |
| 21 | 21 |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 | 23 |
| 24 class RtcpPacketSinkInterface; | 24 class RtcpPacketSinkInterface; |
| 25 | 25 |
| 26 // This class represents the RTCP demuxing, for a single RTP session (i.e., one | 26 // This class represents the RTCP demuxing, for a single RTP session (i.e., one |
| 27 // SSRC space, see RFC 7656). It isn't thread aware, leaving responsibility of | 27 // SSRC space, see RFC 7656). It isn't thread aware, leaving responsibility of |
| 28 // multithreading issues to the user of this class. | 28 // multithreading issues to the user of this class. |
| 29 class RtcpDemuxer : public SsrcBindingObserver { | 29 class RtcpDemuxer : public SsrcBindingObserver { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Sinks which will receive notifications of all incoming RTCP packets. | 77 // Sinks which will receive notifications of all incoming RTCP packets. |
| 78 // Additional/removal of sinks is expected to be significantly less frequent | 78 // Additional/removal of sinks is expected to be significantly less frequent |
| 79 // than RTCP message reception; container chosen for iteration performance. | 79 // than RTCP message reception; container chosen for iteration performance. |
| 80 std::vector<RtcpPacketSinkInterface*> broadcast_sinks_; | 80 std::vector<RtcpPacketSinkInterface*> broadcast_sinks_; |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace webrtc | 83 } // namespace webrtc |
| 84 | 84 |
| 85 #endif // WEBRTC_CALL_RTCP_DEMUXER_H_ | 85 #endif // WEBRTC_CALL_RTCP_DEMUXER_H_ |
| OLD | NEW |