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

Unified Diff: chrome/browser/media/cast_transport_host_filter.h

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ipc changes Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/cast_transport_host_filter.h
diff --git a/chrome/browser/media/cast_transport_host_filter.h b/chrome/browser/media/cast_transport_host_filter.h
index b241d9e3de84484de16c7a405e6eb2af3f4e8d54..a30b12d721425003480196cb7b0e72cd3337e973 100644
--- a/chrome/browser/media/cast_transport_host_filter.h
+++ b/chrome/browser/media/cast_transport_host_filter.h
@@ -24,11 +24,18 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
void NotifyStatusChange(
int32 channel_id,
media::cast::CastTransportStatus result);
- void ReceivedPacket(
- int32 channel_id,
- scoped_ptr<media::cast::Packet> result);
void RawEvents(int32 channel_id,
miu 2014/07/18 00:06:23 naming: Let's prepend a verb at the beginning of t
Alpha Left Google 2014/07/18 01:14:30 Done.
- const std::vector<media::cast::PacketEvent>& packet_events);
+ const std::vector<media::cast::PacketEvent>& packet_events,
+ const std::vector<media::cast::FrameEvent>& frame_events);
+ void Rtt(int32 channel_id,
+ uint32 ssrc,
+ base::TimeDelta rtt,
+ base::TimeDelta avg_rtt,
+ base::TimeDelta min_rtt,
+ base::TimeDelta max_rtt);
+ void CastMessage(int32 channel_id,
+ uint32 ssrc,
+ const media::cast::RtcpCastMessage& cast_message);
// BrowserMessageFilter implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -46,10 +53,11 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
void OnInsertCodedVideoFrame(
int32 channel_id,
const media::cast::EncodedFrame& video_frame);
- void OnSendRtcpFromRtpSender(
+ void OnSendSenderReport(
int32 channel_id,
- const media::cast::SendRtcpFromRtpSenderData& data,
- const media::cast::RtcpDlrrReportBlock& dlrr);
+ uint32 ssrc,
+ base::TimeTicks current_time,
+ uint32 current_time_as_rtp_timestamp);
void OnResendPackets(
int32 channel_id,
bool is_audio,
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | chrome/browser/media/cast_transport_host_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698