wsygzyr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

How to request another using the codec i want #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the "call" program,
I can't expect another send to me with what kind of codec.
Maybe "G722", "PCMU", or others.
I use linphone to decoding audio, but it can't decode all codecs.
May I request another(gtalk or gmail) using the codec i want to send to me?

Original issue reported on code.google.com by chenanji...@gmail.com on 11 Jul 2011 at 2:09

GoogleCodeExporter commented 9 years ago
In the "session-initiate" message, specify the codecs that you support as 
payload-type. The other party has to support one of the common codec in order 
to make call with you.

for example:
 <payload-type id="9" name="G722" clockrate="16000">
   <parameter name="bitrate" value="64000"/>

Original comment by jun...@google.com on 4 Oct 2011 at 7:15