Multicast Codec
I am trying to find out what codec is used in the asterisk multicast ?
Is it ulaw, alaw, g.729 or something else ?
Thanks
Jerry
I am trying to find out what codec is used in the asterisk multicast ?
Is it ulaw, alaw, g.729 or something else ?
Thanks
Jerry
5 thoughts on - Multicast Codec
It is µ-law by default, but you can override it in the dial string¹. Note that if you do override it, you would need to use a codec that has a static RTP payload code² as no SDP is exchanged.
Kind regards, Sean
1. https://github.com/asterisk/asterisk/blob/16/CHANGES#L1435-L1448
2. https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1
—
What is the default multicast codec for multicast in Asterisk 13 ?
G.729 or G.711 or other ?
Jerry
Should be ulaw
Hello – I am using asterisk 18.14.0
I think multicast uses codec g711 pcmu is there any way to change or set the codec I want to use – like g722 ?
How would I do that?
Thanks
Jerry
The CHANGES entry for the MulticastRTP channel type[1] has some info on this. Basically you would add the ‘c’ option to your dial string:
Dial(MulticastRTP/basic/224.0.0.3:5060//c(g722))
Kind regards, Sean
1:
https://github.com/asterisk/asterisk/blob/bd821549af3bccb000c809121094adb5b84fec7f/CHANGES#L2598-L2611
—