Error in documentation with regard to mediaConfig naming?

RV
Rob van Geloven
Thu, Jul 4, 2019 1:06 PM

Hi,
This page
https://www.pjsip.org/docs/book-latest/html/endpoint.html#initializing-the-library-and-configuring-the-settings
has
the following snippet:

EpConfig ep_cfg;ep_cfg.logConfig.level = 5;ep_cfg.uaConfig.maxCalls =
4;ep_cfg.mediaConfig.sndClockRate = 16000;

however the mediaConfig is called medConfig. Or is this just the SWIG
generation that mangled the name for Python?

Best regards,

Rob

Hi, This page https://www.pjsip.org/docs/book-latest/html/endpoint.html#initializing-the-library-and-configuring-the-settings has the following snippet: EpConfig ep_cfg;ep_cfg.logConfig.level = 5;ep_cfg.uaConfig.maxCalls = 4;ep_cfg.mediaConfig.sndClockRate = 16000; however the mediaConfig is called medConfig. Or is this just the SWIG generation that mangled the name for Python? Best regards, Rob
NI
Nanang Izzuddin
Fri, Jul 5, 2019 5:15 AM

Hi Rob,

Ah, just fixed it in the book source, the book itself will be updated later
(usually every new release).
Thank you for the report.

BR,
nanang

On Thu, Jul 4, 2019 at 8:07 PM Rob van Geloven rob@vangeloven.net wrote:

Hi,
This page
https://www.pjsip.org/docs/book-latest/html/endpoint.html#initializing-the-library-and-configuring-the-settings has
the following snippet:

EpConfig ep_cfg;ep_cfg.logConfig.level = 5;ep_cfg.uaConfig.maxCalls = 4;ep_cfg.mediaConfig.sndClockRate = 16000;

however the mediaConfig is called medConfig. Or is this just the SWIG
generation that mangled the name for Python?

Best regards,

Rob


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Rob, Ah, just fixed it in the book source, the book itself will be updated later (usually every new release). Thank you for the report. BR, nanang On Thu, Jul 4, 2019 at 8:07 PM Rob van Geloven <rob@vangeloven.net> wrote: > Hi, > This page > https://www.pjsip.org/docs/book-latest/html/endpoint.html#initializing-the-library-and-configuring-the-settings has > the following snippet: > > EpConfig ep_cfg;ep_cfg.logConfig.level = 5;ep_cfg.uaConfig.maxCalls = 4;ep_cfg.mediaConfig.sndClockRate = 16000; > > however the mediaConfig is called medConfig. Or is this just the SWIG > generation that mangled the name for Python? > > Best regards, > > Rob > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >