Index: talk/session/media/channelmanager.cc |
diff --git a/talk/session/media/channelmanager.cc b/talk/session/media/channelmanager.cc |
index 9a402f69a1356eff7eeed3f03e62e5c6d6245988..bb6fb25cb575301ad6b877d27c352c9aab90eed9 100644 |
--- a/talk/session/media/channelmanager.cc |
+++ b/talk/session/media/channelmanager.cc |
@@ -156,7 +156,7 @@ void ChannelManager::GetSupportedAudioCodecs( |
void ChannelManager::GetSupportedAudioRtpHeaderExtensions( |
RtpHeaderExtensions* ext) const { |
- *ext = media_engine_->audio_rtp_header_extensions(); |
+ *ext = media_engine_->GetAudioCapabilities().header_extensions; |
} |
void ChannelManager::GetSupportedVideoCodecs( |
@@ -175,7 +175,7 @@ void ChannelManager::GetSupportedVideoCodecs( |
void ChannelManager::GetSupportedVideoRtpHeaderExtensions( |
RtpHeaderExtensions* ext) const { |
- *ext = media_engine_->video_rtp_header_extensions(); |
+ *ext = media_engine_->GetVideoCapabilities().header_extensions; |
} |
void ChannelManager::GetSupportedDataCodecs( |