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

Unified Diff: media/cast/sender/video_sender.cc

Issue 1012573002: Remove rtcp_interval from cast_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « media/cast/sender/frame_sender.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/video_sender.cc
diff --git a/media/cast/sender/video_sender.cc b/media/cast/sender/video_sender.cc
index e4e3a452c2b34aa0431f3c7c16d88e4a4bf2e3fb..c44b0f713179b2ea06be292a5220a1c45040bf53 100644
--- a/media/cast/sender/video_sender.cc
+++ b/media/cast/sender/video_sender.cc
@@ -69,22 +69,21 @@ VideoSender::VideoSender(
CastTransportSender* const transport_sender,
const PlayoutDelayChangeCB& playout_delay_change_cb)
: FrameSender(
- cast_environment,
- false,
- transport_sender,
- base::TimeDelta::FromMilliseconds(video_config.rtcp_interval),
- kVideoFrequency,
- video_config.ssrc,
- video_config.max_frame_rate,
- video_config.min_playout_delay,
- video_config.max_playout_delay,
- video_config.use_external_encoder ?
- NewFixedCongestionControl(
- (video_config.min_bitrate + video_config.max_bitrate) / 2) :
- NewAdaptiveCongestionControl(cast_environment->Clock(),
- video_config.max_bitrate,
- video_config.min_bitrate,
- video_config.max_frame_rate)),
+ cast_environment,
+ false,
+ transport_sender,
+ kVideoFrequency,
+ video_config.ssrc,
+ video_config.max_frame_rate,
+ video_config.min_playout_delay,
+ video_config.max_playout_delay,
+ video_config.use_external_encoder
+ ? NewFixedCongestionControl(
+ (video_config.min_bitrate + video_config.max_bitrate) / 2)
+ : NewAdaptiveCongestionControl(cast_environment->Clock(),
+ video_config.max_bitrate,
+ video_config.min_bitrate,
+ video_config.max_frame_rate)),
frames_in_encoder_(0),
last_bitrate_(0),
playout_delay_change_cb_(playout_delay_change_cb),
« no previous file with comments | « media/cast/sender/frame_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698