Index: content/renderer/media/rtc_peer_connection_handler.cc |
diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc |
index 361948cde063a1c9bba884e2f733fecf44d9d6a8..885ce7528fb63a8385545fe735c303c3d26f6a74 100644 |
--- a/content/renderer/media/rtc_peer_connection_handler.cc |
+++ b/content/renderer/media/rtc_peer_connection_handler.cc |
@@ -684,6 +684,8 @@ void ConvertOfferOptionsToWebrtcOfferOptions( |
void ConvertAnswerOptionsToWebrtcAnswerOptions( |
const blink::WebRTCAnswerOptions& options, |
webrtc::PeerConnectionInterface::RTCOfferAnswerOptions* output) { |
+ output->offer_to_receive_audio = options.offerToReceiveAudio(); |
+ output->offer_to_receive_video = options.offerToReceiveVideo(); |
output->voice_activity_detection = options.voiceActivityDetection(); |
} |