Just posting this to document the end result. The following line to
pass the transcoding parameters I wanted directly to the RTPEngine daemon
worked for me:
transcode-opus/48000/2/32000//stereo--0;useinbandfec--1;maxplaybackrate--16000;sprop-maxcapturerate--16000
NB - The '--' part means '='
No worries
On Wed, Sep 15, 2021, 11:43 Mark Allen wrote:
> Ah! Thanks Răzvan and Johan. I was thinking that the options described in
> the OpenSIPS RTPEngine module documentation were the only ones
> available, but I missed the key phrase...
>
> *When passing an option that OpenSIPS is not
Ah! Thanks Răzvan and Johan. I was thinking that the options described in
the OpenSIPS RTPEngine module documentation were the only ones
available, but I missed the key phrase...
*When passing an option that OpenSIPS is not aware of, it will be
blindly sent to the rtpengine daemon to be
I think the proper way to do it is
`transcode-opus/48000/2/32000//maxplaybackrate--48000;stereo--0;useinbandfec--1;maxaveragebitrate--32000`
Anyway, as Johan suggests, follow the rtpengine documentation, you will
find more info there.
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
Follow the rtpengine documentation. The necessary flags are given there,
just pass them in an avp to rtpengine_offer or answer
On Tue, Sep 14, 2021, 14:55 Mark Allen wrote:
> Hi Răzvan
>
> OpenSIPS passes the commands to RTPengine as you supply them, so in
>> theory this should be supported.
Hi Răzvan
OpenSIPS passes the commands to RTPengine as you supply them, so in
> theory this should be supported. Did you try to set this up? Can you
> provide any logs about this?
>
>
No. I'm not sure how I would specify this in the opensips.cfg
rtpengine_offer parameters. From the documentation
Hi, Mark!
OpenSIPS passes the commands to RTPengine as you supply them, so in
theory this should be supported. Did you try to set this up? Can you
provide any logs about this?
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 9/14/21 14:01, Mark
Hi all,
I'm using RTPEngine for transcoding between Opus and PCMU. According to the
RTPEngine documentation (https://github.com/sipwise/rtpengine), it can
accept formatting parameters for CODECs that support them. For instance,
Opus allows you to change the maxaveragebitrate. However, in the