@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,1122 @@
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_SESSION_H__
20
+ #define __PJNATH_ICE_SESSION_H__
21
+
22
+ /**
23
+ * @file ice_session.h
24
+ * @brief ICE session management
25
+ */
26
+ #include <pjnath/types.h>
27
+ #include <pjnath/stun_session.h>
28
+ #include <pjnath/errno.h>
29
+ #include <pj/sock.h>
30
+ #include <pj/timer.h>
31
+
32
+ PJ_BEGIN_DECL
33
+
34
+
35
+ /**
36
+ * @addtogroup PJNATH_ICE_SESSION
37
+ * @{
38
+ *
39
+ * This module describes #pj_ice_sess, a transport independent ICE session,
40
+ * part of PJNATH - the Open Source NAT helper library.
41
+ *
42
+ * \section pj_ice_sess_sec ICE Session
43
+ *
44
+ * An ICE session, represented by #pj_ice_sess structure, is the lowest
45
+ * abstraction of ICE in PJNATH, and it is used to perform and manage
46
+ * connectivity checks of transport address candidates <b>within a
47
+ * single media stream</b> (note: this differs from what is described
48
+ * in ICE draft, where an ICE session manages the whole media sessions
49
+ * rather than just a single stream).
50
+ *
51
+ * The ICE session described here is independent from any transports,
52
+ * meaning that the actual network I/O for this session would have to
53
+ * be performed by the application, or higher layer abstraction.
54
+ * Using this framework, application would give any incoming packets to
55
+ * the ICE session, and it would provide the ICE session with a callback
56
+ * to send outgoing message.
57
+ *
58
+ * For higher abstraction of ICE where transport is included, please
59
+ * see \ref PJNATH_ICE_STREAM_TRANSPORT.
60
+ *
61
+ * \subsection pj_ice_sess_using_sec Using The ICE Session
62
+ *
63
+ * The steps below describe how to use ICE session. Alternatively application
64
+ * can use the higher level ICE API, \ref PJNATH_ICE_STREAM_TRANSPORT,
65
+ * which has provided the integration of ICE with socket transport.
66
+ *
67
+ * The steps to use ICE session is similar for both offerer and
68
+ * answerer:
69
+ * - create ICE session with #pj_ice_sess_create(). Among other things,
70
+ * application needs to specify:
71
+ * - STUN configuration (pj_stun_config), containing STUN settings
72
+ * such as timeout values and the instances of timer heap and
73
+ * ioqueue.
74
+ * - Session name, useful for identifying this session in the log.
75
+ * - Initial ICE role (#pj_ice_sess_role). The role can be changed
76
+ * at later time with #pj_ice_sess_change_role(), and ICE session
77
+ * can also change its role automatically when it detects role
78
+ * conflict.
79
+ * - Number of components in the media session.
80
+ * - Callback to receive ICE events (#pj_ice_sess_cb)
81
+ * - Optional local ICE username and password. If these arguments
82
+ * are NULL, they will be generated randomly.
83
+ * - Add local candidates for each component, with #pj_ice_sess_add_cand().
84
+ * A candidate is represented with #pj_ice_sess_cand structure.
85
+ * Each component must be provided with at least one candidate, and
86
+ * all components must have the same number of candidates. Failing
87
+ * to comply with this will cause failure during pairing process.
88
+ * - Create offer to describe local ICE candidates. ICE session does not
89
+ * provide a function to create such offer, but application should be
90
+ * able to create one since it knows about all components and candidates.
91
+ * If application uses \ref PJNATH_ICE_STREAM_TRANSPORT, it can
92
+ * enumerate local candidates by calling #pj_ice_strans_enum_cands().
93
+ * Application may use #pj_ice_sess_find_default_cand() to let ICE
94
+ * session chooses the default transport address to be used in SDP
95
+ * c= and m= lines.
96
+ * - Send the offer to remote endpoint using signaling such as SIP.
97
+ * - Once application has received the answer, it should parse this
98
+ * answer, build array of remote candidates, and create check lists by
99
+ * calling #pj_ice_sess_create_check_list(). This process is known as
100
+ * pairing the candidates, and will result in the creation of check lists.
101
+ * - Once checklist has been created, application then can call
102
+ * #pj_ice_sess_start_check() to instruct ICE session to start
103
+ * performing connectivity checks. The ICE session performs the
104
+ * connectivity checks by processing each check in the checklists.
105
+ * - Application will be notified about the result of ICE connectivity
106
+ * checks via the callback that was given in #pj_ice_sess_create()
107
+ * above.
108
+ *
109
+ * To send data, application calls #pj_ice_sess_send_data(). If ICE
110
+ * negotiation has not completed, ICE session would simply drop the data,
111
+ * and return error to caller. If ICE negotiation has completed
112
+ * successfully, ICE session will in turn call the \a on_tx_pkt
113
+ * callback of #pj_ice_sess_cb instance that was previously registered
114
+ * in #pj_ice_sess_create() above.
115
+ *
116
+ * When application receives any packets on the underlying sockets, it
117
+ * must call #pj_ice_sess_on_rx_pkt(). The ICE session will inspect the
118
+ * packet to decide whether to process it locally (if the packet is a
119
+ * STUN message and is part of ICE session) or otherwise pass it back to
120
+ * application via \a on_rx_data callback.
121
+ */
122
+
123
+ /**
124
+ * Forward declaration for checklist.
125
+ */
126
+ typedef struct pj_ice_sess_checklist pj_ice_sess_checklist;
127
+
128
+ /**
129
+ * This enumeration describes the type of an ICE candidate.
130
+ */
131
+ typedef enum pj_ice_cand_type
132
+ {
133
+ /**
134
+ * ICE host candidate. A host candidate represents the actual local
135
+ * transport address in the host.
136
+ */
137
+ PJ_ICE_CAND_TYPE_HOST,
138
+
139
+ /**
140
+ * ICE server reflexive candidate, which represents the public mapped
141
+ * address of the local address, and is obtained by sending STUN
142
+ * Binding request from the host candidate to a STUN server.
143
+ */
144
+ PJ_ICE_CAND_TYPE_SRFLX,
145
+
146
+ /**
147
+ * ICE peer reflexive candidate, which is the address as seen by peer
148
+ * agent during connectivity check.
149
+ */
150
+ PJ_ICE_CAND_TYPE_PRFLX,
151
+
152
+ /**
153
+ * ICE relayed candidate, which represents the address allocated in
154
+ * TURN server.
155
+ */
156
+ PJ_ICE_CAND_TYPE_RELAYED,
157
+
158
+ /**
159
+ * Number of defined ICE candidate types.
160
+ */
161
+ PJ_ICE_CAND_TYPE_MAX
162
+
163
+ } pj_ice_cand_type;
164
+
165
+
166
+ /** Forward declaration for pj_ice_sess */
167
+ typedef struct pj_ice_sess pj_ice_sess;
168
+
169
+ /** Forward declaration for pj_ice_sess_check */
170
+ typedef struct pj_ice_sess_check pj_ice_sess_check;
171
+
172
+ /** Forward declaration for pj_ice_sess_cand */
173
+ typedef struct pj_ice_sess_cand pj_ice_sess_cand;
174
+
175
+ /**
176
+ * This structure describes ICE component.
177
+ * A media stream may require multiple components, each of which has
178
+ * to work for the media stream as a whole to work. For media streams
179
+ * based on RTP, there are two components per media stream - one for RTP,
180
+ * and one for RTCP.
181
+ */
182
+ typedef struct pj_ice_sess_comp
183
+ {
184
+ /**
185
+ * Pointer to ICE check with highest priority which connectivity check
186
+ * has been successful. The value will be NULL if a no successful check
187
+ * has not been found for this component.
188
+ */
189
+ pj_ice_sess_check *valid_check;
190
+
191
+ /**
192
+ * Pointer to ICE check with highest priority which connectivity check
193
+ * has been successful and it has been nominated. The value may be NULL
194
+ * if there is no such check yet.
195
+ */
196
+ pj_ice_sess_check *nominated_check;
197
+
198
+ /**
199
+ * The STUN session to be used to send and receive STUN messages for this
200
+ * component.
201
+ */
202
+ pj_stun_session *stun_sess;
203
+
204
+ } pj_ice_sess_comp;
205
+
206
+
207
+ /**
208
+ * Data structure to be attached to internal message processing.
209
+ */
210
+ typedef struct pj_ice_msg_data
211
+ {
212
+ /** Transport ID for this message */
213
+ unsigned transport_id;
214
+
215
+ /** Flag to indicate whether data.req contains data */
216
+ pj_bool_t has_req_data;
217
+
218
+ /** The data */
219
+ union data {
220
+ /** Request data */
221
+ struct request_data {
222
+ pj_ice_sess *ice; /**< ICE session */
223
+ pj_ice_sess_checklist *clist; /**< Checklist */
224
+ unsigned ckid; /**< Check ID */
225
+ pj_ice_sess_cand *lcand; /**< Local cand */
226
+ pj_ice_sess_cand *rcand; /**< Remote cand */
227
+ } req; /**< Request data */
228
+ } data; /**< The data */
229
+
230
+ } pj_ice_msg_data;
231
+
232
+
233
+ /**
234
+ * This structure describes an ICE candidate.
235
+ * ICE candidate is a transport address that is to be tested by ICE
236
+ * procedures in order to determine its suitability for usage for
237
+ * receipt of media. Candidates also have properties - their type
238
+ * (server reflexive, relayed or host), priority, foundation, and
239
+ * base.
240
+ */
241
+ struct pj_ice_sess_cand
242
+ {
243
+ /**
244
+ * The candidate ID.
245
+ */
246
+ unsigned id;
247
+
248
+ /**
249
+ * The candidate type, as described in #pj_ice_cand_type enumeration.
250
+ */
251
+ pj_ice_cand_type type;
252
+
253
+ /**
254
+ * Status of this candidate. The value will be PJ_SUCCESS if candidate
255
+ * address has been resolved successfully, PJ_EPENDING when the address
256
+ * resolution process is in progress, or other value when the address
257
+ * resolution has completed with failure.
258
+ */
259
+ pj_status_t status;
260
+
261
+ /**
262
+ * The component ID of this candidate. Note that component IDs starts
263
+ * with one for RTP and two for RTCP. In other words, it's not zero
264
+ * based.
265
+ */
266
+ pj_uint8_t comp_id;
267
+
268
+ /**
269
+ * Transport ID to be used to send packets for this candidate.
270
+ */
271
+ pj_uint8_t transport_id;
272
+
273
+ /**
274
+ * Local preference value, which typically is 65535.
275
+ */
276
+ pj_uint16_t local_pref;
277
+
278
+ /**
279
+ * The foundation string, which is an identifier which value will be
280
+ * equivalent for two candidates that are of the same type, share the
281
+ * same base, and come from the same STUN server. The foundation is
282
+ * used to optimize ICE performance in the Frozen algorithm.
283
+ */
284
+ pj_str_t foundation;
285
+
286
+ /**
287
+ * The candidate's priority, a 32-bit unsigned value which value will be
288
+ * calculated by the ICE session when a candidate is registered to the
289
+ * ICE session.
290
+ */
291
+ pj_uint32_t prio;
292
+
293
+ /**
294
+ * IP address of this candidate. For host candidates, this represents
295
+ * the local address of the socket. For reflexive candidates, the value
296
+ * will be the public address allocated in NAT router for the host
297
+ * candidate and as reported in MAPPED-ADDRESS or XOR-MAPPED-ADDRESS
298
+ * attribute of STUN Binding request. For relayed candidate, the value
299
+ * will be the address allocated in the TURN server by STUN Allocate
300
+ * request.
301
+ */
302
+ pj_sockaddr addr;
303
+
304
+ /**
305
+ * Base address of this candidate. "Base" refers to the address an agent
306
+ * sends from for a particular candidate. For host candidates, the base
307
+ * is the same as the host candidate itself. For reflexive candidates,
308
+ * the base is the local IP address of the socket. For relayed candidates,
309
+ * the base address is the transport address allocated in the TURN server
310
+ * for this candidate.
311
+ */
312
+ pj_sockaddr base_addr;
313
+
314
+ /**
315
+ * Related address, which is used for informational only and is not used
316
+ * in any way by the ICE session.
317
+ */
318
+ pj_sockaddr rel_addr;
319
+
320
+ };
321
+
322
+
323
+ /**
324
+ * This enumeration describes the state of ICE check.
325
+ */
326
+ typedef enum pj_ice_sess_check_state
327
+ {
328
+ /**
329
+ * A check for this pair hasn't been performed, and it can't
330
+ * yet be performed until some other check succeeds, allowing this
331
+ * pair to unfreeze and move into the Waiting state.
332
+ */
333
+ PJ_ICE_SESS_CHECK_STATE_FROZEN,
334
+
335
+ /**
336
+ * A check has not been performed for this pair, and can be
337
+ * performed as soon as it is the highest priority Waiting pair on
338
+ * the check list.
339
+ */
340
+ PJ_ICE_SESS_CHECK_STATE_WAITING,
341
+
342
+ /**
343
+ * A check has not been performed for this pair, and can be
344
+ * performed as soon as it is the highest priority Waiting pair on
345
+ * the check list.
346
+ */
347
+ PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS,
348
+
349
+ /**
350
+ * A check has not been performed for this pair, and can be
351
+ * performed as soon as it is the highest priority Waiting pair on
352
+ * the check list.
353
+ */
354
+ PJ_ICE_SESS_CHECK_STATE_SUCCEEDED,
355
+
356
+ /**
357
+ * A check for this pair was already done and failed, either
358
+ * never producing any response or producing an unrecoverable failure
359
+ * response.
360
+ */
361
+ PJ_ICE_SESS_CHECK_STATE_FAILED
362
+
363
+ } pj_ice_sess_check_state;
364
+
365
+
366
+ /**
367
+ * This structure describes an ICE connectivity check. An ICE check
368
+ * contains a candidate pair, and will involve sending STUN Binding
369
+ * Request transaction for the purposes of verifying connectivity.
370
+ * A check is sent from the local candidate to the remote candidate
371
+ * of a candidate pair.
372
+ */
373
+ struct pj_ice_sess_check
374
+ {
375
+ /**
376
+ * Pointer to local candidate entry of this check.
377
+ */
378
+ pj_ice_sess_cand *lcand;
379
+
380
+ /**
381
+ * Pointer to remote candidate entry of this check.
382
+ */
383
+ pj_ice_sess_cand *rcand;
384
+
385
+ /**
386
+ * Foundation index, referring to foundation array defined in checklist.
387
+ */
388
+ int foundation_idx;
389
+
390
+ /**
391
+ * Check priority.
392
+ */
393
+ pj_timestamp prio;
394
+
395
+ /**
396
+ * Connectivity check state.
397
+ */
398
+ pj_ice_sess_check_state state;
399
+
400
+ /**
401
+ * STUN transmit data containing STUN Binding request that was sent
402
+ * as part of this check. The value will only be set when this check
403
+ * has a pending transaction, and is used to cancel the transaction
404
+ * when other check has succeeded.
405
+ */
406
+ pj_stun_tx_data *tdata;
407
+
408
+ /**
409
+ * Flag to indicate whether this check is nominated. A nominated check
410
+ * contains USE-CANDIDATE attribute in its STUN Binding request.
411
+ */
412
+ pj_bool_t nominated;
413
+
414
+ /**
415
+ * When the check failed, this will contain the failure status of the
416
+ * STUN transaction.
417
+ */
418
+ pj_status_t err_code;
419
+ };
420
+
421
+
422
+ /**
423
+ * This enumeration describes ICE checklist state.
424
+ */
425
+ typedef enum pj_ice_sess_checklist_state
426
+ {
427
+ /**
428
+ * The checklist is not yet running.
429
+ */
430
+ PJ_ICE_SESS_CHECKLIST_ST_IDLE,
431
+
432
+ /**
433
+ * In this state, ICE checks are still in progress for this
434
+ * media stream.
435
+ */
436
+ PJ_ICE_SESS_CHECKLIST_ST_RUNNING,
437
+
438
+ /**
439
+ * In this state, ICE checks have completed for this media stream,
440
+ * either successfully or with failure.
441
+ */
442
+ PJ_ICE_SESS_CHECKLIST_ST_COMPLETED
443
+
444
+ } pj_ice_sess_checklist_state;
445
+
446
+
447
+ /**
448
+ * This structure represents ICE check list, that is an ordered set of
449
+ * candidate pairs that an agent will use to generate checks.
450
+ */
451
+ struct pj_ice_sess_checklist
452
+ {
453
+ /**
454
+ * The checklist state.
455
+ */
456
+ pj_ice_sess_checklist_state state;
457
+
458
+ /**
459
+ * Number of candidate pairs (checks).
460
+ */
461
+ unsigned count;
462
+
463
+ /**
464
+ * Array of candidate pairs (checks).
465
+ */
466
+ pj_ice_sess_check checks[PJ_ICE_MAX_CHECKS];
467
+
468
+ /**
469
+ * Number of foundations.
470
+ */
471
+ unsigned foundation_cnt;
472
+
473
+ /**
474
+ * Array of foundations, check foundation index refers to this array.
475
+ */
476
+ pj_str_t foundation[PJ_ICE_MAX_CHECKS * 2];
477
+
478
+ /**
479
+ * A timer used to perform periodic check for this checklist.
480
+ */
481
+ pj_timer_entry timer;
482
+
483
+ };
484
+
485
+
486
+ /**
487
+ * This structure contains callbacks that will be called by the ICE
488
+ * session.
489
+ */
490
+ typedef struct pj_ice_sess_cb
491
+ {
492
+ /**
493
+ * An optional callback that will be called by the ICE session when
494
+ * a valid pair has been found during ICE negotiation.
495
+ *
496
+ * @param ice The ICE session.
497
+ */
498
+ void (*on_valid_pair)(pj_ice_sess *ice);
499
+
500
+ /**
501
+ * An optional callback that will be called by the ICE session when
502
+ * ICE negotiation has completed, successfully or with failure.
503
+ *
504
+ * @param ice The ICE session.
505
+ * @param status Will contain PJ_SUCCESS if ICE negotiation is
506
+ * successful, or some error code.
507
+ */
508
+ void (*on_ice_complete)(pj_ice_sess *ice, pj_status_t status);
509
+
510
+ /**
511
+ * A mandatory callback which will be called by the ICE session when
512
+ * it needs to send outgoing STUN packet.
513
+ *
514
+ * @param ice The ICE session.
515
+ * @param comp_id ICE component ID.
516
+ * @param transport_id Transport ID.
517
+ * @param pkt The STUN packet.
518
+ * @param size The size of the packet.
519
+ * @param dst_addr Packet destination address.
520
+ * @param dst_addr_len Length of destination address.
521
+ */
522
+ pj_status_t (*on_tx_pkt)(pj_ice_sess *ice, unsigned comp_id,
523
+ unsigned transport_id,
524
+ const void *pkt, pj_size_t size,
525
+ const pj_sockaddr_t *dst_addr,
526
+ unsigned dst_addr_len);
527
+
528
+ /**
529
+ * A mandatory callback which will be called by the ICE session when
530
+ * it receives packet which is not part of ICE negotiation.
531
+ *
532
+ * @param ice The ICE session.
533
+ * @param comp_id ICE component ID.
534
+ * @param transport_id Transport ID.
535
+ * @param pkt The whole packet.
536
+ * @param size Size of the packet.
537
+ * @param src_addr Source address where this packet was received
538
+ * from.
539
+ * @param src_addr_len The length of source address.
540
+ */
541
+ void (*on_rx_data)(pj_ice_sess *ice, unsigned comp_id,
542
+ unsigned transport_id,
543
+ void *pkt, pj_size_t size,
544
+ const pj_sockaddr_t *src_addr,
545
+ unsigned src_addr_len);
546
+ } pj_ice_sess_cb;
547
+
548
+
549
+ /**
550
+ * This enumeration describes the role of the ICE agent.
551
+ */
552
+ typedef enum pj_ice_sess_role
553
+ {
554
+ /**
555
+ * The role is unknown.
556
+ */
557
+ PJ_ICE_SESS_ROLE_UNKNOWN,
558
+
559
+ /**
560
+ * The ICE agent is in controlled role.
561
+ */
562
+ PJ_ICE_SESS_ROLE_CONTROLLED,
563
+
564
+ /**
565
+ * The ICE agent is in controlling role.
566
+ */
567
+ PJ_ICE_SESS_ROLE_CONTROLLING
568
+
569
+ } pj_ice_sess_role;
570
+
571
+
572
+ /**
573
+ * This structure represents an incoming check (an incoming Binding
574
+ * request message), and is mainly used to keep early checks in the
575
+ * list in the ICE session. An early check is a request received
576
+ * from remote when we haven't received SDP answer yet, therefore we
577
+ * can't perform triggered check. For such cases, keep the incoming
578
+ * request in a list, and we'll do triggered checks (simultaneously)
579
+ * as soon as we receive answer.
580
+ */
581
+ typedef struct pj_ice_rx_check
582
+ {
583
+ PJ_DECL_LIST_MEMBER(struct pj_ice_rx_check); /**< Standard list */
584
+
585
+ unsigned comp_id; /**< Component ID. */
586
+ unsigned transport_id; /**< Transport ID. */
587
+
588
+ pj_sockaddr src_addr; /**< Source address of request */
589
+ unsigned src_addr_len; /**< Length of src address. */
590
+
591
+ pj_bool_t use_candidate; /**< USE-CANDIDATE is present? */
592
+ pj_uint32_t priority; /**< PRIORITY value in the req. */
593
+ pj_stun_uint64_attr *role_attr; /**< ICE-CONTROLLING/CONTROLLED */
594
+
595
+ } pj_ice_rx_check;
596
+
597
+
598
+ /**
599
+ * This enumeration describes the modes of trickle ICE.
600
+ */
601
+ typedef enum pj_ice_sess_trickle
602
+ {
603
+ /**
604
+ * Trickle ICE is disabled.
605
+ */
606
+ PJ_ICE_SESS_TRICKLE_DISABLED,
607
+
608
+ /**
609
+ * Half trickle ICE. This mode has better interoperability when remote
610
+ * capability of ICE trickle is unknown at ICE initialization.
611
+ *
612
+ * As ICE initiator, it will convey all local ICE candidates to remote
613
+ * (just like regular ICE) and be ready to receive either response,
614
+ * trickle or regular ICE. As ICE answerer, it will do trickle ICE if
615
+ * it receives an offer with trickle ICE indication, otherwise it will do
616
+ * regular ICE.
617
+ */
618
+ PJ_ICE_SESS_TRICKLE_HALF,
619
+
620
+ /**
621
+ * Full trickle ICE. Only use this mode if it is known that that remote
622
+ * supports trickle ICE. The discovery whether remote supports trickle
623
+ * ICE should be done prior to ICE initialization and done by application
624
+ * (ICE does not provide the discovery mechanism).
625
+ */
626
+ PJ_ICE_SESS_TRICKLE_FULL
627
+
628
+ } pj_ice_sess_trickle;
629
+
630
+
631
+ /**
632
+ * This structure describes various ICE session options. Application
633
+ * configure the ICE session with these options by calling
634
+ * #pj_ice_sess_set_options().
635
+ */
636
+ typedef struct pj_ice_sess_options
637
+ {
638
+ /**
639
+ * Specify whether to use aggressive nomination. This setting can only
640
+ * be enabled when trickle ICE is disabled.
641
+ */
642
+ pj_bool_t aggressive;
643
+
644
+ /**
645
+ * For controlling agent if it uses regular nomination, specify the delay
646
+ * to perform nominated check (connectivity check with USE-CANDIDATE
647
+ * attribute) after all components have a valid pair.
648
+ *
649
+ * Default value is PJ_ICE_NOMINATED_CHECK_DELAY.
650
+ */
651
+ unsigned nominated_check_delay;
652
+
653
+ /**
654
+ * For a controlled agent, specify how long it wants to wait (in
655
+ * milliseconds) for the controlling agent to complete sending
656
+ * connectivity check with nominated flag set to true for all components
657
+ * after the controlled agent has found that all connectivity checks in
658
+ * its checklist have been completed and there is at least one successful
659
+ * (but not nominated) check for every component.
660
+ *
661
+ * Default value for this option is
662
+ * ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT. Specify -1 to disable
663
+ * this timer.
664
+ */
665
+ int controlled_agent_want_nom_timeout;
666
+
667
+ /**
668
+ * Trickle ICE mode. Note that, when enabled, aggressive nomination will
669
+ * be automatically disabled.
670
+ *
671
+ * Default value is PJ_ICE_SESS_TRICKLE_DISABLED.
672
+ */
673
+ pj_ice_sess_trickle trickle;
674
+
675
+ } pj_ice_sess_options;
676
+
677
+
678
+ /**
679
+ * This structure describes the ICE session. For this version of PJNATH,
680
+ * an ICE session corresponds to a single media stream (unlike the ICE
681
+ * session described in the ICE standard where an ICE session covers the
682
+ * whole media and may consist of multiple media streams). The decision
683
+ * to support only a single media session was chosen for simplicity,
684
+ * while still allowing application to utilize multiple media streams by
685
+ * creating multiple ICE sessions, one for each media stream.
686
+ */
687
+ struct pj_ice_sess
688
+ {
689
+ char obj_name[PJ_MAX_OBJ_NAME]; /**< Object name. */
690
+
691
+ pj_pool_t *pool; /**< Pool instance. */
692
+ void *user_data; /**< App. data. */
693
+ pj_grp_lock_t *grp_lock; /**< Group lock */
694
+ pj_ice_sess_role role; /**< ICE role. */
695
+ pj_ice_sess_options opt; /**< Options */
696
+ pj_timestamp tie_breaker; /**< Tie breaker value */
697
+ pj_uint8_t *prefs; /**< Type preference. */
698
+ pj_bool_t is_nominating; /**< Nominating stage */
699
+ pj_bool_t is_complete; /**< Complete? */
700
+ pj_bool_t is_destroying; /**< Destroy is called */
701
+ pj_bool_t valid_pair_found; /**< First pair found */
702
+ pj_bool_t is_trickling; /**< End-of-candidates ind
703
+ sent/received? */
704
+ pj_status_t ice_status; /**< Error status. */
705
+ pj_timer_entry timer; /**< ICE timer. */
706
+ pj_timer_entry timer_end_of_cand; /**< End-of-cand timer. */
707
+ pj_ice_sess_cb cb; /**< Callback. */
708
+
709
+ pj_stun_config stun_cfg; /**< STUN settings. */
710
+
711
+ /* STUN credentials */
712
+ pj_str_t tx_ufrag; /**< Remote ufrag. */
713
+ pj_str_t tx_uname; /**< Uname for TX. */
714
+ pj_str_t tx_pass; /**< Remote password. */
715
+ pj_str_t rx_ufrag; /**< Local ufrag. */
716
+ pj_str_t rx_uname; /**< Uname for RX */
717
+ pj_str_t rx_pass; /**< Local password. */
718
+
719
+ /* Components */
720
+ unsigned comp_cnt; /**< # of components. */
721
+ pj_ice_sess_comp comp[PJ_ICE_MAX_COMP]; /**< Component array */
722
+ unsigned comp_ka; /**< Next comp for KA */
723
+
724
+ /* Local candidates */
725
+ unsigned lcand_cnt; /**< # of local cand. */
726
+ pj_ice_sess_cand lcand[PJ_ICE_MAX_CAND]; /**< Array of cand. */
727
+ unsigned lcand_paired; /**< # of local cand
728
+ paired (trickling) */
729
+
730
+ /* Remote candidates */
731
+ unsigned rcand_cnt; /**< # of remote cand. */
732
+ pj_ice_sess_cand rcand[PJ_ICE_MAX_CAND]; /**< Array of cand. */
733
+ unsigned rcand_paired; /**< # of remote cand
734
+ paired (trickling) */
735
+
736
+ /** Array of transport datas */
737
+ pj_ice_msg_data tp_data[PJ_ICE_MAX_STUN + PJ_ICE_MAX_TURN];
738
+
739
+ /* List of eearly checks */
740
+ pj_ice_rx_check early_check; /**< Early checks. */
741
+
742
+ /* Checklist */
743
+ pj_ice_sess_checklist clist; /**< Active checklist */
744
+
745
+ /* Valid list */
746
+ pj_ice_sess_checklist valid_list; /**< Valid list. */
747
+
748
+ /** Temporary buffer for misc stuffs to avoid using stack too much */
749
+ union {
750
+ char txt[128];
751
+ char errmsg[PJ_ERR_MSG_SIZE];
752
+ } tmp;
753
+ };
754
+
755
+
756
+ /**
757
+ * This is a utility function to retrieve the string name for the
758
+ * particular candidate type.
759
+ *
760
+ * @param type Candidate type.
761
+ *
762
+ * @return The string representation of the candidate type.
763
+ */
764
+ PJ_DECL(const char*) pj_ice_get_cand_type_name(pj_ice_cand_type type);
765
+
766
+
767
+ /**
768
+ * This is a utility function to retrieve the string name for the
769
+ * particular role type.
770
+ *
771
+ * @param role Role type.
772
+ *
773
+ * @return The string representation of the role.
774
+ */
775
+ PJ_DECL(const char*) pj_ice_sess_role_name(pj_ice_sess_role role);
776
+
777
+
778
+ /**
779
+ * This is a utility function to calculate the foundation identification
780
+ * for a candidate.
781
+ *
782
+ * @param pool Pool to allocate the foundation string.
783
+ * @param foundation Pointer to receive the foundation string.
784
+ * @param type Candidate type.
785
+ * @param base_addr Base address of the candidate.
786
+ */
787
+ PJ_DECL(void) pj_ice_calc_foundation(pj_pool_t *pool,
788
+ pj_str_t *foundation,
789
+ pj_ice_cand_type type,
790
+ const pj_sockaddr *base_addr);
791
+
792
+ /**
793
+ * Initialize ICE session options with library default values.
794
+ *
795
+ * @param opt ICE session options.
796
+ */
797
+ PJ_DECL(void) pj_ice_sess_options_default(pj_ice_sess_options *opt);
798
+
799
+ /**
800
+ * Create ICE session with the specified role and number of components.
801
+ * Application would typically need to create an ICE session before
802
+ * sending an offer or upon receiving one. After the session is created,
803
+ * application can register candidates to the ICE session by calling
804
+ * #pj_ice_sess_add_cand() function.
805
+ *
806
+ * @param stun_cfg The STUN configuration settings, containing among
807
+ * other things the timer heap instance to be used
808
+ * by the ICE session.
809
+ * @param name Optional name to identify this ICE instance in
810
+ * the log file.
811
+ * @param role ICE role.
812
+ * @param comp_cnt Number of components.
813
+ * @param cb ICE callback.
814
+ * @param local_ufrag Optional string to be used as local username to
815
+ * authenticate incoming STUN binding request. If
816
+ * the value is NULL, a random string will be
817
+ * generated.
818
+ * @param local_passwd Optional string to be used as local password.
819
+ * @param grp_lock Optional group lock to be used by this session.
820
+ * If NULL, the session will create one itself.
821
+ * @param p_ice Pointer to receive the ICE session instance.
822
+ *
823
+ * @return PJ_SUCCESS if ICE session is created successfully.
824
+ */
825
+ PJ_DECL(pj_status_t) pj_ice_sess_create(pj_stun_config *stun_cfg,
826
+ const char *name,
827
+ pj_ice_sess_role role,
828
+ unsigned comp_cnt,
829
+ const pj_ice_sess_cb *cb,
830
+ const pj_str_t *local_ufrag,
831
+ const pj_str_t *local_passwd,
832
+ pj_grp_lock_t *grp_lock,
833
+ pj_ice_sess **p_ice);
834
+
835
+ /**
836
+ * Get the value of various options of the ICE session.
837
+ *
838
+ * @param ice The ICE session.
839
+ * @param opt The options to be initialized with the values
840
+ * from the ICE session.
841
+ *
842
+ * @return PJ_SUCCESS on success, or the appropriate error.
843
+ */
844
+ PJ_DECL(pj_status_t) pj_ice_sess_get_options(pj_ice_sess *ice,
845
+ pj_ice_sess_options *opt);
846
+
847
+ /**
848
+ * Specify various options for this ICE session. Application MUST only
849
+ * call this function after the ICE session has been created but before
850
+ * any connectivity check is started.
851
+ *
852
+ * Application should call #pj_ice_sess_get_options() to initialize the
853
+ * options with their default values.
854
+ *
855
+ * @param ice The ICE session.
856
+ * @param opt Options to be applied to the ICE session.
857
+ *
858
+ * @return PJ_SUCCESS on success, or the appropriate error.
859
+ */
860
+ PJ_DECL(pj_status_t) pj_ice_sess_set_options(pj_ice_sess *ice,
861
+ const pj_ice_sess_options *opt);
862
+
863
+
864
+ /**
865
+ * Detach ICE session from group lock. This will delete ICE session group lock
866
+ * handler.
867
+ *
868
+ * This function is useful when application creates an ICE session with
869
+ * group lock and later it needs to recreate ICE session (e.g: for ICE
870
+ * restart) so the previous ICE session resources can be released manually
871
+ * (by calling the group lock handler) without waiting for the group lock
872
+ * destroy to avoid memory bloat.
873
+ *
874
+ * @param ice ICE session instance.
875
+ * @param handler Pointer to receive the group lock handler of
876
+ * this ICE session.
877
+ *
878
+ * @return PJ_SUCCESS on success.
879
+ */
880
+ PJ_DECL(pj_status_t) pj_ice_sess_detach_grp_lock(pj_ice_sess *ice,
881
+ pj_grp_lock_handler *handler);
882
+
883
+
884
+ /**
885
+ * Destroy ICE session. This will cancel any connectivity checks currently
886
+ * running, if any, and any other events scheduled by this session, as well
887
+ * as all memory resources.
888
+ *
889
+ * @param ice ICE session instance.
890
+ *
891
+ * @return PJ_SUCCESS on success.
892
+ */
893
+ PJ_DECL(pj_status_t) pj_ice_sess_destroy(pj_ice_sess *ice);
894
+
895
+
896
+ /**
897
+ * Change session role. This happens for example when ICE session was
898
+ * created with controlled role when receiving an offer, but it turns out
899
+ * that the offer contains "a=ice-lite" attribute when the SDP gets
900
+ * inspected.
901
+ *
902
+ * @param ice The ICE session.
903
+ * @param new_role The new role to be set.
904
+ *
905
+ * @return PJ_SUCCESS on success, or the appropriate error.
906
+ */
907
+ PJ_DECL(pj_status_t) pj_ice_sess_change_role(pj_ice_sess *ice,
908
+ pj_ice_sess_role new_role);
909
+
910
+
911
+ /**
912
+ * Assign a custom preference values for ICE candidate types. By assigning
913
+ * custom preference value, application can control the order of candidates
914
+ * to be checked first. The default preference settings is to use 126 for
915
+ * host candidates, 100 for server reflexive candidates, 110 for peer
916
+ * reflexive candidates, an 0 for relayed candidates.
917
+ *
918
+ * Note that this function must be called before any candidates are added
919
+ * to the ICE session.
920
+ *
921
+ * @param ice The ICE session.
922
+ * @param prefs Array of candidate preference value. The values are
923
+ * put in the array indexed by the candidate type as
924
+ * specified in pj_ice_cand_type.
925
+ *
926
+ * @return PJ_SUCCESS on success, or the appropriate error code.
927
+ */
928
+ PJ_DECL(pj_status_t) pj_ice_sess_set_prefs(pj_ice_sess *ice,
929
+ const pj_uint8_t prefs[4]);
930
+
931
+
932
+
933
+ /**
934
+ * Add a candidate to this ICE session. Application must add candidates for
935
+ * each components ID before it can start pairing the candidates and
936
+ * performing connectivity checks.
937
+ *
938
+ * @param ice ICE session instance.
939
+ * @param comp_id Component ID of this candidate.
940
+ * @param transport_id Transport ID to be used to send packets for this
941
+ * candidate.
942
+ * @param type Candidate type.
943
+ * @param local_pref Local preference for this candidate, which
944
+ * normally should be set to 65535.
945
+ * @param foundation Foundation identification.
946
+ * @param addr The candidate address.
947
+ * @param base_addr The candidate's base address.
948
+ * @param rel_addr Optional related address.
949
+ * @param addr_len Length of addresses.
950
+ * @param p_cand_id Optional pointer to receive the candidate ID.
951
+ *
952
+ * @return PJ_SUCCESS if candidate is successfully added.
953
+ */
954
+ PJ_DECL(pj_status_t) pj_ice_sess_add_cand(pj_ice_sess *ice,
955
+ unsigned comp_id,
956
+ unsigned transport_id,
957
+ pj_ice_cand_type type,
958
+ pj_uint16_t local_pref,
959
+ const pj_str_t *foundation,
960
+ const pj_sockaddr_t *addr,
961
+ const pj_sockaddr_t *base_addr,
962
+ const pj_sockaddr_t *rel_addr,
963
+ int addr_len,
964
+ unsigned *p_cand_id);
965
+
966
+ /**
967
+ * Find default candidate for the specified component ID, using this
968
+ * rule:
969
+ * - if the component has a successful candidate pair, then the
970
+ * local candidate of this pair will be returned.
971
+ * - otherwise a relay, reflexive, or host candidate will be selected
972
+ * on that specified order.
973
+ *
974
+ * @param ice The ICE session instance.
975
+ * @param comp_id The component ID.
976
+ * @param p_cand_id Pointer to receive the candidate ID.
977
+ *
978
+ * @return PJ_SUCCESS if a candidate has been selected.
979
+ */
980
+ PJ_DECL(pj_status_t) pj_ice_sess_find_default_cand(pj_ice_sess *ice,
981
+ unsigned comp_id,
982
+ int *p_cand_id);
983
+
984
+ /**
985
+ * Pair the local and remote candidates to create check list. Application
986
+ * typically would call this function after receiving SDP containing ICE
987
+ * candidates from the remote host (either upon receiving the initial
988
+ * offer, for UAS, or upon receiving the answer, for UAC).
989
+ *
990
+ * Note that ICE connectivity check will not start until application calls
991
+ * #pj_ice_sess_start_check().
992
+ *
993
+ * @param ice ICE session instance.
994
+ * @param rem_ufrag Remote ufrag, as seen in the SDP received from
995
+ * the remote agent.
996
+ * @param rem_passwd Remote password, as seen in the SDP received from
997
+ * the remote agent.
998
+ * @param rem_cand_cnt Number of remote candidates.
999
+ * @param rem_cand Remote candidate array. Remote candidates are
1000
+ * gathered from the SDP received from the remote
1001
+ * agent.
1002
+ *
1003
+ * @return PJ_SUCCESS or the appropriate error code.
1004
+ */
1005
+ PJ_DECL(pj_status_t)
1006
+ pj_ice_sess_create_check_list(pj_ice_sess *ice,
1007
+ const pj_str_t *rem_ufrag,
1008
+ const pj_str_t *rem_passwd,
1009
+ unsigned rem_cand_cnt,
1010
+ const pj_ice_sess_cand rem_cand[]);
1011
+
1012
+
1013
+ /**
1014
+ * Update check list after receiving new remote ICE candidates or after
1015
+ * new local ICE candidates are found and conveyed to remote. This function
1016
+ * can also be called to indicate that trickling has completed, i.e:
1017
+ * local candidates gathering completed and remote has sent end-of-candidate
1018
+ * indication.
1019
+ *
1020
+ * This function is only applicable when trickle ICE is not disabled.
1021
+ *
1022
+ * @param ice ICE session instance.
1023
+ * @param rem_ufrag Remote ufrag, as seen in the SDP received from
1024
+ * the remote agent.
1025
+ * @param rem_passwd Remote password, as seen in the SDP received from
1026
+ * the remote agent.
1027
+ * @param rem_cand_cnt Number of remote candidates.
1028
+ * @param rem_cand Remote candidate array. Remote candidates are
1029
+ * gathered from the SDP received from the remote
1030
+ * agent.
1031
+ * @param trickle_done Flag to indicate end of trickling, set to PJ_TRUE
1032
+ * after all local candidates have been gathered AND
1033
+ * after receiving end-of-candidate indication from
1034
+ * remote.
1035
+ *
1036
+ * @return PJ_SUCCESS or the appropriate error code.
1037
+ */
1038
+ PJ_DECL(pj_status_t)
1039
+ pj_ice_sess_update_check_list(pj_ice_sess *ice,
1040
+ const pj_str_t *rem_ufrag,
1041
+ const pj_str_t *rem_passwd,
1042
+ unsigned rem_cand_cnt,
1043
+ const pj_ice_sess_cand rem_cand[],
1044
+ pj_bool_t trickle_done);
1045
+
1046
+
1047
+ /**
1048
+ * Start ICE periodic check. This function will return immediately, and
1049
+ * application will be notified about the connectivity check status in
1050
+ * #pj_ice_sess_cb callback.
1051
+ *
1052
+ * @param ice The ICE session instance.
1053
+ *
1054
+ * @return PJ_SUCCESS or the appropriate error code.
1055
+ */
1056
+ PJ_DECL(pj_status_t) pj_ice_sess_start_check(pj_ice_sess *ice);
1057
+
1058
+
1059
+ /**
1060
+ * Send data using this ICE session. If ICE checks have not produced a
1061
+ * valid check for the specified component ID, this function will return
1062
+ * with failure. Otherwise ICE session will send the packet to remote
1063
+ * destination using the nominated local candidate for the specified
1064
+ * component.
1065
+ *
1066
+ * This function will in turn call \a on_tx_pkt function in
1067
+ * #pj_ice_sess_cb callback to actually send the packet to the wire.
1068
+ *
1069
+ * @param ice The ICE session.
1070
+ * @param comp_id Component ID.
1071
+ * @param data The data or packet to be sent.
1072
+ * @param data_len Size of data or packet, in bytes.
1073
+ *
1074
+ * @return If the callback \a on_tx_pkt() is called, this
1075
+ * will contain the return value of the callback.
1076
+ * Otherwise, it will indicate failure with
1077
+ * the appropriate error code.
1078
+ */
1079
+ PJ_DECL(pj_status_t) pj_ice_sess_send_data(pj_ice_sess *ice,
1080
+ unsigned comp_id,
1081
+ const void *data,
1082
+ pj_size_t data_len);
1083
+
1084
+ /**
1085
+ * Report the arrival of packet to the ICE session. Since ICE session
1086
+ * itself doesn't have any transports, it relies on application or
1087
+ * higher layer component to give incoming packets to the ICE session.
1088
+ * If the packet is not a STUN packet, this packet will be given back
1089
+ * to application via \a on_rx_data() callback in #pj_ice_sess_cb.
1090
+ *
1091
+ * @param ice The ICE session.
1092
+ * @param comp_id Component ID.
1093
+ * @param transport_id Number to identify where this packet was received
1094
+ * from. This parameter will be returned back to
1095
+ * application in \a on_tx_pkt() callback.
1096
+ * @param pkt Incoming packet.
1097
+ * @param pkt_size Size of incoming packet.
1098
+ * @param src_addr Source address of the packet.
1099
+ * @param src_addr_len Length of the address.
1100
+ *
1101
+ * @return PJ_SUCCESS or the appropriate error code.
1102
+ */
1103
+ PJ_DECL(pj_status_t) pj_ice_sess_on_rx_pkt(pj_ice_sess *ice,
1104
+ unsigned comp_id,
1105
+ unsigned transport_id,
1106
+ void *pkt,
1107
+ pj_size_t pkt_size,
1108
+ const pj_sockaddr_t *src_addr,
1109
+ int src_addr_len);
1110
+
1111
+
1112
+
1113
+ /**
1114
+ * @}
1115
+ */
1116
+
1117
+
1118
+ PJ_END_DECL
1119
+
1120
+
1121
+ #endif /* __PJNATH_ICE_SESSION_H__ */
1122
+