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 CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ |
6 #define CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ | 6 #define CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ |
7 | 7 |
8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
9 #include "base/time/default_tick_clock.h" | 9 #include "base/time/default_tick_clock.h" |
10 #include "chrome/common/cast_messages.h" | 10 #include "chrome/common/cast_messages.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 int32 channel_id, | 47 int32 channel_id, |
48 const media::cast::transport::EncodedFrame& video_frame); | 48 const media::cast::transport::EncodedFrame& video_frame); |
49 void OnSendRtcpFromRtpSender( | 49 void OnSendRtcpFromRtpSender( |
50 int32 channel_id, | 50 int32 channel_id, |
51 const media::cast::transport::SendRtcpFromRtpSenderData& data, | 51 const media::cast::transport::SendRtcpFromRtpSenderData& data, |
52 const media::cast::transport::RtcpDlrrReportBlock& dlrr); | 52 const media::cast::transport::RtcpDlrrReportBlock& dlrr); |
53 void OnResendPackets( | 53 void OnResendPackets( |
54 int32 channel_id, | 54 int32 channel_id, |
55 bool is_audio, | 55 bool is_audio, |
56 const media::cast::MissingFramesAndPacketsMap& missing_packets, | 56 const media::cast::MissingFramesAndPacketsMap& missing_packets, |
57 bool cancel_rtx_if_not_in_list); | 57 bool cancel_rtx_if_not_in_list, |
| 58 base::TimeDelta dedupe_window); |
58 void OnNew( | 59 void OnNew( |
59 int32 channel_id, | 60 int32 channel_id, |
60 const net::IPEndPoint& remote_end_point); | 61 const net::IPEndPoint& remote_end_point); |
61 void OnDelete(int32 channel_id); | 62 void OnDelete(int32 channel_id); |
62 | 63 |
63 IDMap<media::cast::transport::CastTransportSender, IDMapOwnPointer> id_map_; | 64 IDMap<media::cast::transport::CastTransportSender, IDMapOwnPointer> id_map_; |
64 | 65 |
65 // Clock used by Cast transport. | 66 // Clock used by Cast transport. |
66 base::DefaultTickClock clock_; | 67 base::DefaultTickClock clock_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(CastTransportHostFilter); | 69 DISALLOW_COPY_AND_ASSIGN(CastTransportHostFilter); |
69 }; | 70 }; |
70 | 71 |
71 } // namespace cast | 72 } // namespace cast |
72 | 73 |
73 #endif // CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ | 74 #endif // CHROME_BROWSER_MEDIA_CAST_TRANSPORT_HOST_FILTER_H_ |
OLD | NEW |