| 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 // This is the main interface for the cast transport sender. The cast sender | 5 // This is the main interface for the cast transport sender. The cast sender |
| 6 // handles the cast pipeline from encoded frames (both audio and video), to | 6 // handles the cast pipeline from encoded frames (both audio and video), to |
| 7 // encryption, packetization and transport. | 7 // encryption, packetization and transport. |
| 8 // All configurations are done at creation. | 8 // All configurations are done at creation. |
| 9 | 9 |
| 10 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ | 10 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame, | 53 virtual void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame, |
| 54 const base::TimeTicks& capture_time) = 0; | 54 const base::TimeTicks& capture_time) = 0; |
| 55 | 55 |
| 56 // Builds an RTCP packet and sends it to the network. | 56 // Builds an RTCP packet and sends it to the network. |
| 57 virtual void SendRtcpFromRtpSender( | 57 virtual void SendRtcpFromRtpSender( |
| 58 uint32 packet_type_flags, | 58 uint32 packet_type_flags, |
| 59 const RtcpSenderInfo& sender_info, | 59 const RtcpSenderInfo& sender_info, |
| 60 const RtcpDlrrReportBlock& dlrr, | 60 const RtcpDlrrReportBlock& dlrr, |
| 61 const RtcpSenderLogMessage& sender_log) = 0; | 61 const RtcpSenderLogMessage& sender_log) = 0; |
| 62 | 62 |
| 63 // Retransmision request. | 63 // Retransmission request. |
| 64 virtual void ResendPackets( | 64 virtual void ResendPackets( |
| 65 const MissingFramesAndPacketsMap& missing_packets) = 0; | 65 const MissingFramesAndPacketsMap& missing_packets) = 0; |
| 66 | 66 |
| 67 // Retrieves audio RTP statistics. | 67 // Retrieves audio RTP statistics. |
| 68 virtual void RtpAudioStatistics(const base::TimeTicks& now, | 68 virtual void RtpAudioStatistics(const base::TimeTicks& now, |
| 69 RtcpSenderInfo* sender_info) = 0; | 69 RtcpSenderInfo* sender_info) = 0; |
| 70 | 70 |
| 71 // Retrieves audio RTP statistics. | 71 // Retrieves audio RTP statistics. |
| 72 virtual void RtpVideoStatistics(const base::TimeTicks& now, | 72 virtual void RtpVideoStatistics(const base::TimeTicks& now, |
| 73 RtcpSenderInfo* sender_info) = 0; | 73 RtcpSenderInfo* sender_info) = 0; |
| 74 }; |
| 74 | 75 |
| 75 } // namespace transport | 76 } // namespace transport |
| 76 } // namespace cast | 77 } // namespace cast |
| 77 } // namespace media | 78 } // namespace media |
| 78 | 79 |
| 79 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ | 80 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ |
| OLD | NEW |