From 76aea651ff2ae2a0daa9de1c8a78290dfd93c9f0 Mon Sep 17 00:00:00 2001 From: "wu@webrtc.org" Date: Mon, 17 Oct 2011 21:40:32 +0000 Subject: [PATCH] When _audioConfigured, should not try to use the _video. Review URL: http://webrtc-codereview.appspot.com/224004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@758 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/rtp_rtcp/source/rtp_sender.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/rtp_rtcp/source/rtp_sender.cc b/src/modules/rtp_rtcp/source/rtp_sender.cc index 4a2311d48..73687e499 100644 --- a/src/modules/rtp_rtcp/source/rtp_sender.cc +++ b/src/modules/rtp_rtcp/source/rtp_sender.cc @@ -1074,6 +1074,9 @@ RTPSender::ProcessBitrate() Bitrate::Process(); _nackBitrate.Process(); + + if (_audioConfigured) + return; _video->ProcessBitrate(); }