Struct definition for pjsip_endpoint (Swift iOS app)

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

 



Hello,

I am testing PJSIP inside a Swift iOS app, just using PJSIP not PJSUA. After configuring, building and setting up the bridging header file, everything seems right. I can init PJLIB and PJLIB-UTIL successfully. But, I have encountered an issue that the pjsip_endpoint object cannot be found in scope.

image.png

Having a look at the implementation. I see the type definition is in sip_types.h but the actual struct is defined in sip_endpoint.c and not in sip_endpoint.h. Unlike other objects like pjsip_transaction, pjsip_event, etc; that have its struct definition in their header files. Can anyone elaborate on this implementation? And, if I'm using it in the wrong way, how can I declare a pjsip_endpoint object inside a Swift application?

Any help would be much appreciated. Many thanks!

Andrés

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

pjsip mailing list -- pjsip@xxxxxxxxxxxxxxx
To unsubscribe send an email to pjsip-leave@xxxxxxxxxxxxxxx

[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