Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: chrome/renderer/media/cast_transport_sender_ipc.h

Issue 445933002: Cast: Move retransmission to the transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test compile Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_transport_sender_ipc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 26 matching lines...) Expand all
37 const media::cast::RtcpCastMessageCallback& cast_message_cb, 37 const media::cast::RtcpCastMessageCallback& cast_message_cb,
38 const media::cast::RtcpRttCallback& rtt_cb) OVERRIDE; 38 const media::cast::RtcpRttCallback& rtt_cb) OVERRIDE;
39 virtual void InsertCodedAudioFrame( 39 virtual void InsertCodedAudioFrame(
40 const media::cast::EncodedFrame& audio_frame) OVERRIDE; 40 const media::cast::EncodedFrame& audio_frame) OVERRIDE;
41 virtual void InsertCodedVideoFrame( 41 virtual void InsertCodedVideoFrame(
42 const media::cast::EncodedFrame& video_frame) OVERRIDE; 42 const media::cast::EncodedFrame& video_frame) OVERRIDE;
43 virtual void SendSenderReport( 43 virtual void SendSenderReport(
44 uint32 ssrc, 44 uint32 ssrc,
45 base::TimeTicks current_time, 45 base::TimeTicks current_time,
46 uint32 current_time_as_rtp_timestamp) OVERRIDE; 46 uint32 current_time_as_rtp_timestamp) OVERRIDE;
47 virtual void ResendPackets( 47 virtual void CancelSendingFrames(
48 bool is_audio, 48 uint32 ssrc,
49 const media::cast::MissingFramesAndPacketsMap& missing_packets, 49 const std::vector<uint32>& frame_ids) OVERRIDE;
50 bool cancel_rtx_if_not_in_list, 50 virtual void ResendFrameForKickstart(uint32 ssrc, uint32 frame_id) OVERRIDE;
51 base::TimeDelta dedupe_window)
52 OVERRIDE;
53 51
54 void OnNotifyStatusChange( 52 void OnNotifyStatusChange(
55 media::cast::CastTransportStatus status); 53 media::cast::CastTransportStatus status);
56 void OnRawEvents(const std::vector<media::cast::PacketEvent>& packet_events, 54 void OnRawEvents(const std::vector<media::cast::PacketEvent>& packet_events,
57 const std::vector<media::cast::FrameEvent>& frame_events); 55 const std::vector<media::cast::FrameEvent>& frame_events);
58 void OnRtt(uint32 ssrc, const media::cast::RtcpRttReport& rtt_report); 56 void OnRtt(uint32 ssrc, const media::cast::RtcpRttReport& rtt_report);
59 void OnRtcpCastMessage(uint32 ssrc, 57 void OnRtcpCastMessage(uint32 ssrc,
60 const media::cast::RtcpCastMessage& cast_message); 58 const media::cast::RtcpCastMessage& cast_message);
61 59
62 private: 60 private:
(...skipping 11 matching lines...) Expand all
74 media::cast::PacketReceiverCallback packet_callback_; 72 media::cast::PacketReceiverCallback packet_callback_;
75 media::cast::CastTransportStatusCallback status_callback_; 73 media::cast::CastTransportStatusCallback status_callback_;
76 media::cast::BulkRawEventsCallback raw_events_callback_; 74 media::cast::BulkRawEventsCallback raw_events_callback_;
77 typedef std::map<uint32, ClientCallbacks> ClientMap; 75 typedef std::map<uint32, ClientCallbacks> ClientMap;
78 ClientMap clients_; 76 ClientMap clients_;
79 77
80 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC); 78 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC);
81 }; 79 };
82 80
83 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ 81 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_
OLDNEW
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_transport_sender_ipc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698