Hello,
with this command:
rtpengine --codecs
PCMA: fully supported
PCMU: fully supported
G723: fully supported
G722: fully supported
QCELP: supported for decoding only
G729: supported for decoding only
speex: fully supported
GSM: fully supported
iLBC: not supported
opus: fully supported
vorbis: fully supported
ac3: fully supported
eac3: fully supported
ATRAC3: supported for decoding only
ATRAC-X: supported for decoding only
AMR: fully supported
AMR-WB: fully supported
PCM-S16LE: fully supported
MP3: fully supported
you can see the list of codecs are supported or not and how use them
Regards
--- I'm SoCIaL, MayBe
Hello!
Small note.In case of opus use: codec-transcode-opus (opus is lowercase).
On 17 February 2018 at 02:53, Richard Fuchs <rfuchs@sipwise.com> wrote:
On 2018-02-16 07:55 PM, Carsten Bock wrote:
Hi,
Quick (and simple) question:
Can someone provide a working RTPengine request, to enable Transcoding?
I know, this is possible, but I thought before looking into deep, how this should be configured for the rtpengine_offer() command, could someone provide an example?
It's pretty straight forward.
Example: A offers some SDP to B.
Let's say you think B probably speaks PCMU, so you want to make sure to offer it, even if A didn't offer it: forward transcoding. Add `transcode-PCMU`.
Let's say you also know B is allergic to PCMA, so you want to remove it from the offer to B, but still be able to speak it to A: backward transcoding. Add `codec-mask-PCMA`.
These two cases are really independent of each other, but can be combined.
Full example with some other options:
rtpengine_offer('ICE=remove rtcp-mux-demux codec-mask-PCMA transcode-PCMU')
Simple!
Cheers
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
BRDenys Pozniak
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users