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

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

Issue 1709863002: Add Cast PLI support on sender side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address dcheng's comments. Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2eb01e95fcf3528bdaf80becad9682a79201087b..8f0c5eaec81f2f53c07f7e26b1b155c4e60421bc 100644
--- a/chrome/browser/media/cast_transport_host_filter.h
+++ b/chrome/browser/media/cast_transport_host_filter.h
@@ -34,10 +34,13 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
// Status callback to create UdpTransport.
void OnStatusChanged(int32_t channel_id,
media::cast::CastTransportStatus status);
- void SendRtt(int32_t channel_id, uint32_t ssrc, base::TimeDelta rtt);
+ void SendRtt(int32_t channel_id,
+ uint32_t rtp_sender_ssrc,
+ base::TimeDelta rtt);
void SendCastMessage(int32_t channel_id,
- uint32_t ssrc,
+ uint32_t rtp_sender_ssrc,
const media::cast::RtcpCastMessage& cast_message);
+ void SendReceivedPli(int32_t channel_id, uint32_t rtp_sender_ssrc);
// BrowserMessageFilter implementation.
bool OnMessageReceived(const IPC::Message& message) override;
@@ -71,6 +74,8 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
void OnAddCastFeedback(int32_t channel_id,
const media::cast::RtcpCastMessage& cast_message,
base::TimeDelta target_delay);
+ void OnAddPli(int32_t channel_id,
+ const media::cast::RtcpPliMessage& pli_message);
void OnAddRtcpEvents(
int32_t channel_id,
const media::cast::ReceiverRtcpEventSubscriber::RtcpEvents& rtcp_events);
« no previous file with comments | « no previous file | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698