
This test has been failing every now and then. This is likely due to the random input that was used. With this change, the input is now read from an audio file, making it identical on each run. The encoding is moved to inside the main test loop, so that new data is added with each packet. (Before this change, the same payload was added over and over again; only the RTP header was updated.) BUG=3715 R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19079004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6948 4adac7df-926f-26a2-2b94-8c16560cd09d