Updating from 1.10 (Arjun Kamath)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This was a very minor problem, but I will still report it anyways. Due to
the change in pjsip from older versions, to on-demand creation of media
transports the main app, somethinglike pjsua_app should no longer have this
function called.

status = pjsua_media_transports_create(&app_config.rtp_config);

That's it. Simple as that.


------------------------------
>
> Message: 3
> Date: Thu, 31 May 2012 11:17:58 +0300
> From: Arjun Kamath <junnaonly@xxxxxxxxx>
> To: pjsip at lists.pjsip.org
> Subject: Updating from 1.10
> Message-ID:
>         <CADzHbEWF0yc7hJWn6obxsP61Mf=2=ZQN=+
> M6Oyug9ot1+R9FHA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I have a client on windows that uses the library version 1.10. My colleague
> used it as that was the stablest version then. She has left now and I have
> decided that the first thing I should do is update the library to 2.0
>
> As the client uses the old pjsua APIs I have set
>
> #define DISABLED_FOR_TICKET_1185    1
>
> But I get compilation errors due to argument mismatch in several functions:
> Error    3    error C2198: '*create_ice_media_transport' : too few
> arguments for call*  ...\pjsip\src\pjsua-lib\pjsua_media.c    787
> pjsua_lib
> Error    4    error C2065: 'i' : undeclared identifier
> ...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
> Error    5    error C2065: 'i' : undeclared identifier
> ...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
> Error    7    error C2065: 'i' : undeclared identifier
> ...\pjsip\src\pjsua-lib\pjsua_media.c    1488    pjsua_lib
> Error    8    error C2065: 'i' : undeclared identifier
> ...\pjsip\src\pjsua-lib\pjsua_media.c    1489    pjsua_lib
> Error    9    error C2039: '*med_tp' : is not a member of 'pjsua_call*'
> ...\pjsip\src\pjsua-lib\pjsua_core.c    426    pjsua_lib
> Error    10    error C2039: *'med_tp' : is not a member of 'pjsua_call'*
> ...\pjsip\src\pjsua-lib\pjsua_core.c    431    pjsua_lib
> Error    12    error C2198: *'pjmedia_transport_get_info' : too few
> arguments for call*    ...\pjsip\src\pjsua-lib\pjsua_core.c    431
> pjsua_lib
> Error    14    error C2039: *'tp' : is not a member of 'pjsua_call' *
> ...\pjsip\src\pjsua-lib\pjsua_call.c    3209    pjsua_lib
> Error    15    error C2039: *'med_tp' : is not a member of 'pjsua_call'*
> ...\pjsip\src\pjsua-lib\pjsua_call.c    3216    pjsua_lib
> Error    17    error C2198: *'pjmedia_transport_get_info' : too few
> arguments for call *   ...\pjsip\src\pjsua-lib\pjsua_call.c    3216
> pjsua_lib
>
> I will eventually move to the new APIs, but as a first step I wanted to
> work with just the updated library and same old APIs as the application I
> have uses them. Also, I am new to the group and am going to stay here for
> quite a while and more importantly am really enthusiastic to learn :)  So
> any related advice would be greatly appreciated.
>
> Lastly, I am running Visual Studio 2008 Professional Edition and am calling
> the library through DLLs
>
> Thanks,
> Arjun
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120531/9e7447ea/attachment-0001.html
> >
>
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120703/72d85477/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux