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

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

Issue 2113783002: Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed mek's comment. Created 4 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
« no previous file with comments | « media/cast/sender/video_sender.h ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | 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 b4a2ff637fe9fc319a630fdedebd99f6fe041e02..07639b8cda671f8a09a45c09246aebf687d9162b 100644
--- a/media/cast/sender/video_sender.cc
+++ b/media/cast/sender/video_sender.cc
@@ -89,7 +89,7 @@ void LogVideoCaptureTimestamps(CastEnvironment* cast_environment,
// See details: crbug.com/392086.
VideoSender::VideoSender(
scoped_refptr<CastEnvironment> cast_environment,
- const VideoSenderConfig& video_config,
+ const FrameSenderConfig& video_config,
const StatusChangeCallback& status_change_cb,
const CreateVideoEncodeAcceleratorCallback& create_vea_cb,
const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb,
@@ -100,7 +100,7 @@ VideoSender::VideoSender(
false,
transport_sender,
kVideoFrequency,
- video_config.ssrc,
+ video_config.sender_ssrc,
video_config.max_frame_rate,
video_config.min_playout_delay,
video_config.max_playout_delay,
@@ -133,7 +133,7 @@ VideoSender::VideoSender(
}
media::cast::CastTransportRtpConfig transport_config;
- transport_config.ssrc = video_config.ssrc;
+ transport_config.ssrc = video_config.sender_ssrc;
transport_config.feedback_ssrc = video_config.receiver_ssrc;
transport_config.rtp_payload_type = video_config.rtp_payload_type;
transport_config.aes_key = video_config.aes_key;
« no previous file with comments | « media/cast/sender/video_sender.h ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698