| Index: webrtc/video/stream_synchronization.cc
|
| diff --git a/webrtc/video/stream_synchronization.cc b/webrtc/video/stream_synchronization.cc
|
| index 145922c3a081ef2c976fadf5c353d2b0474ad97c..1b6074ee861af6a9d05872d0940a7f1aaa2c493f 100644
|
| --- a/webrtc/video/stream_synchronization.cc
|
| +++ b/webrtc/video/stream_synchronization.cc
|
| @@ -27,9 +27,9 @@ static const int kFilterLength = 4;
|
| static const int kMinDeltaMs = 30;
|
|
|
| StreamSynchronization::StreamSynchronization(uint32_t video_primary_ssrc,
|
| - int audio_channel_id)
|
| + int audio_stream_id)
|
| : video_primary_ssrc_(video_primary_ssrc),
|
| - audio_channel_id_(audio_channel_id),
|
| + audio_stream_id_(audio_stream_id),
|
| base_target_delay_ms_(0),
|
| avg_diff_ms_(0) {
|
| }
|
| @@ -72,7 +72,7 @@ bool StreamSynchronization::ComputeDelays(int relative_delay_ms,
|
| int current_video_delay_ms = *total_video_delay_target_ms;
|
| LOG(LS_VERBOSE) << "Audio delay: " << current_audio_delay_ms
|
| << " current diff: " << relative_delay_ms
|
| - << " for channel " << audio_channel_id_;
|
| + << " for stream " << audio_stream_id_;
|
| // Calculate the difference between the lowest possible video delay and
|
| // the current audio delay.
|
| int current_diff_ms = current_video_delay_ms - current_audio_delay_ms +
|
| @@ -168,7 +168,7 @@ bool StreamSynchronization::ComputeDelays(int relative_delay_ms,
|
| LOG(LS_VERBOSE) << "Sync video delay " << new_video_delay_ms
|
| << " for video primary SSRC " << video_primary_ssrc_
|
| << " and audio delay " << channel_delay_.extra_audio_delay_ms
|
| - << " for audio channel " << audio_channel_id_;
|
| + << " for audio stream " << audio_stream_id_;
|
|
|
| // Return values.
|
| *total_video_delay_target_ms = new_video_delay_ms;
|
|
|