01bda2068b
Before this patch, when switching from voice mode to stereo mode, the stats won't be updated because StatsCollector binded the ssrc report with the old track, so the report can't be updated by the new track. This patch fixes the porblem by changing the ssrc report track id to use the new track id. TEST=libjingle_peerconnection_unittest --gtest_filter="*StatsCollectorTest*" R=hta@chromium.org Review URL: https://webrtc-codereview.appspot.com/17859004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6632 4adac7df-926f-26a2-2b94-8c16560cd09d