| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ | 5 #ifndef MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ |
| 6 #define MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ | 6 #define MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
| 11 #include "media/cast/logging/logging_defines.h" | 11 #include "media/cast/logging/logging_defines.h" |
| 12 #include "media/cast/logging/raw_event_subscriber.h" | 12 #include "media/cast/logging/raw_event_subscriber.h" |
| 13 #include "media/cast/rtcp/rtcp_defines.h" | 13 #include "media/cast/net/rtcp/rtcp_defines.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| 16 namespace cast { | 16 namespace cast { |
| 17 | 17 |
| 18 // A RawEventSubscriber implementation with the following properties: | 18 // A RawEventSubscriber implementation with the following properties: |
| 19 // - Only processes raw event types that are relevant for sending from cast | 19 // - Only processes raw event types that are relevant for sending from cast |
| 20 // receiver to cast sender via RTCP. | 20 // receiver to cast sender via RTCP. |
| 21 // - Captures information to be sent over to RTCP from raw event logs into the | 21 // - Captures information to be sent over to RTCP from raw event logs into the |
| 22 // more compact RtcpEvent struct. | 22 // more compact RtcpEvent struct. |
| 23 // - Orders events by RTP timestamp with a multimap. | 23 // - Orders events by RTP timestamp with a multimap. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // Ensures methods are only called on the main thread. | 70 // Ensures methods are only called on the main thread. |
| 71 base::ThreadChecker thread_checker_; | 71 base::ThreadChecker thread_checker_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(ReceiverRtcpEventSubscriber); | 73 DISALLOW_COPY_AND_ASSIGN(ReceiverRtcpEventSubscriber); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace cast | 76 } // namespace cast |
| 77 } // namespace media | 77 } // namespace media |
| 78 | 78 |
| 79 #endif // MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ | 79 #endif // MEDIA_CAST_RTCP_RECEIVER_RTCP_EVENT_SUBSCRIBER_H_ |
| OLD | NEW |