| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_NET_RTCP_NET_RTCP_SENDER_H_ | 5 #ifndef MEDIA_CAST_TRANSPORT_RTCP_RTCP_BUILDER_H_ |
| 6 #define MEDIA_CAST_NET_RTCP_NET_RTCP_SENDER_H_ | 6 #define MEDIA_CAST_TRANSPORT_RTCP_RTCP_BUILDER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> |
| 10 | 11 |
| 11 #include "media/cast/cast_config.h" | 12 #include "media/cast/transport/cast_transport_defines.h" |
| 12 #include "media/cast/cast_defines.h" | 13 #include "media/cast/transport/pacing/paced_sender.h" |
| 13 #include "media/cast/rtcp/rtcp.h" | |
| 14 #include "media/cast/rtcp/rtcp_defines.h" | |
| 15 | 14 |
| 16 namespace media { | 15 namespace media { |
| 17 namespace cast { | 16 namespace cast { |
| 17 namespace transport { |
| 18 | 18 |
| 19 class RtcpBuilder { | 19 class RtcpBuilder { |
| 20 public: | 20 public: |
| 21 RtcpBuilder(PacedPacketSender* const paced_packet_sender, | 21 RtcpBuilder(PacedPacketSender* const paced_packet_sender, |
| 22 uint32 sending_ssrc, | 22 uint32 sending_ssrc, |
| 23 const std::string& c_name); | 23 const std::string& c_name); |
| 24 | 24 |
| 25 virtual ~RtcpBuilder(); | 25 virtual ~RtcpBuilder(); |
| 26 | 26 |
| 27 void SendRtcpFromRtpSender(uint32 packet_type_flags, | 27 void SendRtcpFromRtpSender(uint32 packet_type_flags, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 const uint32 ssrc_; | 66 const uint32 ssrc_; |
| 67 const std::string c_name_; | 67 const std::string c_name_; |
| 68 | 68 |
| 69 // Not owned by this class. | 69 // Not owned by this class. |
| 70 PacedPacketSender* transport_; | 70 PacedPacketSender* transport_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(RtcpBuilder); | 72 DISALLOW_COPY_AND_ASSIGN(RtcpBuilder); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace transport |
| 75 } // namespace cast | 76 } // namespace cast |
| 76 } // namespace media | 77 } // namespace media |
| 77 | 78 |
| 78 #endif // MEDIA_CAST_NET_RTCP_NET_RTCP_SENDER_H_ | 79 #endif // MEDIA_CAST_TRANSPORT_RTCP_RTCP_BUILDER_H_ |
| OLD | NEW |