fix codec negotiation issue with the same codec at multiple rates