When the peerconnection creates the offer with a constraint to disable the audio offering, stats will not get properly updated.

  constraints . SetMandatoryReceiveAudio (false);

The problem is that webrtc::GetTrackIdBySsrc returns false if audio is not available. However it should continue and check for the video track.

BUG=webrtc:3755
R=jiayl@webrtc.org, juberti@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/22479004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@7005 4adac7df-926f-26a2-2b94-8c16560cd09d
1 file changed