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

Unified Diff: talk/session/media/channel.cc

Issue 1284693003: Fix some minor errors with the voice engine caused by the refactor CL https://codereview.webrtc.org… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channel.cc
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc
index 8de8d379962e2aec5936ce9a2e04d11860c629e1..155015057a6919940030e3df86279d935f39989e 100644
--- a/talk/session/media/channel.cc
+++ b/talk/session/media/channel.cc
@@ -1480,7 +1480,7 @@ bool VoiceChannel::SetLocalContent_w(const MediaContentDescription* content,
AudioRecvParameters recv_params = last_recv_params_;
RtpParametersFromMediaDescription(audio, &recv_params);
if (!media_channel()->SetRecvParameters(recv_params)) {
- SafeSetError("Failed to set local video description recv parameters.",
+ SafeSetError("Failed to set local audio description recv parameters.",
error_desc);
return false;
}
@@ -1545,6 +1545,10 @@ bool VoiceChannel::SetRemoteContent_w(const MediaContentDescription* content,
return false;
}
+ if (audio->rtp_header_extensions_set()) {
+ MaybeCacheRtpAbsSendTimeHeaderExtension(audio->rtp_header_extensions());
+ }
+
set_remote_content_direction(content->direction());
ChangeState();
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698