@voipsdk/react-native-voipcloud 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (644) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +55 -9
  3. package/android/build.gradle +14 -8
  4. package/ios/VoipCloud.mm +214 -28
  5. package/ios/VoipCloud.xcframework/Info.plist +48 -0
  6. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/activesock.h +598 -0
  7. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/addr_resolv.h +189 -0
  8. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/array.h +95 -0
  9. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/assert.h +84 -0
  10. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/assert.h +36 -0
  11. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_armcc.h +57 -0
  12. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_clang.h +64 -0
  13. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_codew.h +55 -0
  14. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcc.h +79 -0
  15. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcce.h +54 -0
  16. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_msvc.h +87 -0
  17. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_mwcc.h +55 -0
  18. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/ctype.h +44 -0
  19. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/errno.h +44 -0
  20. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/high_precision.h +87 -0
  21. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/limits.h +66 -0
  22. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_alpha.h +35 -0
  23. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_armv4.h +38 -0
  24. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h +60 -0
  25. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h.in +59 -0
  26. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_i386.h +34 -0
  27. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_m68k.h +34 -0
  28. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_powerpc.h +35 -0
  29. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_sparc.h +34 -0
  30. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_x86_64.h +35 -0
  31. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/malloc.h +33 -0
  32. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h +245 -0
  33. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h.in +244 -0
  34. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_darwinos.h +141 -0
  35. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_linux.h +130 -0
  36. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_palmos.h +118 -0
  37. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_rtems.h +138 -0
  38. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_sunos.h +131 -0
  39. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_symbian.h +166 -0
  40. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32.h +148 -0
  41. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32_wince.h +145 -0
  42. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winphone8.h +149 -0
  43. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winuwp.h +149 -0
  44. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/rand.h +55 -0
  45. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/setjmp.h +49 -0
  46. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/size_t.h +31 -0
  47. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/socket.h +223 -0
  48. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdarg.h +31 -0
  49. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdfileio.h +31 -0
  50. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/string.h +178 -0
  51. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/time.h +41 -0
  52. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config.h +1537 -0
  53. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site.h +22 -0
  54. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_sample.h +485 -0
  55. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_test.h +11 -0
  56. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ctype.h +174 -0
  57. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/doxygen.h +995 -0
  58. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/errno.h +593 -0
  59. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/except.h +420 -0
  60. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/fifobuf.h +43 -0
  61. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_access.h +108 -0
  62. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_io.h +183 -0
  63. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/guid.h +119 -0
  64. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/hash.h +253 -0
  65. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ioqueue.h +955 -0
  66. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ip_helper.h +152 -0
  67. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/limits.h +57 -0
  68. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list.h +268 -0
  69. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list_i.h +120 -0
  70. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/lock.h +453 -0
  71. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/log.h +487 -0
  72. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/math.h +203 -0
  73. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/os.h +1536 -0
  74. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool.h +918 -0
  75. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_alt.h +212 -0
  76. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_buf.h +104 -0
  77. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_i.h +131 -0
  78. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rand.h +65 -0
  79. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rbtree.h +215 -0
  80. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock.h +1566 -0
  81. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_qos.h +429 -0
  82. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_select.h +151 -0
  83. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ssl_sock.h +1508 -0
  84. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string.h +963 -0
  85. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string_i.h +406 -0
  86. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/timer.h +386 -0
  87. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/types.h +594 -0
  88. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/unicode.h +140 -0
  89. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/file.hpp +187 -0
  90. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/hash.hpp +155 -0
  91. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/list.hpp +351 -0
  92. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/lock.hpp +148 -0
  93. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/os.hpp +869 -0
  94. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/pool.hpp +278 -0
  95. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/proactor.hpp +514 -0
  96. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/scanner.hpp +245 -0
  97. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/sock.hpp +443 -0
  98. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/string.hpp +467 -0
  99. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/timer.hpp +197 -0
  100. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/tree.hpp +128 -0
  101. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/types.hpp +174 -0
  102. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib++.hpp +34 -0
  103. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/base64.h +91 -0
  104. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli.h +530 -0
  105. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_console.h +116 -0
  106. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_imp.h +207 -0
  107. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_telnet.h +167 -0
  108. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/config.h +373 -0
  109. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/crc32.h +95 -0
  110. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns.h +460 -0
  111. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns_server.h +116 -0
  112. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/errno.h +455 -0
  113. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/getopt.h +144 -0
  114. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_md5.h +108 -0
  115. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_sha1.h +106 -0
  116. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/http_client.h +493 -0
  117. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/json.h +227 -0
  118. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/md5.h +73 -0
  119. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/pcap.h +195 -0
  120. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/resolver.h +515 -0
  121. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner.h +553 -0
  122. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  123. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  124. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/sha1.h +79 -0
  125. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/srv_resolver.h +221 -0
  126. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/string.h +101 -0
  127. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/stun_simple.h +288 -0
  128. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/types.h +94 -0
  129. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/xml.h +248 -0
  130. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util.h +75 -0
  131. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib.h +62 -0
  132. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/alaw_ulaw.h +212 -0
  133. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/audiodev.h +761 -0
  134. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi.h +201 -0
  135. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi_stream.h +195 -0
  136. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/bidirectional.h +66 -0
  137. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/circbuf.h +436 -0
  138. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/clock.h +338 -0
  139. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/codec.h +1192 -0
  140. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/conference.h +599 -0
  141. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config.h +1713 -0
  142. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h +43 -0
  143. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h.in +42 -0
  144. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/converter.h +386 -0
  145. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/delaybuf.h +175 -0
  146. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/doxygen.h +243 -0
  147. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo.h +420 -0
  148. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo_port.h +73 -0
  149. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/endpoint.h +389 -0
  150. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/errno.h +693 -0
  151. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/event.h +493 -0
  152. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/format.h +821 -0
  153. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/frame.h +331 -0
  154. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/g711.h +88 -0
  155. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/jbuf.h +484 -0
  156. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/master_port.h +198 -0
  157. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/mem_port.h +241 -0
  158. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/null_port.h +69 -0
  159. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/plc.h +114 -0
  160. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/port.h +565 -0
  161. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/resample.h +199 -0
  162. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp.h +511 -0
  163. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_fb.h +487 -0
  164. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_xr.h +477 -0
  165. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtp.h +457 -0
  166. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp.h +830 -0
  167. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp_neg.h +822 -0
  168. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/session.h +435 -0
  169. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/signatures.h +217 -0
  170. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/silencedet.h +199 -0
  171. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound.h +353 -0
  172. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound_port.h +397 -0
  173. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/splitcomb.h +142 -0
  174. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stereo.h +203 -0
  175. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream.h +541 -0
  176. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream_common.h +123 -0
  177. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/symbian_sound_aps.h +47 -0
  178. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/tonegen.h +302 -0
  179. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport.h +1069 -0
  180. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_adapter_sample.h +75 -0
  181. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_ice.h +458 -0
  182. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_loop.h +158 -0
  183. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_srtp.h +579 -0
  184. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_udp.h +161 -0
  185. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/types.h +345 -0
  186. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec.h +896 -0
  187. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec_util.h +194 -0
  188. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_conf.h +310 -0
  189. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_port.h +269 -0
  190. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_stream.h +514 -0
  191. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_tee.h +141 -0
  192. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/videodev.h +859 -0
  193. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_playlist.h +131 -0
  194. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_port.h +342 -0
  195. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wave.h +183 -0
  196. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wsola.h +218 -0
  197. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev.h +110 -0
  198. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  199. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiotest.h +115 -0
  200. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/config.h +525 -0
  201. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/errno.h +227 -0
  202. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_helper.h +1236 -0
  203. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  204. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  205. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  206. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/audio_codecs.h +97 -0
  207. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/bcg729.h +120 -0
  208. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config.h +720 -0
  209. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h +104 -0
  210. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h.in +103 -0
  211. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  212. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g722.h +103 -0
  213. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221.h +164 -0
  214. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  215. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/gsm.h +86 -0
  216. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  217. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  218. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ilbc.h +118 -0
  219. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  220. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/l16.h +83 -0
  221. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opencore_amr.h +145 -0
  222. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/openh264.h +68 -0
  223. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opus.h +160 -0
  224. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/passthrough.h +276 -0
  225. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/silk.h +126 -0
  226. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/speex.h +149 -0
  227. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/types.h +145 -0
  228. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  229. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx.h +68 -0
  230. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  231. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec.h +47 -0
  232. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/avi_dev.h +139 -0
  233. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/config.h +326 -0
  234. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/errno.h +158 -0
  235. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  236. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev.h +119 -0
  237. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  238. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia.h +81 -0
  239. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_audiodev.h +32 -0
  240. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_videodev.h +30 -0
  241. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/config.h +596 -0
  242. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/errno.h +225 -0
  243. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_session.h +1122 -0
  244. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_strans.h +1112 -0
  245. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/nat_detect.h +233 -0
  246. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_auth.h +456 -0
  247. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_config.h +135 -0
  248. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_msg.h +1856 -0
  249. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_session.h +763 -0
  250. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_sock.h +496 -0
  251. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_transaction.h +291 -0
  252. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_session.h +968 -0
  253. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_sock.h +673 -0
  254. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/types.h +75 -0
  255. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/upnp.h +147 -0
  256. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath.h +46 -0
  257. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/print_util.h +166 -0
  258. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth.h +637 -0
  259. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_aka.h +212 -0
  260. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_msg.h +269 -0
  261. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_parser.h +74 -0
  262. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h +39 -0
  263. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h.in +38 -0
  264. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_config.h +1545 -0
  265. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_dialog.h +935 -0
  266. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_endpoint.h +715 -0
  267. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_errno.h +544 -0
  268. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_event.h +230 -0
  269. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_module.h +221 -0
  270. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_msg.h +2134 -0
  271. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_multipart.h +276 -0
  272. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_parser.h +465 -0
  273. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_private.h +31 -0
  274. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_resolve.h +347 -0
  275. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_tel_uri.h +83 -0
  276. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transaction.h +542 -0
  277. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport.h +1672 -0
  278. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_loop.h +146 -0
  279. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tcp.h +300 -0
  280. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tls.h +642 -0
  281. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_udp.h +389 -0
  282. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_types.h +265 -0
  283. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_ua_layer.h +159 -0
  284. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_uri.h +470 -0
  285. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_util.h +888 -0
  286. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/errno.h +117 -0
  287. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub.h +561 -0
  288. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub_msg.h +119 -0
  289. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/iscomposing.h +137 -0
  290. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/mwi.h +211 -0
  291. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/pidf.h +177 -0
  292. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/presence.h +416 -0
  293. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/publish.h +350 -0
  294. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/rpid.h +150 -0
  295. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/types.h +30 -0
  296. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/xpidf.h +137 -0
  297. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_100rel.h +244 -0
  298. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_inv.h +1224 -0
  299. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_regc.h +497 -0
  300. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_replaces.h +303 -0
  301. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_timer.h +274 -0
  302. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_xfer.h +207 -0
  303. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip.h +61 -0
  304. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_auth.h +37 -0
  305. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_simple.h +45 -0
  306. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_ua.h +31 -0
  307. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua.h +8899 -0
  308. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua_internal.h +989 -0
  309. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua.h +1 -0
  310. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/account.hpp +2123 -0
  311. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/call.hpp +2253 -0
  312. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/config.hpp +72 -0
  313. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/doxygen.hpp +48 -0
  314. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/endpoint.hpp +2160 -0
  315. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/json.hpp +115 -0
  316. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/media.hpp +2748 -0
  317. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/persistent.hpp +715 -0
  318. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/presence.hpp +368 -0
  319. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/siptypes.hpp +1013 -0
  320. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/types.hpp +283 -0
  321. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2.hpp +28 -0
  322. package/ios/VoipCloud.xcframework/ios-arm64/libVoipCloud.a +0 -0
  323. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/activesock.h +598 -0
  324. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/addr_resolv.h +189 -0
  325. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/array.h +95 -0
  326. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/assert.h +84 -0
  327. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/assert.h +36 -0
  328. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_armcc.h +57 -0
  329. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_clang.h +64 -0
  330. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_codew.h +55 -0
  331. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcc.h +79 -0
  332. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcce.h +54 -0
  333. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_msvc.h +87 -0
  334. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_mwcc.h +55 -0
  335. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/ctype.h +44 -0
  336. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/errno.h +44 -0
  337. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/high_precision.h +87 -0
  338. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/limits.h +66 -0
  339. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_alpha.h +35 -0
  340. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_armv4.h +38 -0
  341. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h +60 -0
  342. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h.in +59 -0
  343. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_i386.h +34 -0
  344. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_m68k.h +34 -0
  345. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_powerpc.h +35 -0
  346. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_sparc.h +34 -0
  347. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_x86_64.h +35 -0
  348. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/malloc.h +33 -0
  349. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h +245 -0
  350. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h.in +244 -0
  351. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_darwinos.h +141 -0
  352. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_linux.h +130 -0
  353. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_palmos.h +118 -0
  354. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_rtems.h +138 -0
  355. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_sunos.h +131 -0
  356. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_symbian.h +166 -0
  357. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32.h +148 -0
  358. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32_wince.h +145 -0
  359. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winphone8.h +149 -0
  360. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winuwp.h +149 -0
  361. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/rand.h +55 -0
  362. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/setjmp.h +49 -0
  363. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/size_t.h +31 -0
  364. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/socket.h +223 -0
  365. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdarg.h +31 -0
  366. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdfileio.h +31 -0
  367. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/string.h +178 -0
  368. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/time.h +41 -0
  369. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config.h +1537 -0
  370. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site.h +22 -0
  371. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_sample.h +485 -0
  372. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_test.h +11 -0
  373. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ctype.h +174 -0
  374. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/doxygen.h +995 -0
  375. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/errno.h +593 -0
  376. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/except.h +420 -0
  377. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/fifobuf.h +43 -0
  378. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_access.h +108 -0
  379. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_io.h +183 -0
  380. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/guid.h +119 -0
  381. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/hash.h +253 -0
  382. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ioqueue.h +955 -0
  383. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ip_helper.h +152 -0
  384. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/limits.h +57 -0
  385. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list.h +268 -0
  386. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list_i.h +120 -0
  387. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/lock.h +453 -0
  388. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/log.h +487 -0
  389. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/math.h +203 -0
  390. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/os.h +1536 -0
  391. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool.h +918 -0
  392. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_alt.h +212 -0
  393. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_buf.h +104 -0
  394. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_i.h +131 -0
  395. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rand.h +65 -0
  396. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rbtree.h +215 -0
  397. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock.h +1566 -0
  398. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_qos.h +429 -0
  399. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_select.h +151 -0
  400. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ssl_sock.h +1508 -0
  401. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string.h +963 -0
  402. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string_i.h +406 -0
  403. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/timer.h +386 -0
  404. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/types.h +594 -0
  405. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/unicode.h +140 -0
  406. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/file.hpp +187 -0
  407. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/hash.hpp +155 -0
  408. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/list.hpp +351 -0
  409. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/lock.hpp +148 -0
  410. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/os.hpp +869 -0
  411. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/pool.hpp +278 -0
  412. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/proactor.hpp +514 -0
  413. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/scanner.hpp +245 -0
  414. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/sock.hpp +443 -0
  415. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/string.hpp +467 -0
  416. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/timer.hpp +197 -0
  417. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/tree.hpp +128 -0
  418. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/types.hpp +174 -0
  419. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib++.hpp +34 -0
  420. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/base64.h +91 -0
  421. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli.h +530 -0
  422. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_console.h +116 -0
  423. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_imp.h +207 -0
  424. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_telnet.h +167 -0
  425. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/config.h +373 -0
  426. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/crc32.h +95 -0
  427. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns.h +460 -0
  428. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns_server.h +116 -0
  429. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/errno.h +455 -0
  430. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/getopt.h +144 -0
  431. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_md5.h +108 -0
  432. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_sha1.h +106 -0
  433. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/http_client.h +493 -0
  434. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/json.h +227 -0
  435. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/md5.h +73 -0
  436. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/pcap.h +195 -0
  437. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/resolver.h +515 -0
  438. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner.h +553 -0
  439. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  440. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  441. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/sha1.h +79 -0
  442. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/srv_resolver.h +221 -0
  443. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/string.h +101 -0
  444. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/stun_simple.h +288 -0
  445. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/types.h +94 -0
  446. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/xml.h +248 -0
  447. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util.h +75 -0
  448. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib.h +62 -0
  449. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/alaw_ulaw.h +212 -0
  450. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/audiodev.h +761 -0
  451. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi.h +201 -0
  452. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi_stream.h +195 -0
  453. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/bidirectional.h +66 -0
  454. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/circbuf.h +436 -0
  455. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/clock.h +338 -0
  456. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/codec.h +1192 -0
  457. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/conference.h +599 -0
  458. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config.h +1713 -0
  459. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h +43 -0
  460. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h.in +42 -0
  461. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/converter.h +386 -0
  462. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/delaybuf.h +175 -0
  463. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/doxygen.h +243 -0
  464. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo.h +420 -0
  465. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo_port.h +73 -0
  466. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/endpoint.h +389 -0
  467. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/errno.h +693 -0
  468. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/event.h +493 -0
  469. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/format.h +821 -0
  470. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/frame.h +331 -0
  471. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/g711.h +88 -0
  472. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/jbuf.h +484 -0
  473. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/master_port.h +198 -0
  474. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/mem_port.h +241 -0
  475. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/null_port.h +69 -0
  476. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/plc.h +114 -0
  477. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/port.h +565 -0
  478. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/resample.h +199 -0
  479. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp.h +511 -0
  480. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_fb.h +487 -0
  481. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_xr.h +477 -0
  482. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtp.h +457 -0
  483. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp.h +830 -0
  484. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp_neg.h +822 -0
  485. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/session.h +435 -0
  486. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/signatures.h +217 -0
  487. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/silencedet.h +199 -0
  488. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound.h +353 -0
  489. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound_port.h +397 -0
  490. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/splitcomb.h +142 -0
  491. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stereo.h +203 -0
  492. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream.h +541 -0
  493. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream_common.h +123 -0
  494. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/symbian_sound_aps.h +47 -0
  495. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/tonegen.h +302 -0
  496. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport.h +1069 -0
  497. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_adapter_sample.h +75 -0
  498. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_ice.h +458 -0
  499. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_loop.h +158 -0
  500. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_srtp.h +579 -0
  501. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_udp.h +161 -0
  502. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/types.h +345 -0
  503. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec.h +896 -0
  504. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec_util.h +194 -0
  505. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_conf.h +310 -0
  506. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_port.h +269 -0
  507. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_stream.h +514 -0
  508. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_tee.h +141 -0
  509. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/videodev.h +859 -0
  510. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_playlist.h +131 -0
  511. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_port.h +342 -0
  512. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wave.h +183 -0
  513. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wsola.h +218 -0
  514. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev.h +110 -0
  515. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  516. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiotest.h +115 -0
  517. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/config.h +525 -0
  518. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/errno.h +227 -0
  519. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_helper.h +1236 -0
  520. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  521. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  522. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  523. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/audio_codecs.h +97 -0
  524. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/bcg729.h +120 -0
  525. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config.h +720 -0
  526. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h +104 -0
  527. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h.in +103 -0
  528. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  529. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g722.h +103 -0
  530. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221.h +164 -0
  531. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  532. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/gsm.h +86 -0
  533. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  534. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  535. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ilbc.h +118 -0
  536. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  537. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/l16.h +83 -0
  538. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opencore_amr.h +145 -0
  539. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/openh264.h +68 -0
  540. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opus.h +160 -0
  541. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/passthrough.h +276 -0
  542. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/silk.h +126 -0
  543. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/speex.h +149 -0
  544. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/types.h +145 -0
  545. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  546. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx.h +68 -0
  547. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  548. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec.h +47 -0
  549. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/avi_dev.h +139 -0
  550. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/config.h +326 -0
  551. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/errno.h +158 -0
  552. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  553. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev.h +119 -0
  554. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  555. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia.h +81 -0
  556. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_audiodev.h +32 -0
  557. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_videodev.h +30 -0
  558. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/config.h +596 -0
  559. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/errno.h +225 -0
  560. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_session.h +1122 -0
  561. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_strans.h +1112 -0
  562. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/nat_detect.h +233 -0
  563. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_auth.h +456 -0
  564. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_config.h +135 -0
  565. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_msg.h +1856 -0
  566. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_session.h +763 -0
  567. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_sock.h +496 -0
  568. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_transaction.h +291 -0
  569. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_session.h +968 -0
  570. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_sock.h +673 -0
  571. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/types.h +75 -0
  572. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/upnp.h +147 -0
  573. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath.h +46 -0
  574. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/print_util.h +166 -0
  575. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth.h +637 -0
  576. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_aka.h +212 -0
  577. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_msg.h +269 -0
  578. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_parser.h +74 -0
  579. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h +39 -0
  580. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h.in +38 -0
  581. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_config.h +1545 -0
  582. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_dialog.h +935 -0
  583. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_endpoint.h +715 -0
  584. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_errno.h +544 -0
  585. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_event.h +230 -0
  586. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_module.h +221 -0
  587. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_msg.h +2134 -0
  588. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_multipart.h +276 -0
  589. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_parser.h +465 -0
  590. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_private.h +31 -0
  591. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_resolve.h +347 -0
  592. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_tel_uri.h +83 -0
  593. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transaction.h +542 -0
  594. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport.h +1672 -0
  595. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_loop.h +146 -0
  596. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tcp.h +300 -0
  597. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tls.h +642 -0
  598. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_udp.h +389 -0
  599. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_types.h +265 -0
  600. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_ua_layer.h +159 -0
  601. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_uri.h +470 -0
  602. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_util.h +888 -0
  603. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/errno.h +117 -0
  604. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub.h +561 -0
  605. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub_msg.h +119 -0
  606. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/iscomposing.h +137 -0
  607. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/mwi.h +211 -0
  608. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/pidf.h +177 -0
  609. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/presence.h +416 -0
  610. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/publish.h +350 -0
  611. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/rpid.h +150 -0
  612. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/types.h +30 -0
  613. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/xpidf.h +137 -0
  614. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_100rel.h +244 -0
  615. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_inv.h +1224 -0
  616. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_regc.h +497 -0
  617. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_replaces.h +303 -0
  618. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_timer.h +274 -0
  619. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_xfer.h +207 -0
  620. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip.h +61 -0
  621. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_auth.h +37 -0
  622. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_simple.h +45 -0
  623. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_ua.h +31 -0
  624. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua.h +8899 -0
  625. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua_internal.h +989 -0
  626. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua.h +1 -0
  627. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/account.hpp +2123 -0
  628. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/call.hpp +2253 -0
  629. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/config.hpp +72 -0
  630. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/doxygen.hpp +48 -0
  631. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/endpoint.hpp +2160 -0
  632. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/json.hpp +115 -0
  633. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/media.hpp +2748 -0
  634. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/persistent.hpp +715 -0
  635. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/presence.hpp +368 -0
  636. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/siptypes.hpp +1013 -0
  637. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/types.hpp +283 -0
  638. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2.hpp +28 -0
  639. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/libVoipCloud.a +0 -0
  640. package/ios/VoipCloudEngine.h +62 -0
  641. package/ios/VoipCloudEngine.mm +571 -0
  642. package/package.json +4 -3
  643. package/react-native-voipcloud.podspec +27 -1
  644. package/react-native.config.js +22 -0
@@ -0,0 +1,1112 @@
1
+ /*
2
+ * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
3
+ * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
4
+ *
5
+ * This program is free software; you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation; either version 2 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program; if not, write to the Free Software
17
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
+ */
19
+ #ifndef __PJNATH_ICE_STRANS_H__
20
+ #define __PJNATH_ICE_STRANS_H__
21
+
22
+
23
+ /**
24
+ * @file ice_strans.h
25
+ * @brief ICE Stream Transport
26
+ */
27
+ #include <pjnath/ice_session.h>
28
+ #include <pjnath/stun_sock.h>
29
+ #include <pjnath/turn_sock.h>
30
+ #include <pjlib-util/resolver.h>
31
+ #include <pj/ioqueue.h>
32
+ #include <pj/timer.h>
33
+
34
+
35
+ PJ_BEGIN_DECL
36
+
37
+
38
+ /**
39
+ * @addtogroup PJNATH_ICE_STREAM_TRANSPORT
40
+ * @{
41
+ *
42
+ * This module describes ICE stream transport, as represented by #pj_ice_strans
43
+ * structure, and is part of PJNATH - the Open Source NAT traversal helper
44
+ * library.
45
+ *
46
+ * ICE stream transport, as represented by #pj_ice_strans structure, is an ICE
47
+ * capable class for transporting media streams within a media session.
48
+ * It consists of one or more transport sockets (typically two for RTP
49
+ * based communication - one for RTP and one for RTCP), and an
50
+ * \ref PJNATH_ICE_SESSION for performing connectivity checks among the.
51
+ * various candidates of the transport addresses.
52
+ *
53
+ *
54
+ * \section ice_strans_using_sec Using the ICE stream transport
55
+ *
56
+ * The steps below describe how to use ICE session:
57
+ *
58
+ * - initialize a #pj_ice_strans_cfg structure. This contains various
59
+ * settings for the ICE stream transport, and among other things contains
60
+ * the STUN and TURN settings.\n\n
61
+ * - create the instance with #pj_ice_strans_create(). Among other things,
62
+ * the function needs the following arguments:
63
+ * - the #pj_ice_strans_cfg structure for the main configurations
64
+ * - number of components to be supported
65
+ * - instance of #pj_ice_strans_cb structure to report callbacks to
66
+ * application.\n\n
67
+ * - while the #pj_ice_strans_create() call completes immediately, the
68
+ * initialization will be running in the background to gather the
69
+ * candidates (for example STUN and TURN candidates, if they are enabled
70
+ * in the #pj_ice_strans_cfg setting). Application will be notified when
71
+ * the initialization completes in the \a on_ice_complete callback of
72
+ * the #pj_ice_strans_cb structure (the \a op argument of this callback
73
+ * will be PJ_ICE_STRANS_OP_INIT).\n\n
74
+ * - when media stream is to be started (for example, a call is to be
75
+ * started), create an ICE session by calling #pj_ice_strans_init_ice().\n\n
76
+ * - the application now typically will need to communicate local ICE
77
+ * information to remote host. It can achieve this by using the following
78
+ * functions to query local ICE information:
79
+ * - #pj_ice_strans_get_ufrag_pwd()
80
+ * - #pj_ice_strans_enum_cands()
81
+ * - #pj_ice_strans_get_def_cand()\n
82
+ * The application may need to encode the above information as SDP.\n\n
83
+ * - when the application receives remote ICE information (for example, from
84
+ * the SDP received from remote), it can now start ICE negotiation, by
85
+ * calling #pj_ice_strans_start_ice(). This function requires some
86
+ * information about remote ICE agent such as remote ICE username fragment
87
+ * and password as well as array of remote candidates.\n\n
88
+ * - note that the PJNATH library does not work with SDP; application would
89
+ * need to encode and parse the SDP itself.\n\n
90
+ * - once ICE negotiation has been started, application will be notified
91
+ * about the completion in the \a on_ice_complete() callback of the
92
+ * #pj_ice_strans_cb.\n\n
93
+ * - at any time, application may send or receive data. However the ICE
94
+ * stream transport may not be able to send it depending on its current
95
+ * state. Before ICE negotiation is started, the data will be sent using
96
+ * default candidate of the component. After negotiation is completed,
97
+ * data will be sent using the candidate from the successful/nominated
98
+ * pair. The ICE stream transport may not be able to send data while
99
+ * negotiation is in progress.\n\n
100
+ * - application sends data by using #pj_ice_strans_sendto2(). Incoming
101
+ * data will be reported in \a on_rx_data() callback of the
102
+ * #pj_ice_strans_cb.\n\n
103
+ * - once the media session has finished (e.g. user hangs up the call),
104
+ * destroy the ICE session with #pj_ice_strans_stop_ice().\n\n
105
+ * - at this point, application may destroy the ICE stream transport itself,
106
+ * or let it run so that it can be reused to create other ICE session.
107
+ * The benefit of letting the ICE stream transport alive (without any
108
+ * session active) is to avoid delay with the initialization, howerver
109
+ * keeping the transport alive means the transport needs to keep the
110
+ * STUN binding open by using keep-alive and also TURN allocation alive,
111
+ * and this will consume power which is an important issue for mobile
112
+ * applications.\n\n
113
+ */
114
+
115
+ /** Deprecated API pj_ice_strans_sendto() due to its limitations. See
116
+ * below for more info and refer to
117
+ * https://github.com/pjsip/pjproject/issues/2229 for more details.
118
+ */
119
+ #ifndef DEPRECATED_FOR_TICKET_2229
120
+ # define DEPRECATED_FOR_TICKET_2229 0
121
+ #endif
122
+
123
+ /** Forward declaration for ICE stream transport. */
124
+ typedef struct pj_ice_strans pj_ice_strans;
125
+
126
+ /** Transport operation types to be reported on \a on_status() callback */
127
+ typedef enum pj_ice_strans_op
128
+ {
129
+ /** Initialization (candidate gathering) */
130
+ PJ_ICE_STRANS_OP_INIT,
131
+
132
+ /** Negotiation */
133
+ PJ_ICE_STRANS_OP_NEGOTIATION,
134
+
135
+ /** This operation is used to report failure in keep-alive operation.
136
+ * Currently it is only used to report TURN Refresh failure.
137
+ */
138
+ PJ_ICE_STRANS_OP_KEEP_ALIVE,
139
+
140
+ /** IP address change notification from STUN keep-alive operation.
141
+ */
142
+ PJ_ICE_STRANS_OP_ADDR_CHANGE
143
+
144
+ } pj_ice_strans_op;
145
+
146
+ /**
147
+ * This structure contains callbacks that will be called by the
148
+ * ICE stream transport.
149
+ */
150
+ typedef struct pj_ice_strans_cb
151
+ {
152
+ /**
153
+ * This callback will be called when the ICE transport receives
154
+ * incoming packet from the sockets which is not related to ICE
155
+ * (for example, normal RTP/RTCP packet destined for application).
156
+ *
157
+ * @param ice_st The ICE stream transport.
158
+ * @param comp_id The component ID.
159
+ * @param pkt The packet.
160
+ * @param size Size of the packet.
161
+ * @param src_addr Source address of the packet.
162
+ * @param src_addr_len Length of the source address.
163
+ */
164
+ void (*on_rx_data)(pj_ice_strans *ice_st,
165
+ unsigned comp_id,
166
+ void *pkt, pj_size_t size,
167
+ const pj_sockaddr_t *src_addr,
168
+ unsigned src_addr_len);
169
+
170
+ /**
171
+ * This callback is optional and will be called to notify the status of
172
+ * async send operations.
173
+ *
174
+ * @param ice_st The ICE stream transport.
175
+ * @param sent If value is positive non-zero it indicates the
176
+ * number of data sent. When the value is negative,
177
+ * it contains the error code which can be retrieved
178
+ * by negating the value (i.e. status=-sent).
179
+ */
180
+ void (*on_data_sent)(pj_ice_strans *sock,
181
+ pj_ssize_t sent);
182
+
183
+ /**
184
+ * An optional callback that will be called by the ICE transport when a
185
+ * valid pair has been found during ICE negotiation.
186
+ *
187
+ * @param ice_st The ICE stream transport.
188
+ */
189
+ void (*on_valid_pair)(pj_ice_strans *ice_st);
190
+
191
+ /**
192
+ * Callback to report status of various ICE operations.
193
+ *
194
+ * @param ice_st The ICE stream transport.
195
+ * @param op The operation which status is being reported.
196
+ * @param status Operation status.
197
+ */
198
+ void (*on_ice_complete)(pj_ice_strans *ice_st,
199
+ pj_ice_strans_op op,
200
+ pj_status_t status);
201
+
202
+ /**
203
+ * Callback to report a new ICE local candidate, e.g: after successful
204
+ * STUN Binding, after a successful TURN allocation. Only new candidates
205
+ * whose type is server reflexive or relayed will be notified via this
206
+ * callback. This callback also indicates end-of-candidate via parameter
207
+ * 'last'.
208
+ *
209
+ * Trickle ICE can use this callback to convey the new candidate
210
+ * to remote agent and monitor end-of-candidate indication.
211
+ *
212
+ * @param ice_st The ICE stream transport.
213
+ * @param cand The new local candidate, can be NULL when the last
214
+ * local candidate initialization failed/timeout.
215
+ * @param end_of_cand PJ_TRUE if this is the last of local candidate.
216
+ */
217
+ void (*on_new_candidate)(pj_ice_strans *ice_st,
218
+ const pj_ice_sess_cand *cand,
219
+ pj_bool_t end_of_cand);
220
+
221
+ } pj_ice_strans_cb;
222
+
223
+
224
+ /**
225
+ * STUN and local transport settings for ICE stream transport.
226
+ */
227
+ typedef struct pj_ice_strans_stun_cfg
228
+ {
229
+ /**
230
+ * Address family, IPv4 or IPv6.
231
+ *
232
+ * Default value is pj_AF_INET() (IPv4)
233
+ */
234
+ int af;
235
+
236
+ /**
237
+ * Optional configuration for STUN transport. The default
238
+ * value will be initialized with #pj_stun_sock_cfg_default().
239
+ */
240
+ pj_stun_sock_cfg cfg;
241
+
242
+ /**
243
+ * Maximum number of host candidates to be added. If the
244
+ * value is zero, no host candidates will be added.
245
+ *
246
+ * Default: 64
247
+ */
248
+ unsigned max_host_cands;
249
+
250
+ /**
251
+ * Include loopback addresses in the host candidates.
252
+ *
253
+ * Default: PJ_FALSE
254
+ */
255
+ pj_bool_t loop_addr;
256
+
257
+ /**
258
+ * Specify the STUN server domain or hostname or IP address.
259
+ * If DNS SRV resolution is required, application must fill
260
+ * in this setting with the domain name of the STUN server
261
+ * and set the resolver instance in the \a resolver field.
262
+ * Otherwise if the \a resolver setting is not set, this
263
+ * field will be resolved with hostname resolution and in
264
+ * this case the \a port field must be set.
265
+ *
266
+ * The \a port field should also be set even when DNS SRV
267
+ * resolution is used, in case the DNS SRV resolution fails.
268
+ *
269
+ * When this field is empty, STUN mapped address resolution
270
+ * will not be performed. In this case only ICE host candidates
271
+ * will be added to the ICE transport, unless if \a no_host_cands
272
+ * field is set. In this case, both host and srflx candidates
273
+ * are disabled.
274
+ *
275
+ * If there are more than one STUN candidates per ICE stream
276
+ * transport component, the standard recommends to use the same
277
+ * STUN server for all STUN candidates.
278
+ *
279
+ * The default value is empty.
280
+ */
281
+ pj_str_t server;
282
+
283
+ /**
284
+ * The port number of the STUN server, when \a server
285
+ * field specifies a hostname rather than domain name. This
286
+ * field should also be set even when the \a server
287
+ * specifies a domain name, to allow DNS SRV resolution
288
+ * to fallback to DNS A/AAAA resolution when the DNS SRV
289
+ * resolution fails.
290
+ *
291
+ * The default value is PJ_STUN_PORT.
292
+ */
293
+ pj_uint16_t port;
294
+
295
+ /**
296
+ * Ignore STUN resolution error and proceed with just local
297
+ * addresses.
298
+ *
299
+ * The default is PJ_FALSE
300
+ */
301
+ pj_bool_t ignore_stun_error;
302
+
303
+ } pj_ice_strans_stun_cfg;
304
+
305
+
306
+ /**
307
+ * TURN transport settings for ICE stream transport.
308
+ */
309
+ typedef struct pj_ice_strans_turn_cfg
310
+ {
311
+ /**
312
+ * Address family, IPv4 or IPv6.
313
+ *
314
+ * Default value is pj_AF_INET() (IPv4)
315
+ */
316
+ int af;
317
+
318
+ /**
319
+ * Optional TURN socket settings. The default values will be
320
+ * initialized by #pj_turn_sock_cfg_default(). This contains
321
+ * settings such as QoS.
322
+ */
323
+ pj_turn_sock_cfg cfg;
324
+
325
+ /**
326
+ * Specify the TURN server domain or hostname or IP address.
327
+ * If DNS SRV resolution is required, application must fill
328
+ * in this setting with the domain name of the TURN server
329
+ * and set the resolver instance in the \a resolver field.
330
+ * Otherwise if the \a resolver setting is not set, this
331
+ * field will be resolved with hostname resolution and in
332
+ * this case the \a port field must be set.
333
+ *
334
+ * The \a port field should also be set even when DNS SRV
335
+ * resolution is used, in case the DNS SRV resolution fails.
336
+ *
337
+ * When this field is empty, relay candidate will not be
338
+ * created.
339
+ *
340
+ * The default value is empty.
341
+ */
342
+ pj_str_t server;
343
+
344
+ /**
345
+ * The port number of the TURN server, when \a server
346
+ * field specifies a hostname rather than domain name. This
347
+ * field should also be set even when the \a server
348
+ * specifies a domain name, to allow DNS SRV resolution
349
+ * to fallback to DNS A/AAAA resolution when the DNS SRV
350
+ * resolution fails.
351
+ *
352
+ * Default is zero.
353
+ */
354
+ pj_uint16_t port;
355
+
356
+ /**
357
+ * Type of connection to the TURN server.
358
+ *
359
+ * Default is PJ_TURN_TP_UDP.
360
+ */
361
+ pj_turn_tp_type conn_type;
362
+
363
+ /**
364
+ * Credential to be used for the TURN session. This setting
365
+ * is mandatory.
366
+ *
367
+ * Default is to have no credential.
368
+ */
369
+ pj_stun_auth_cred auth_cred;
370
+
371
+ /**
372
+ * Optional TURN Allocate parameter. The default value will be
373
+ * initialized by #pj_turn_alloc_param_default().
374
+ */
375
+ pj_turn_alloc_param alloc_param;
376
+
377
+ } pj_ice_strans_turn_cfg;
378
+
379
+
380
+ /**
381
+ * This structure describes ICE stream transport configuration. Application
382
+ * should initialize the structure by calling #pj_ice_strans_cfg_default()
383
+ * before changing the settings.
384
+ */
385
+ typedef struct pj_ice_strans_cfg
386
+ {
387
+ /**
388
+ * The address family which will be used as the default address
389
+ * in the SDP offer. Setting this to pj_AF_UNSPEC() means that
390
+ * the address family will not be considered during the process
391
+ * of default candidate selection.
392
+ *
393
+ * The default value is pj_AF_INET() (IPv4).
394
+ */
395
+ int af;
396
+
397
+ /**
398
+ * STUN configuration which contains the timer heap and
399
+ * ioqueue instance to be used, and STUN retransmission
400
+ * settings. This setting is mandatory.
401
+ *
402
+ * The default value is all zero. Application must initialize
403
+ * this setting with #pj_stun_config_init().
404
+ */
405
+ pj_stun_config stun_cfg;
406
+
407
+ /**
408
+ * DNS resolver to be used to resolve servers. If DNS SRV
409
+ * resolution is required, the resolver must be set.
410
+ *
411
+ * The default value is NULL.
412
+ */
413
+ pj_dns_resolver *resolver;
414
+
415
+ /**
416
+ * This contains various STUN session options. Once the ICE stream
417
+ * transport is created, application may also change the options
418
+ * with #pj_ice_strans_set_options().
419
+ */
420
+ pj_ice_sess_options opt;
421
+
422
+ /**
423
+ * Warning: this field is deprecated, please use \a stun_tp field instead.
424
+ * To maintain backward compatibility, if \a stun_tp_cnt is zero, the
425
+ * value of this field will be copied to \a stun_tp.
426
+ *
427
+ * STUN and local transport settings. This specifies the settings
428
+ * for local UDP socket address and STUN resolved address.
429
+ */
430
+ pj_ice_strans_stun_cfg stun;
431
+
432
+ /**
433
+ * Number of STUN transports.
434
+ *
435
+ * Default: 0
436
+ */
437
+ unsigned stun_tp_cnt;
438
+
439
+ /**
440
+ * STUN and local transport settings. This specifies the settings
441
+ * for local UDP socket address and STUN resolved address.
442
+ */
443
+ pj_ice_strans_stun_cfg stun_tp[PJ_ICE_MAX_STUN];
444
+
445
+ /**
446
+ * Warning: this field is deprecated, please use \a turn_tp field instead.
447
+ * To maintain backward compatibility, if \a turn_tp_cnt is zero, the
448
+ * value of this field will be copied to \a turn_tp.
449
+ *
450
+ * TURN transport settings.
451
+ */
452
+ pj_ice_strans_turn_cfg turn;
453
+
454
+ /**
455
+ * Number of TURN transports.
456
+ *
457
+ * Default: 0
458
+ */
459
+ unsigned turn_tp_cnt;
460
+
461
+ /**
462
+ * TURN transport settings.
463
+ */
464
+ pj_ice_strans_turn_cfg turn_tp[PJ_ICE_MAX_TURN];
465
+
466
+ /**
467
+ * Number of send buffers used for pj_ice_strans_sendto2(). If the send
468
+ * buffers are full, pj_ice_strans_sendto()/sendto2() will return
469
+ * PJ_EBUSY.
470
+ *
471
+ * Set this to 0 to disable buffering (then application will have to
472
+ * maintain the buffer passed to pj_ice_strans_sendto()/sendto2()
473
+ * until it has been sent).
474
+ *
475
+ * Default: 4
476
+ */
477
+ unsigned num_send_buf;
478
+
479
+ /**
480
+ * Buffer size used for pj_ice_strans_sendto2().
481
+ *
482
+ * Default: 0 (size determined by the size of the first packet sent).
483
+ */
484
+ unsigned send_buf_size;
485
+
486
+ /**
487
+ * Component specific settings, which will override the settings in
488
+ * the STUN and TURN settings above. For example, setting the QoS
489
+ * parameters here allows the application to have different QoS
490
+ * traffic type for RTP and RTCP component.
491
+ */
492
+ struct {
493
+ /**
494
+ * QoS traffic type to be set on this transport. When application
495
+ * wants to apply QoS tagging to the transport, it's preferable to
496
+ * set this field rather than \a qos_param fields since this is
497
+ * more portable.
498
+ *
499
+ * Default value is PJ_QOS_TYPE_BEST_EFFORT.
500
+ */
501
+ pj_qos_type qos_type;
502
+
503
+ /**
504
+ * Set the low level QoS parameters to the transport. This is a
505
+ * lower level operation than setting the \a qos_type field and
506
+ * may not be supported on all platforms.
507
+ *
508
+ * By default all settings in this structure are disabled.
509
+ */
510
+ pj_qos_params qos_params;
511
+
512
+ /**
513
+ * Specify target value for socket receive buffer size. It will be
514
+ * applied using setsockopt(). When it fails to set the specified
515
+ * size, it will try with lower value until the highest possible is
516
+ * successfully set.
517
+ *
518
+ * When this is set to zero, this component will apply socket receive
519
+ * buffer size settings specified in STUN and TURN socket config
520
+ * above, i.e: \a stun::cfg::so_rcvbuf_size and
521
+ * \a turn::cfg::so_rcvbuf_size. Otherwise, this setting will be
522
+ * applied to STUN and TURN sockets for this component, overriding
523
+ * the setting specified in STUN/TURN socket config.
524
+ *
525
+ * Default: 0
526
+ */
527
+ unsigned so_rcvbuf_size;
528
+
529
+ /**
530
+ * Specify target value for socket send buffer size. It will be
531
+ * applied using setsockopt(). When it fails to set the specified
532
+ * size, it will try with lower value until the highest possible is
533
+ * successfully set.
534
+ *
535
+ * When this is set to zero, this component will apply socket send
536
+ * buffer size settings specified in STUN and TURN socket config
537
+ * above, i.e: \a stun::cfg::so_sndbuf_size and
538
+ * \a turn::cfg::so_sndbuf_size. Otherwise, this setting will be
539
+ * applied to STUN and TURN sockets for this component, overriding
540
+ * the setting specified in STUN/TURN socket config.
541
+ *
542
+ * Default: 0
543
+ */
544
+ unsigned so_sndbuf_size;
545
+
546
+ } comp[PJ_ICE_MAX_COMP];
547
+
548
+ } pj_ice_strans_cfg;
549
+
550
+
551
+ /**
552
+ * ICE stream transport's state.
553
+ */
554
+ typedef enum pj_ice_strans_state
555
+ {
556
+ /**
557
+ * ICE stream transport is not created.
558
+ */
559
+ PJ_ICE_STRANS_STATE_NULL,
560
+
561
+ /**
562
+ * ICE candidate gathering process is in progress.
563
+ */
564
+ PJ_ICE_STRANS_STATE_INIT,
565
+
566
+ /**
567
+ * ICE stream transport initialization/candidate gathering process is
568
+ * complete, ICE session may be created on this stream transport.
569
+ */
570
+ PJ_ICE_STRANS_STATE_READY,
571
+
572
+ /**
573
+ * New session has been created and the session is ready.
574
+ */
575
+ PJ_ICE_STRANS_STATE_SESS_READY,
576
+
577
+ /**
578
+ * ICE negotiation is in progress.
579
+ */
580
+ PJ_ICE_STRANS_STATE_NEGO,
581
+
582
+ /**
583
+ * ICE negotiation has completed successfully and media is ready
584
+ * to be used.
585
+ */
586
+ PJ_ICE_STRANS_STATE_RUNNING,
587
+
588
+ /**
589
+ * ICE negotiation has completed with failure.
590
+ */
591
+ PJ_ICE_STRANS_STATE_FAILED
592
+
593
+ } pj_ice_strans_state;
594
+
595
+
596
+ /**
597
+ * Initialize ICE transport configuration with default values.
598
+ *
599
+ * @param cfg The configuration to be initialized.
600
+ */
601
+ PJ_DECL(void) pj_ice_strans_cfg_default(pj_ice_strans_cfg *cfg);
602
+
603
+
604
+ /**
605
+ * Initialize ICE STUN transport configuration with default values.
606
+ *
607
+ * @param cfg The configuration to be initialized.
608
+ */
609
+ PJ_DECL(void) pj_ice_strans_stun_cfg_default(pj_ice_strans_stun_cfg *cfg);
610
+
611
+
612
+ /**
613
+ * Initialize ICE TURN transport configuration with default values.
614
+ *
615
+ * @param cfg The configuration to be initialized.
616
+ */
617
+ PJ_DECL(void) pj_ice_strans_turn_cfg_default(pj_ice_strans_turn_cfg *cfg);
618
+
619
+
620
+ /**
621
+ * Copy configuration.
622
+ *
623
+ * @param pool Pool.
624
+ * @param dst Destination.
625
+ * @param src Source.
626
+ */
627
+ PJ_DECL(void) pj_ice_strans_cfg_copy(pj_pool_t *pool,
628
+ pj_ice_strans_cfg *dst,
629
+ const pj_ice_strans_cfg *src);
630
+
631
+
632
+ /**
633
+ * Create and initialize the ICE stream transport with the specified
634
+ * parameters.
635
+ *
636
+ * @param name Optional name for logging identification.
637
+ * @param cfg Configuration.
638
+ * @param comp_cnt Number of components.
639
+ * @param user_data Arbitrary user data to be associated with this
640
+ * ICE stream transport.
641
+ * @param cb Callback.
642
+ * @param p_ice_st Pointer to receive the ICE stream transport
643
+ * instance.
644
+ *
645
+ * @return PJ_SUCCESS if ICE stream transport is created
646
+ * successfully.
647
+ */
648
+ PJ_DECL(pj_status_t) pj_ice_strans_create(const char *name,
649
+ const pj_ice_strans_cfg *cfg,
650
+ unsigned comp_cnt,
651
+ void *user_data,
652
+ const pj_ice_strans_cb *cb,
653
+ pj_ice_strans **p_ice_st);
654
+
655
+ /**
656
+ * Get ICE session state.
657
+ *
658
+ * @param ice_st The ICE stream transport.
659
+ *
660
+ * @return ICE session state.
661
+ */
662
+ PJ_DECL(pj_ice_strans_state) pj_ice_strans_get_state(pj_ice_strans *ice_st);
663
+
664
+
665
+ /**
666
+ * Get string representation of ICE state.
667
+ *
668
+ * @param state ICE stream transport state.
669
+ *
670
+ * @return String.
671
+ */
672
+ PJ_DECL(const char*) pj_ice_strans_state_name(pj_ice_strans_state state);
673
+
674
+
675
+ /**
676
+ * Destroy the ICE stream transport. This will destroy the ICE session
677
+ * inside the ICE stream transport, close all sockets and release all
678
+ * other resources.
679
+ *
680
+ * @param ice_st The ICE stream transport.
681
+ *
682
+ * @return PJ_SUCCESS, or the appropriate error code.
683
+ */
684
+ PJ_DECL(pj_status_t) pj_ice_strans_destroy(pj_ice_strans *ice_st);
685
+
686
+
687
+ /**
688
+ * Get the user data associated with the ICE stream transport.
689
+ *
690
+ * @param ice_st The ICE stream transport.
691
+ *
692
+ * @return The user data.
693
+ */
694
+ PJ_DECL(void*) pj_ice_strans_get_user_data(pj_ice_strans *ice_st);
695
+
696
+
697
+ /**
698
+ * Get the value of various options of the ICE stream transport.
699
+ *
700
+ * @param ice_st The ICE stream transport.
701
+ * @param opt The options to be initialized with the values
702
+ * from the ICE stream transport.
703
+ *
704
+ * @return PJ_SUCCESS on success, or the appropriate error.
705
+ */
706
+ PJ_DECL(pj_status_t) pj_ice_strans_get_options(pj_ice_strans *ice_st,
707
+ pj_ice_sess_options *opt);
708
+
709
+ /**
710
+ * Specify various options for this ICE stream transport. Application
711
+ * should call #pj_ice_strans_get_options() to initialize the options
712
+ * with their default values.
713
+ *
714
+ * @param ice_st The ICE stream transport.
715
+ * @param opt Options to be applied to this ICE stream transport.
716
+ *
717
+ * @return PJ_SUCCESS on success, or the appropriate error.
718
+ */
719
+ PJ_DECL(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st,
720
+ const pj_ice_sess_options *opt);
721
+
722
+ /**
723
+ * Update number of components of the ICE stream transport. This can only
724
+ * reduce the number of components from the initial value specified in
725
+ * pj_ice_strans_create() and before ICE session is initialized.
726
+ *
727
+ * @param ice_st The ICE stream transport.
728
+ * @param comp_cnt Number of components.
729
+ *
730
+ * @return PJ_SUCCESS on success, or the appropriate error.
731
+ */
732
+ PJ_DECL(pj_status_t) pj_ice_strans_update_comp_cnt(pj_ice_strans *ice_st,
733
+ unsigned comp_cnt);
734
+
735
+ /**
736
+ * Get the group lock for this ICE stream transport.
737
+ *
738
+ * @param ice_st The ICE stream transport.
739
+ *
740
+ * @return The group lock.
741
+ */
742
+ PJ_DECL(pj_grp_lock_t *) pj_ice_strans_get_grp_lock(pj_ice_strans *ice_st);
743
+
744
+ /**
745
+ * Initialize the ICE session in the ICE stream transport.
746
+ * When application is about to send an offer containing ICE capability,
747
+ * or when it receives an offer containing ICE capability, it must
748
+ * call this function to initialize the internal ICE session. This would
749
+ * register all transport address aliases for each component to the ICE
750
+ * session as candidates. Then application can enumerate all local
751
+ * candidates by calling #pj_ice_strans_enum_cands(), and encode these
752
+ * candidates in the SDP to be sent to remote agent.
753
+ *
754
+ * @param ice_st The ICE stream transport.
755
+ * @param role ICE role.
756
+ * @param local_ufrag Optional local username fragment.
757
+ * @param local_passwd Optional local password.
758
+ *
759
+ * @return PJ_SUCCESS, or the appropriate error code.
760
+ */
761
+ PJ_DECL(pj_status_t) pj_ice_strans_init_ice(pj_ice_strans *ice_st,
762
+ pj_ice_sess_role role,
763
+ const pj_str_t *local_ufrag,
764
+ const pj_str_t *local_passwd);
765
+
766
+ /**
767
+ * Check if the ICE stream transport has the ICE session created. The
768
+ * ICE session is created with #pj_ice_strans_init_ice().
769
+ *
770
+ * @param ice_st The ICE stream transport.
771
+ *
772
+ * @return PJ_TRUE if #pj_ice_strans_init_ice() has been
773
+ * called.
774
+ */
775
+ PJ_DECL(pj_bool_t) pj_ice_strans_has_sess(pj_ice_strans *ice_st);
776
+
777
+
778
+ /**
779
+ * Check if ICE negotiation is still running.
780
+ *
781
+ * @param ice_st The ICE stream transport.
782
+ *
783
+ * @return PJ_TRUE if ICE session has been created and ICE
784
+ * negotiation negotiation is in progress.
785
+ */
786
+ PJ_DECL(pj_bool_t) pj_ice_strans_sess_is_running(pj_ice_strans *ice_st);
787
+
788
+
789
+ /**
790
+ * Check if ICE negotiation has completed.
791
+ *
792
+ * @param ice_st The ICE stream transport.
793
+ *
794
+ * @return PJ_TRUE if ICE session has been created and the
795
+ * negotiation is complete.
796
+ */
797
+ PJ_DECL(pj_bool_t) pj_ice_strans_sess_is_complete(pj_ice_strans *ice_st);
798
+
799
+
800
+ /**
801
+ * Get the current/running component count. If ICE negotiation has not
802
+ * been started, the number of components will be equal to the number
803
+ * when the ICE stream transport was created. Once negotiation been
804
+ * started, the number of components will be the lowest number of
805
+ * component between local and remote agents.
806
+ *
807
+ * @param ice_st The ICE stream transport.
808
+ *
809
+ * @return The running number of components.
810
+ */
811
+ PJ_DECL(unsigned) pj_ice_strans_get_running_comp_cnt(pj_ice_strans *ice_st);
812
+
813
+
814
+ /**
815
+ * Get the ICE username fragment and password of the ICE session. The
816
+ * local username fragment and password can only be retrieved once ICE
817
+ * session has been created with #pj_ice_strans_init_ice(). The remote
818
+ * username fragment and password can only be retrieved once ICE session
819
+ * has been started with #pj_ice_strans_start_ice().
820
+ *
821
+ * Note that the string returned by this function is only valid throughout
822
+ * the duration of the ICE session, and the application must not modify
823
+ * these strings. Once the ICE session has been stopped with
824
+ * #pj_ice_strans_stop_ice(), the pointer in the string will no longer be
825
+ * valid.
826
+ *
827
+ * @param ice_st The ICE stream transport.
828
+ * @param loc_ufrag Optional pointer to receive ICE username fragment
829
+ * of local endpoint from the ICE session.
830
+ * @param loc_pwd Optional pointer to receive ICE password of local
831
+ * endpoint from the ICE session.
832
+ * @param rem_ufrag Optional pointer to receive ICE username fragment
833
+ * of remote endpoint from the ICE session.
834
+ * @param rem_pwd Optional pointer to receive ICE password of remote
835
+ * endpoint from the ICE session.
836
+ *
837
+ * @return PJ_SUCCESS if the strings have been retrieved
838
+ * successfully.
839
+ */
840
+ PJ_DECL(pj_status_t) pj_ice_strans_get_ufrag_pwd(pj_ice_strans *ice_st,
841
+ pj_str_t *loc_ufrag,
842
+ pj_str_t *loc_pwd,
843
+ pj_str_t *rem_ufrag,
844
+ pj_str_t *rem_pwd);
845
+
846
+
847
+ /**
848
+ * Get the number of local candidates for the specified component ID.
849
+ *
850
+ * @param ice_st The ICE stream transport.
851
+ * @param comp_id Component ID.
852
+ *
853
+ * @return The number of candidates.
854
+ */
855
+ PJ_DECL(unsigned) pj_ice_strans_get_cands_count(pj_ice_strans *ice_st,
856
+ unsigned comp_id);
857
+
858
+ /**
859
+ * Enumerate the local candidates for the specified component.
860
+ *
861
+ * @param ice_st The ICE stream transport.
862
+ * @param comp_id Component ID.
863
+ * @param count On input, it specifies the maximum number of
864
+ * elements. On output, it will be filled with
865
+ * the number of candidates copied to the
866
+ * array.
867
+ * @param cand Array of candidates.
868
+ *
869
+ * @return PJ_SUCCESS, or the appropriate error code.
870
+ */
871
+ PJ_DECL(pj_status_t) pj_ice_strans_enum_cands(pj_ice_strans *ice_st,
872
+ unsigned comp_id,
873
+ unsigned *count,
874
+ pj_ice_sess_cand cand[]);
875
+
876
+ /**
877
+ * Get the default candidate for the specified component. When this
878
+ * function is called before ICE negotiation completes, the default
879
+ * candidate is selected according to local preference criteria. When
880
+ * this function is called after ICE negotiation completes, the
881
+ * default candidate is the candidate that forms the valid pair.
882
+ *
883
+ * @param ice_st The ICE stream transport.
884
+ * @param comp_id Component ID.
885
+ * @param cand Pointer to receive the default candidate
886
+ * information.
887
+ */
888
+ PJ_DECL(pj_status_t) pj_ice_strans_get_def_cand(pj_ice_strans *ice_st,
889
+ unsigned comp_id,
890
+ pj_ice_sess_cand *cand);
891
+
892
+ /**
893
+ * Get the current ICE role. ICE session must have been initialized
894
+ * before this function can be called.
895
+ *
896
+ * @param ice_st The ICE stream transport.
897
+ *
898
+ * @return Current ICE role.
899
+ */
900
+ PJ_DECL(pj_ice_sess_role) pj_ice_strans_get_role(pj_ice_strans *ice_st);
901
+
902
+
903
+ /**
904
+ * Change session role. This happens for example when ICE session was
905
+ * created with controlled role when receiving an offer, but it turns out
906
+ * that the offer contains "a=ice-lite" attribute when the SDP gets
907
+ * inspected. ICE session must have been initialized before this function
908
+ * can be called.
909
+ *
910
+ * @param ice_st The ICE stream transport.
911
+ * @param new_role The new role to be set.
912
+ *
913
+ * @return PJ_SUCCESS on success, or the appropriate error.
914
+ */
915
+ PJ_DECL(pj_status_t) pj_ice_strans_change_role(pj_ice_strans *ice_st,
916
+ pj_ice_sess_role new_role);
917
+
918
+
919
+ /**
920
+ * Start ICE connectivity checks. This function can only be called
921
+ * after the ICE session has been created in the ICE stream transport
922
+ * with #pj_ice_strans_init_ice().
923
+ *
924
+ * This function must be called once application has received remote
925
+ * candidate list (typically from the remote SDP). This function pairs
926
+ * local candidates with remote candidates, and starts ICE connectivity
927
+ * checks. The ICE session/transport will then notify the application
928
+ * via the callback when ICE connectivity checks completes, either
929
+ * successfully or with failure.
930
+ *
931
+ * @param ice_st The ICE stream transport.
932
+ * @param rem_ufrag Remote ufrag, as seen in the SDP received from
933
+ * the remote agent.
934
+ * @param rem_passwd Remote password, as seen in the SDP received from
935
+ * the remote agent.
936
+ * @param rcand_cnt Number of remote candidates in the array.
937
+ * @param rcand Remote candidates array.
938
+ *
939
+ * @return PJ_SUCCESS, or the appropriate error code.
940
+ */
941
+ PJ_DECL(pj_status_t) pj_ice_strans_start_ice(pj_ice_strans *ice_st,
942
+ const pj_str_t *rem_ufrag,
943
+ const pj_str_t *rem_passwd,
944
+ unsigned rcand_cnt,
945
+ const pj_ice_sess_cand rcand[]);
946
+
947
+
948
+ /**
949
+ * Update check list after receiving new remote ICE candidates or after
950
+ * new local ICE candidates are found and conveyed to remote. This function
951
+ * can also be called after receiving end of candidate indication from
952
+ * either remote or local agent.
953
+ *
954
+ * This function is only applicable when trickle ICE is not disabled and
955
+ * after ICE session has been created using pj_ice_strans_init_ice().
956
+ *
957
+ * @param ice_st The ICE stream transport.
958
+ * @param rem_ufrag Remote ufrag, as seen in the SDP received from
959
+ * the remote agent.
960
+ * @param rem_passwd Remote password, as seen in the SDP received from
961
+ * the remote agent.
962
+ * @param rcand_cnt Number of new remote candidates in the array.
963
+ * @param rcand New remote candidates array.
964
+ * @param rcand_end Set to PJ_TRUE if remote has signalled
965
+ * end-of-candidate.
966
+ *
967
+ * @return PJ_SUCCESS, or the appropriate error code.
968
+ */
969
+ PJ_DECL(pj_status_t) pj_ice_strans_update_check_list(
970
+ pj_ice_strans *ice_st,
971
+ const pj_str_t *rem_ufrag,
972
+ const pj_str_t *rem_passwd,
973
+ unsigned rcand_cnt,
974
+ const pj_ice_sess_cand rcand[],
975
+ pj_bool_t rcand_end);
976
+
977
+ /**
978
+ * Retrieve the candidate pair that has been nominated and successfully
979
+ * checked for the specified component. If ICE negotiation is still in
980
+ * progress or it has failed, this function will return NULL.
981
+ *
982
+ * @param ice_st The ICE stream transport.
983
+ * @param comp_id Component ID.
984
+ *
985
+ * @return The valid pair as ICE checklist structure if the
986
+ * pair exist.
987
+ */
988
+ PJ_DECL(const pj_ice_sess_check*)
989
+ pj_ice_strans_get_valid_pair(const pj_ice_strans *ice_st,
990
+ unsigned comp_id);
991
+
992
+ /**
993
+ * Stop and destroy the ICE session inside this media transport. Application
994
+ * needs to call this function once the media session is over (the call has
995
+ * been disconnected).
996
+ *
997
+ * Application MAY reuse this ICE stream transport for subsequent calls.
998
+ * In this case, it must call #pj_ice_strans_stop_ice() when the call is
999
+ * disconnected, and reinitialize the ICE stream transport for subsequent
1000
+ * call with #pj_ice_strans_init_ice()/#pj_ice_strans_start_ice(). In this
1001
+ * case, the ICE stream transport will maintain the internal sockets and
1002
+ * continue to send STUN keep-alive packets and TURN Refresh request to
1003
+ * keep the NAT binding/TURN allocation open and to detect change in STUN
1004
+ * mapped address.
1005
+ *
1006
+ * If application does not want to reuse the ICE stream transport for
1007
+ * subsequent calls, it must call #pj_ice_strans_destroy() to destroy the
1008
+ * ICE stream transport altogether.
1009
+ *
1010
+ * @param ice_st The ICE stream transport.
1011
+ *
1012
+ * @return PJ_SUCCESS, or the appropriate error code.
1013
+ */
1014
+ PJ_DECL(pj_status_t) pj_ice_strans_stop_ice(pj_ice_strans *ice_st);
1015
+
1016
+
1017
+ #if !DEPRECATED_FOR_TICKET_2229
1018
+ /**
1019
+ * Send outgoing packet using this transport.
1020
+ * Application can send data (normally RTP or RTCP packets) at any time
1021
+ * by calling this function. This function takes a destination
1022
+ * address as one of the arguments, and this destination address should
1023
+ * be taken from the default transport address of the component (that is
1024
+ * the address in SDP c= and m= lines, or in a=rtcp attribute).
1025
+ * If ICE negotiation is in progress, this function will send the data
1026
+ * to the destination address. Otherwise if ICE negotiation has completed
1027
+ * successfully, this function will send the data to the nominated remote
1028
+ * address, as negotiated by ICE.
1029
+ *
1030
+ * Limitations:
1031
+ * 1. This function cannot inform the app whether the data has been sent,
1032
+ * or currently still pending.
1033
+ * 2. In case that the data is still pending, the application has no way
1034
+ * of knowing the status of the send operation (whether it's a success
1035
+ * or failure).
1036
+ * Due to these limitations, the API is deprecated and will be removed
1037
+ * in the future.
1038
+ *
1039
+ * Note that application shouldn't mix using pj_ice_strans_sendto() and
1040
+ * pj_ice_strans_sendto2() to avoid inconsistent calling of
1041
+ * on_data_sent() callback.
1042
+ *
1043
+ * @param ice_st The ICE stream transport.
1044
+ * @param comp_id Component ID.
1045
+ * @param data The data or packet to be sent.
1046
+ * @param data_len Size of data or packet, in bytes.
1047
+ * @param dst_addr The destination address.
1048
+ * @param dst_addr_len Length of destination address.
1049
+ *
1050
+ * @return PJ_SUCCESS if data has been sent, or will be sent
1051
+ * later. No callback will be called.
1052
+ */
1053
+ PJ_DECL(pj_status_t) pj_ice_strans_sendto(pj_ice_strans *ice_st,
1054
+ unsigned comp_id,
1055
+ const void *data,
1056
+ pj_size_t data_len,
1057
+ const pj_sockaddr_t *dst_addr,
1058
+ int dst_addr_len);
1059
+ #endif
1060
+
1061
+
1062
+ /**
1063
+ * Send outgoing packet using this transport.
1064
+ * Application can send data (normally RTP or RTCP packets) at any time
1065
+ * by calling this function. This function takes a destination
1066
+ * address as one of the arguments, and this destination address should
1067
+ * be taken from the default transport address of the component (that is
1068
+ * the address in SDP c= and m= lines, or in a=rtcp attribute).
1069
+ * If ICE negotiation is in progress, this function will try to send the data
1070
+ * via any valid candidate pair (which has passed ICE connectivity test).
1071
+ * If ICE negotiation has completed successfully, this function will send
1072
+ * the data to the nominated remote address, as negotiated by ICE.
1073
+ * If the ICE negotiation fails or valid candidate pair is not yet available,
1074
+ * this function will send the data using default candidate to the specified
1075
+ * destination address.
1076
+ *
1077
+ * Note that application shouldn't mix using pj_ice_strans_sendto() and
1078
+ * pj_ice_strans_sendto2() to avoid inconsistent calling of
1079
+ * on_data_sent() callback.
1080
+ *
1081
+ * @param ice_st The ICE stream transport.
1082
+ * @param comp_id Component ID.
1083
+ * @param data The data or packet to be sent.
1084
+ * @param data_len Size of data or packet, in bytes.
1085
+ * @param dst_addr The destination address.
1086
+ * @param dst_addr_len Length of destination address.
1087
+ *
1088
+ * @return PJ_SUCCESS if data has been sent, or
1089
+ * PJ_EPENDING if data cannot be sent immediately. In
1090
+ * this case the \a on_data_sent() callback will be
1091
+ * called when data is actually sent. Any other return
1092
+ * value indicates error condition.
1093
+ */
1094
+ PJ_DECL(pj_status_t) pj_ice_strans_sendto2(pj_ice_strans *ice_st,
1095
+ unsigned comp_id,
1096
+ const void *data,
1097
+ pj_size_t data_len,
1098
+ const pj_sockaddr_t *dst_addr,
1099
+ int dst_addr_len);
1100
+
1101
+
1102
+ /**
1103
+ * @}
1104
+ */
1105
+
1106
+
1107
+ PJ_END_DECL
1108
+
1109
+
1110
+
1111
+ #endif /* __PJNATH_ICE_STRANS_H__ */
1112
+