In some cases it was not possible to set another payload type for CNG than the default one. This CL fixes this. The problem was also dependent on whether the comfort noise codec was registered before or after the speech codec. A test is implement to expose the bug, registering comfort noise at a non-default payload type, and both before and after the speech codec. BUG=4228 R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35199004 Cr-Commit-Position: refs/heads/master@{#8380} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8380 4adac7df-926f-26a2-2b94-8c16560cd09d
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.