Discussion:
[Freeswitch-users] need correct SDP media examples for all variances of g729
Dmitry Saratsky
2015-05-17 08:17:27 UTC
Permalink
Hi all,

Can you please show me CORRECT SDP media examples for all possible G.729
annexes (need only G.729, G.729A, G.729B and G.729AB).

How should correct SDP look like for each case of the above including fmtp
parameters and maybe other parameters?

Thanks guys!

BR,
Dmitry.
Michael Jerris
2015-05-18 18:57:18 UTC
Permalink
some info on this: http://tools.ietf.org/html/draft-muthu-payload-offer-answer-g723-g729-00 <http://tools.ietf.org/html/draft-muthu-payload-offer-answer-g723-g729-00>
Post by Dmitry Saratsky
Hi all,
Can you please show me CORRECT SDP media examples for all possible G.729 annexes (need only G.729, G.729A, G.729B and G.729AB).
How should correct SDP look like for each case of the above including fmtp parameters and maybe other parameters?
Steven Ayre
2015-05-18 20:24:14 UTC
Permalink
Sample:
m=audio 49170 RTP/AVP 18
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes

m=audio - the numeric type will be present here. The static type assigned
by IANA is 18, which means G729/8000. Another number may be used if a
a=rtpmap line defines it, but very rarely would be.

a=rtpmap is optional (see ${verbose_sdp}) but specifies the codec name
using the 18 code. It's optional since 18 is defined to be G729/8000 unless
overridden.

"a=fmtp:18 annexb=yes" defines Annex B is in use (either G729B or G729AB),
the absence of it means it is not.

Annex A (G729A or G729AB) does not appear at all in the SDP. It's an
alternative method of encoding using less CPU at the expense of quality.
The results can be decoded by any G729 implementation so they do not need
to know G729A was used.

Some phones will send G729A/8000 (Cisco/Linksys) - this is incorrect. I
believe FreeSWITCH handles this special case though.
Post by Michael Jerris
http://tools.ietf.org/html/draft-muthu-payload-offer-answer-g723-g729-00
Hi all,
Can you please show me CORRECT SDP media examples for all possible G.729
annexes (need only G.729, G.729A, G.729B and G.729AB).
How should correct SDP look like for each case of the above including fmtp
parameters and maybe other parameters?
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Loading...