summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_config.h
diff options
context:
space:
mode:
authorhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 14:16:45 +0000
committerhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 14:16:45 +0000
commitac55ceb444f18dd372352a56d5d14e3e817e9a62 (patch)
treebf88d356907867a7e945f98d4955712021ad3db4 /media/cast/cast_config.h
parent19d9dc0a2a53357f17e835f1461fa0ccfda19728 (diff)
downloadchromium_src-ac55ceb444f18dd372352a56d5d14e3e817e9a62.zip
chromium_src-ac55ceb444f18dd372352a56d5d14e3e817e9a62.tar.gz
chromium_src-ac55ceb444f18dd372352a56d5d14e3e817e9a62.tar.bz2
Cast: Fix two video freezing problems
1) The first one only happens when running UDP over localhost: The connect() call call fails and the sender stops listening to incoming packets. I fixed this by re-starting the packet listening if needed after each successfully sent packet. 2) The second problem is that the packet storage times out packets based on time, with the assumption that no packet should have to be re-sent if it's older than the max history time. However, if packets are not ACKed in a timely fashion, the video_sender may need to re-send arbitrarily old packets. To fix this, I change the packet storage to remember "max outanding frames" regardless of timing. BUG=366911 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268142 Review URL: https://codereview.chromium.org/252923007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_config.h')
-rw-r--r--media/cast/cast_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 22f5a64..7172f68 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -30,7 +30,7 @@ enum RtcpMode {
struct AudioSenderConfig {
AudioSenderConfig();
- uint32 sender_ssrc;
+ // The sender ssrc is in rtp_config.ssrc.
uint32 incoming_feedback_ssrc;
int rtcp_interval;
@@ -49,7 +49,7 @@ struct AudioSenderConfig {
struct VideoSenderConfig {
VideoSenderConfig();
- uint32 sender_ssrc;
+ // The sender ssrc is in rtp_config.ssrc.
uint32 incoming_feedback_ssrc;
int rtcp_interval;