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

Unified Diff: media/cast/test/utility/default_config.cc

Issue 916973003: Rename the members of FrameReceiverConfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/test/receiver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/default_config.cc
diff --git a/media/cast/test/utility/default_config.cc b/media/cast/test/utility/default_config.cc
index 3d4a47159b6436b3ae8a3b1fb40cd6a1b4c4d799..ccb60a4624a82b1644476a64a98ff059fed6b846 100644
--- a/media/cast/test/utility/default_config.cc
+++ b/media/cast/test/utility/default_config.cc
@@ -27,8 +27,8 @@ namespace cast {
FrameReceiverConfig GetDefaultAudioReceiverConfig() {
FrameReceiverConfig config;
- config.feedback_ssrc = 2;
- config.incoming_ssrc = 1;
+ config.receiver_ssrc = 2;
+ config.sender_ssrc = 1;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
config.rtp_payload_type = 127;
config.rtp_timebase = 48000;
@@ -40,8 +40,8 @@ FrameReceiverConfig GetDefaultAudioReceiverConfig() {
FrameReceiverConfig GetDefaultVideoReceiverConfig() {
FrameReceiverConfig config;
- config.feedback_ssrc = 12;
- config.incoming_ssrc = 11;
+ config.receiver_ssrc = 12;
+ config.sender_ssrc = 11;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
config.rtp_payload_type = 96;
config.rtp_timebase = kVideoFrequency;
@@ -54,8 +54,8 @@ FrameReceiverConfig GetDefaultVideoReceiverConfig() {
AudioSenderConfig GetDefaultAudioSenderConfig() {
FrameReceiverConfig recv_config = GetDefaultAudioReceiverConfig();
AudioSenderConfig config;
- config.ssrc = recv_config.incoming_ssrc;
- config.receiver_ssrc = recv_config.feedback_ssrc;
+ config.ssrc = recv_config.sender_ssrc;
+ config.receiver_ssrc = recv_config.receiver_ssrc;
config.rtp_payload_type = recv_config.rtp_payload_type;
config.use_external_encoder = false;
config.frequency = recv_config.rtp_timebase;
@@ -70,8 +70,8 @@ AudioSenderConfig GetDefaultAudioSenderConfig() {
VideoSenderConfig GetDefaultVideoSenderConfig() {
FrameReceiverConfig recv_config = GetDefaultVideoReceiverConfig();
VideoSenderConfig config;
- config.ssrc = recv_config.incoming_ssrc;
- config.receiver_ssrc = recv_config.feedback_ssrc;
+ config.ssrc = recv_config.sender_ssrc;
+ config.receiver_ssrc = recv_config.receiver_ssrc;
config.rtp_payload_type = recv_config.rtp_payload_type;
config.use_external_encoder = false;
config.max_bitrate = 4000000;
« no previous file with comments | « media/cast/test/receiver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698