@voipsdk/react-native-voipcloud 1.0.0 → 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 (656) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +59 -12
  3. package/android/build.gradle +14 -8
  4. package/android/src/main/java/com/voipcloud/sdk/rn/VoipCloudModule.java +162 -7
  5. package/android/src/main/java/com/voipcloud/sdk/rn/internal/ManagedAccount.java +49 -5
  6. package/android/src/main/java/com/voipcloud/sdk/rn/internal/ManagedCall.java +58 -2
  7. package/android/src/main/java/com/voipcloud/sdk/rn/internal/ManagedCallRegistry.java +4 -0
  8. package/ios/VoipCloud.mm +214 -28
  9. package/ios/VoipCloud.xcframework/Info.plist +48 -0
  10. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/activesock.h +598 -0
  11. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/addr_resolv.h +189 -0
  12. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/array.h +95 -0
  13. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/assert.h +84 -0
  14. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/assert.h +36 -0
  15. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_armcc.h +57 -0
  16. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_clang.h +64 -0
  17. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_codew.h +55 -0
  18. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcc.h +79 -0
  19. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcce.h +54 -0
  20. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_msvc.h +87 -0
  21. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_mwcc.h +55 -0
  22. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/ctype.h +44 -0
  23. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/errno.h +44 -0
  24. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/high_precision.h +87 -0
  25. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/limits.h +66 -0
  26. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_alpha.h +35 -0
  27. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_armv4.h +38 -0
  28. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h +60 -0
  29. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h.in +59 -0
  30. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_i386.h +34 -0
  31. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_m68k.h +34 -0
  32. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_powerpc.h +35 -0
  33. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_sparc.h +34 -0
  34. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_x86_64.h +35 -0
  35. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/malloc.h +33 -0
  36. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h +245 -0
  37. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h.in +244 -0
  38. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_darwinos.h +141 -0
  39. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_linux.h +130 -0
  40. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_palmos.h +118 -0
  41. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_rtems.h +138 -0
  42. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_sunos.h +131 -0
  43. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_symbian.h +166 -0
  44. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32.h +148 -0
  45. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32_wince.h +145 -0
  46. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winphone8.h +149 -0
  47. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winuwp.h +149 -0
  48. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/rand.h +55 -0
  49. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/setjmp.h +49 -0
  50. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/size_t.h +31 -0
  51. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/socket.h +223 -0
  52. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdarg.h +31 -0
  53. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdfileio.h +31 -0
  54. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/string.h +178 -0
  55. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/time.h +41 -0
  56. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config.h +1537 -0
  57. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site.h +22 -0
  58. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_sample.h +485 -0
  59. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_test.h +11 -0
  60. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ctype.h +174 -0
  61. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/doxygen.h +995 -0
  62. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/errno.h +593 -0
  63. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/except.h +420 -0
  64. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/fifobuf.h +43 -0
  65. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_access.h +108 -0
  66. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_io.h +183 -0
  67. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/guid.h +119 -0
  68. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/hash.h +253 -0
  69. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ioqueue.h +955 -0
  70. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ip_helper.h +152 -0
  71. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/limits.h +57 -0
  72. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list.h +268 -0
  73. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list_i.h +120 -0
  74. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/lock.h +453 -0
  75. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/log.h +487 -0
  76. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/math.h +203 -0
  77. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/os.h +1536 -0
  78. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool.h +918 -0
  79. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_alt.h +212 -0
  80. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_buf.h +104 -0
  81. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_i.h +131 -0
  82. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rand.h +65 -0
  83. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rbtree.h +215 -0
  84. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock.h +1566 -0
  85. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_qos.h +429 -0
  86. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_select.h +151 -0
  87. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ssl_sock.h +1508 -0
  88. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string.h +963 -0
  89. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string_i.h +406 -0
  90. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/timer.h +386 -0
  91. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/types.h +594 -0
  92. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/unicode.h +140 -0
  93. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/file.hpp +187 -0
  94. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/hash.hpp +155 -0
  95. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/list.hpp +351 -0
  96. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/lock.hpp +148 -0
  97. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/os.hpp +869 -0
  98. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/pool.hpp +278 -0
  99. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/proactor.hpp +514 -0
  100. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/scanner.hpp +245 -0
  101. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/sock.hpp +443 -0
  102. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/string.hpp +467 -0
  103. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/timer.hpp +197 -0
  104. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/tree.hpp +128 -0
  105. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/types.hpp +174 -0
  106. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib++.hpp +34 -0
  107. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/base64.h +91 -0
  108. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli.h +530 -0
  109. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_console.h +116 -0
  110. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_imp.h +207 -0
  111. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_telnet.h +167 -0
  112. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/config.h +373 -0
  113. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/crc32.h +95 -0
  114. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns.h +460 -0
  115. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns_server.h +116 -0
  116. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/errno.h +455 -0
  117. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/getopt.h +144 -0
  118. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_md5.h +108 -0
  119. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_sha1.h +106 -0
  120. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/http_client.h +493 -0
  121. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/json.h +227 -0
  122. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/md5.h +73 -0
  123. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/pcap.h +195 -0
  124. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/resolver.h +515 -0
  125. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner.h +553 -0
  126. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  127. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  128. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/sha1.h +79 -0
  129. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/srv_resolver.h +221 -0
  130. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/string.h +101 -0
  131. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/stun_simple.h +288 -0
  132. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/types.h +94 -0
  133. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/xml.h +248 -0
  134. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util.h +75 -0
  135. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib.h +62 -0
  136. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/alaw_ulaw.h +212 -0
  137. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/audiodev.h +761 -0
  138. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi.h +201 -0
  139. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi_stream.h +195 -0
  140. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/bidirectional.h +66 -0
  141. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/circbuf.h +436 -0
  142. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/clock.h +338 -0
  143. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/codec.h +1192 -0
  144. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/conference.h +599 -0
  145. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config.h +1713 -0
  146. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h +43 -0
  147. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h.in +42 -0
  148. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/converter.h +386 -0
  149. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/delaybuf.h +175 -0
  150. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/doxygen.h +243 -0
  151. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo.h +420 -0
  152. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo_port.h +73 -0
  153. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/endpoint.h +389 -0
  154. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/errno.h +693 -0
  155. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/event.h +493 -0
  156. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/format.h +821 -0
  157. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/frame.h +331 -0
  158. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/g711.h +88 -0
  159. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/jbuf.h +484 -0
  160. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/master_port.h +198 -0
  161. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/mem_port.h +241 -0
  162. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/null_port.h +69 -0
  163. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/plc.h +114 -0
  164. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/port.h +565 -0
  165. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/resample.h +199 -0
  166. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp.h +511 -0
  167. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_fb.h +487 -0
  168. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_xr.h +477 -0
  169. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtp.h +457 -0
  170. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp.h +830 -0
  171. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp_neg.h +822 -0
  172. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/session.h +435 -0
  173. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/signatures.h +217 -0
  174. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/silencedet.h +199 -0
  175. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound.h +353 -0
  176. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound_port.h +397 -0
  177. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/splitcomb.h +142 -0
  178. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stereo.h +203 -0
  179. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream.h +541 -0
  180. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream_common.h +123 -0
  181. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/symbian_sound_aps.h +47 -0
  182. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/tonegen.h +302 -0
  183. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport.h +1069 -0
  184. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_adapter_sample.h +75 -0
  185. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_ice.h +458 -0
  186. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_loop.h +158 -0
  187. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_srtp.h +579 -0
  188. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_udp.h +161 -0
  189. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/types.h +345 -0
  190. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec.h +896 -0
  191. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec_util.h +194 -0
  192. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_conf.h +310 -0
  193. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_port.h +269 -0
  194. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_stream.h +514 -0
  195. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_tee.h +141 -0
  196. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/videodev.h +859 -0
  197. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_playlist.h +131 -0
  198. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_port.h +342 -0
  199. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wave.h +183 -0
  200. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wsola.h +218 -0
  201. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev.h +110 -0
  202. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  203. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiotest.h +115 -0
  204. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/config.h +525 -0
  205. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/errno.h +227 -0
  206. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_helper.h +1236 -0
  207. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  208. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  209. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  210. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/audio_codecs.h +97 -0
  211. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/bcg729.h +120 -0
  212. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config.h +720 -0
  213. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h +104 -0
  214. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h.in +103 -0
  215. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  216. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g722.h +103 -0
  217. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221.h +164 -0
  218. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  219. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/gsm.h +86 -0
  220. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  221. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  222. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ilbc.h +118 -0
  223. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  224. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/l16.h +83 -0
  225. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opencore_amr.h +145 -0
  226. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/openh264.h +68 -0
  227. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opus.h +160 -0
  228. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/passthrough.h +276 -0
  229. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/silk.h +126 -0
  230. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/speex.h +149 -0
  231. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/types.h +145 -0
  232. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  233. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx.h +68 -0
  234. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  235. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec.h +47 -0
  236. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/avi_dev.h +139 -0
  237. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/config.h +326 -0
  238. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/errno.h +158 -0
  239. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  240. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev.h +119 -0
  241. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  242. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia.h +81 -0
  243. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_audiodev.h +32 -0
  244. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_videodev.h +30 -0
  245. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/config.h +596 -0
  246. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/errno.h +225 -0
  247. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_session.h +1122 -0
  248. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_strans.h +1112 -0
  249. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/nat_detect.h +233 -0
  250. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_auth.h +456 -0
  251. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_config.h +135 -0
  252. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_msg.h +1856 -0
  253. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_session.h +763 -0
  254. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_sock.h +496 -0
  255. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_transaction.h +291 -0
  256. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_session.h +968 -0
  257. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_sock.h +673 -0
  258. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/types.h +75 -0
  259. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/upnp.h +147 -0
  260. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath.h +46 -0
  261. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/print_util.h +166 -0
  262. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth.h +637 -0
  263. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_aka.h +212 -0
  264. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_msg.h +269 -0
  265. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_parser.h +74 -0
  266. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h +39 -0
  267. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h.in +38 -0
  268. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_config.h +1545 -0
  269. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_dialog.h +935 -0
  270. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_endpoint.h +715 -0
  271. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_errno.h +544 -0
  272. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_event.h +230 -0
  273. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_module.h +221 -0
  274. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_msg.h +2134 -0
  275. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_multipart.h +276 -0
  276. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_parser.h +465 -0
  277. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_private.h +31 -0
  278. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_resolve.h +347 -0
  279. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_tel_uri.h +83 -0
  280. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transaction.h +542 -0
  281. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport.h +1672 -0
  282. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_loop.h +146 -0
  283. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tcp.h +300 -0
  284. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tls.h +642 -0
  285. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_udp.h +389 -0
  286. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_types.h +265 -0
  287. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_ua_layer.h +159 -0
  288. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_uri.h +470 -0
  289. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_util.h +888 -0
  290. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/errno.h +117 -0
  291. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub.h +561 -0
  292. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub_msg.h +119 -0
  293. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/iscomposing.h +137 -0
  294. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/mwi.h +211 -0
  295. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/pidf.h +177 -0
  296. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/presence.h +416 -0
  297. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/publish.h +350 -0
  298. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/rpid.h +150 -0
  299. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/types.h +30 -0
  300. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/xpidf.h +137 -0
  301. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_100rel.h +244 -0
  302. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_inv.h +1224 -0
  303. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_regc.h +497 -0
  304. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_replaces.h +303 -0
  305. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_timer.h +274 -0
  306. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_xfer.h +207 -0
  307. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip.h +61 -0
  308. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_auth.h +37 -0
  309. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_simple.h +45 -0
  310. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_ua.h +31 -0
  311. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua.h +8899 -0
  312. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua_internal.h +989 -0
  313. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua.h +1 -0
  314. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/account.hpp +2123 -0
  315. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/call.hpp +2253 -0
  316. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/config.hpp +72 -0
  317. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/doxygen.hpp +48 -0
  318. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/endpoint.hpp +2160 -0
  319. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/json.hpp +115 -0
  320. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/media.hpp +2748 -0
  321. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/persistent.hpp +715 -0
  322. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/presence.hpp +368 -0
  323. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/siptypes.hpp +1013 -0
  324. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/types.hpp +283 -0
  325. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2.hpp +28 -0
  326. package/ios/VoipCloud.xcframework/ios-arm64/libVoipCloud.a +0 -0
  327. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/activesock.h +598 -0
  328. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/addr_resolv.h +189 -0
  329. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/array.h +95 -0
  330. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/assert.h +84 -0
  331. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/assert.h +36 -0
  332. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_armcc.h +57 -0
  333. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_clang.h +64 -0
  334. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_codew.h +55 -0
  335. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcc.h +79 -0
  336. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcce.h +54 -0
  337. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_msvc.h +87 -0
  338. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_mwcc.h +55 -0
  339. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/ctype.h +44 -0
  340. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/errno.h +44 -0
  341. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/high_precision.h +87 -0
  342. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/limits.h +66 -0
  343. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_alpha.h +35 -0
  344. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_armv4.h +38 -0
  345. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h +60 -0
  346. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h.in +59 -0
  347. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_i386.h +34 -0
  348. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_m68k.h +34 -0
  349. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_powerpc.h +35 -0
  350. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_sparc.h +34 -0
  351. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_x86_64.h +35 -0
  352. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/malloc.h +33 -0
  353. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h +245 -0
  354. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h.in +244 -0
  355. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_darwinos.h +141 -0
  356. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_linux.h +130 -0
  357. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_palmos.h +118 -0
  358. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_rtems.h +138 -0
  359. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_sunos.h +131 -0
  360. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_symbian.h +166 -0
  361. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32.h +148 -0
  362. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32_wince.h +145 -0
  363. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winphone8.h +149 -0
  364. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winuwp.h +149 -0
  365. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/rand.h +55 -0
  366. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/setjmp.h +49 -0
  367. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/size_t.h +31 -0
  368. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/socket.h +223 -0
  369. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdarg.h +31 -0
  370. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdfileio.h +31 -0
  371. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/string.h +178 -0
  372. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/time.h +41 -0
  373. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config.h +1537 -0
  374. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site.h +22 -0
  375. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_sample.h +485 -0
  376. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_test.h +11 -0
  377. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ctype.h +174 -0
  378. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/doxygen.h +995 -0
  379. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/errno.h +593 -0
  380. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/except.h +420 -0
  381. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/fifobuf.h +43 -0
  382. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_access.h +108 -0
  383. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_io.h +183 -0
  384. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/guid.h +119 -0
  385. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/hash.h +253 -0
  386. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ioqueue.h +955 -0
  387. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ip_helper.h +152 -0
  388. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/limits.h +57 -0
  389. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list.h +268 -0
  390. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list_i.h +120 -0
  391. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/lock.h +453 -0
  392. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/log.h +487 -0
  393. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/math.h +203 -0
  394. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/os.h +1536 -0
  395. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool.h +918 -0
  396. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_alt.h +212 -0
  397. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_buf.h +104 -0
  398. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_i.h +131 -0
  399. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rand.h +65 -0
  400. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rbtree.h +215 -0
  401. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock.h +1566 -0
  402. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_qos.h +429 -0
  403. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_select.h +151 -0
  404. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ssl_sock.h +1508 -0
  405. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string.h +963 -0
  406. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string_i.h +406 -0
  407. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/timer.h +386 -0
  408. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/types.h +594 -0
  409. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/unicode.h +140 -0
  410. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/file.hpp +187 -0
  411. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/hash.hpp +155 -0
  412. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/list.hpp +351 -0
  413. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/lock.hpp +148 -0
  414. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/os.hpp +869 -0
  415. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/pool.hpp +278 -0
  416. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/proactor.hpp +514 -0
  417. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/scanner.hpp +245 -0
  418. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/sock.hpp +443 -0
  419. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/string.hpp +467 -0
  420. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/timer.hpp +197 -0
  421. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/tree.hpp +128 -0
  422. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/types.hpp +174 -0
  423. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib++.hpp +34 -0
  424. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/base64.h +91 -0
  425. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli.h +530 -0
  426. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_console.h +116 -0
  427. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_imp.h +207 -0
  428. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_telnet.h +167 -0
  429. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/config.h +373 -0
  430. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/crc32.h +95 -0
  431. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns.h +460 -0
  432. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns_server.h +116 -0
  433. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/errno.h +455 -0
  434. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/getopt.h +144 -0
  435. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_md5.h +108 -0
  436. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_sha1.h +106 -0
  437. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/http_client.h +493 -0
  438. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/json.h +227 -0
  439. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/md5.h +73 -0
  440. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/pcap.h +195 -0
  441. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/resolver.h +515 -0
  442. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner.h +553 -0
  443. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  444. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  445. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/sha1.h +79 -0
  446. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/srv_resolver.h +221 -0
  447. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/string.h +101 -0
  448. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/stun_simple.h +288 -0
  449. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/types.h +94 -0
  450. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/xml.h +248 -0
  451. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util.h +75 -0
  452. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib.h +62 -0
  453. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/alaw_ulaw.h +212 -0
  454. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/audiodev.h +761 -0
  455. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi.h +201 -0
  456. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi_stream.h +195 -0
  457. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/bidirectional.h +66 -0
  458. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/circbuf.h +436 -0
  459. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/clock.h +338 -0
  460. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/codec.h +1192 -0
  461. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/conference.h +599 -0
  462. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config.h +1713 -0
  463. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h +43 -0
  464. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h.in +42 -0
  465. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/converter.h +386 -0
  466. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/delaybuf.h +175 -0
  467. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/doxygen.h +243 -0
  468. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo.h +420 -0
  469. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo_port.h +73 -0
  470. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/endpoint.h +389 -0
  471. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/errno.h +693 -0
  472. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/event.h +493 -0
  473. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/format.h +821 -0
  474. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/frame.h +331 -0
  475. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/g711.h +88 -0
  476. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/jbuf.h +484 -0
  477. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/master_port.h +198 -0
  478. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/mem_port.h +241 -0
  479. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/null_port.h +69 -0
  480. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/plc.h +114 -0
  481. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/port.h +565 -0
  482. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/resample.h +199 -0
  483. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp.h +511 -0
  484. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_fb.h +487 -0
  485. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_xr.h +477 -0
  486. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtp.h +457 -0
  487. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp.h +830 -0
  488. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp_neg.h +822 -0
  489. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/session.h +435 -0
  490. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/signatures.h +217 -0
  491. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/silencedet.h +199 -0
  492. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound.h +353 -0
  493. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound_port.h +397 -0
  494. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/splitcomb.h +142 -0
  495. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stereo.h +203 -0
  496. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream.h +541 -0
  497. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream_common.h +123 -0
  498. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/symbian_sound_aps.h +47 -0
  499. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/tonegen.h +302 -0
  500. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport.h +1069 -0
  501. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_adapter_sample.h +75 -0
  502. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_ice.h +458 -0
  503. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_loop.h +158 -0
  504. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_srtp.h +579 -0
  505. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_udp.h +161 -0
  506. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/types.h +345 -0
  507. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec.h +896 -0
  508. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec_util.h +194 -0
  509. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_conf.h +310 -0
  510. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_port.h +269 -0
  511. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_stream.h +514 -0
  512. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_tee.h +141 -0
  513. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/videodev.h +859 -0
  514. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_playlist.h +131 -0
  515. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_port.h +342 -0
  516. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wave.h +183 -0
  517. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wsola.h +218 -0
  518. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev.h +110 -0
  519. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  520. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiotest.h +115 -0
  521. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/config.h +525 -0
  522. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/errno.h +227 -0
  523. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_helper.h +1236 -0
  524. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  525. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  526. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  527. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/audio_codecs.h +97 -0
  528. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/bcg729.h +120 -0
  529. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config.h +720 -0
  530. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h +104 -0
  531. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h.in +103 -0
  532. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  533. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g722.h +103 -0
  534. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221.h +164 -0
  535. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  536. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/gsm.h +86 -0
  537. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  538. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  539. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ilbc.h +118 -0
  540. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  541. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/l16.h +83 -0
  542. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opencore_amr.h +145 -0
  543. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/openh264.h +68 -0
  544. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opus.h +160 -0
  545. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/passthrough.h +276 -0
  546. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/silk.h +126 -0
  547. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/speex.h +149 -0
  548. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/types.h +145 -0
  549. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  550. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx.h +68 -0
  551. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  552. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec.h +47 -0
  553. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/avi_dev.h +139 -0
  554. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/config.h +326 -0
  555. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/errno.h +158 -0
  556. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  557. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev.h +119 -0
  558. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  559. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia.h +81 -0
  560. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_audiodev.h +32 -0
  561. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_videodev.h +30 -0
  562. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/config.h +596 -0
  563. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/errno.h +225 -0
  564. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_session.h +1122 -0
  565. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_strans.h +1112 -0
  566. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/nat_detect.h +233 -0
  567. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_auth.h +456 -0
  568. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_config.h +135 -0
  569. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_msg.h +1856 -0
  570. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_session.h +763 -0
  571. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_sock.h +496 -0
  572. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_transaction.h +291 -0
  573. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_session.h +968 -0
  574. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_sock.h +673 -0
  575. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/types.h +75 -0
  576. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/upnp.h +147 -0
  577. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath.h +46 -0
  578. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/print_util.h +166 -0
  579. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth.h +637 -0
  580. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_aka.h +212 -0
  581. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_msg.h +269 -0
  582. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_parser.h +74 -0
  583. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h +39 -0
  584. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h.in +38 -0
  585. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_config.h +1545 -0
  586. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_dialog.h +935 -0
  587. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_endpoint.h +715 -0
  588. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_errno.h +544 -0
  589. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_event.h +230 -0
  590. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_module.h +221 -0
  591. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_msg.h +2134 -0
  592. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_multipart.h +276 -0
  593. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_parser.h +465 -0
  594. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_private.h +31 -0
  595. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_resolve.h +347 -0
  596. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_tel_uri.h +83 -0
  597. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transaction.h +542 -0
  598. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport.h +1672 -0
  599. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_loop.h +146 -0
  600. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tcp.h +300 -0
  601. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tls.h +642 -0
  602. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_udp.h +389 -0
  603. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_types.h +265 -0
  604. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_ua_layer.h +159 -0
  605. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_uri.h +470 -0
  606. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_util.h +888 -0
  607. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/errno.h +117 -0
  608. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub.h +561 -0
  609. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub_msg.h +119 -0
  610. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/iscomposing.h +137 -0
  611. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/mwi.h +211 -0
  612. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/pidf.h +177 -0
  613. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/presence.h +416 -0
  614. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/publish.h +350 -0
  615. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/rpid.h +150 -0
  616. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/types.h +30 -0
  617. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/xpidf.h +137 -0
  618. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_100rel.h +244 -0
  619. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_inv.h +1224 -0
  620. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_regc.h +497 -0
  621. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_replaces.h +303 -0
  622. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_timer.h +274 -0
  623. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_xfer.h +207 -0
  624. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip.h +61 -0
  625. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_auth.h +37 -0
  626. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_simple.h +45 -0
  627. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_ua.h +31 -0
  628. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua.h +8899 -0
  629. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua_internal.h +989 -0
  630. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua.h +1 -0
  631. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/account.hpp +2123 -0
  632. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/call.hpp +2253 -0
  633. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/config.hpp +72 -0
  634. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/doxygen.hpp +48 -0
  635. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/endpoint.hpp +2160 -0
  636. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/json.hpp +115 -0
  637. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/media.hpp +2748 -0
  638. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/persistent.hpp +715 -0
  639. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/presence.hpp +368 -0
  640. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/siptypes.hpp +1013 -0
  641. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/types.hpp +283 -0
  642. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2.hpp +28 -0
  643. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/libVoipCloud.a +0 -0
  644. package/ios/VoipCloudEngine.h +62 -0
  645. package/ios/VoipCloudEngine.mm +571 -0
  646. package/lib/commonjs/VoipCloud.js +5 -2
  647. package/lib/commonjs/VoipCloud.js.map +1 -1
  648. package/lib/module/VoipCloud.js +5 -2
  649. package/lib/module/VoipCloud.js.map +1 -1
  650. package/lib/typescript/VoipCloud.d.ts +2 -1
  651. package/lib/typescript/types.d.ts +4 -0
  652. package/package.json +6 -4
  653. package/react-native-voipcloud.podspec +27 -1
  654. package/react-native.config.js +22 -0
  655. package/src/VoipCloud.ts +6 -2
  656. package/src/types.ts +4 -0
@@ -0,0 +1,1713 @@
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 __PJMEDIA_CONFIG_H__
20
+ #define __PJMEDIA_CONFIG_H__
21
+
22
+ /**
23
+ * @file pjmedia/config.h Compile time config
24
+ * @brief Contains some compile time constants.
25
+ */
26
+ #include <pj/config.h>
27
+
28
+ /**
29
+ * @defgroup PJMEDIA_BASE Base Types and Configurations
30
+ */
31
+
32
+ /**
33
+ * @defgroup PJMEDIA_CONFIG Compile time configuration
34
+ * @ingroup PJMEDIA_BASE
35
+ * @brief Some compile time configuration settings.
36
+ * @{
37
+ */
38
+
39
+ /*
40
+ * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set)
41
+ */
42
+ #if defined(PJ_AUTOCONF)
43
+ # include <pjmedia/config_auto.h>
44
+ #endif
45
+
46
+ /**
47
+ * Initial memory block for media endpoint.
48
+ */
49
+ #ifndef PJMEDIA_POOL_LEN_ENDPT
50
+ # define PJMEDIA_POOL_LEN_ENDPT 8000
51
+ #endif
52
+
53
+ /**
54
+ * Memory increment for media endpoint.
55
+ */
56
+ #ifndef PJMEDIA_POOL_INC_ENDPT
57
+ # define PJMEDIA_POOL_INC_ENDPT 4000
58
+ #endif
59
+
60
+ /**
61
+ * Initial memory block for event manager.
62
+ */
63
+ #ifndef PJMEDIA_POOL_LEN_EVTMGR
64
+ # define PJMEDIA_POOL_LEN_EVTMGR 500
65
+ #endif
66
+
67
+ /**
68
+ * Memory increment for evnt manager.
69
+ */
70
+ #ifndef PJMEDIA_POOL_INC_EVTMGR
71
+ # define PJMEDIA_POOL_INC_EVTMGR 500
72
+ #endif
73
+
74
+ /**
75
+ * Specify whether we prefer to use audio switch board rather than
76
+ * conference bridge.
77
+ *
78
+ * Audio switch board is a kind of simplified version of conference
79
+ * bridge, but not really the subset of conference bridge. It has
80
+ * stricter rules on audio routing among the pjmedia ports and has
81
+ * no audio mixing capability. The power of it is it could work with
82
+ * encoded audio frames where conference brigde couldn't.
83
+ *
84
+ * Default: 0
85
+ */
86
+ #ifndef PJMEDIA_CONF_USE_SWITCH_BOARD
87
+ # define PJMEDIA_CONF_USE_SWITCH_BOARD 0
88
+ #endif
89
+
90
+ /**
91
+ * Specify buffer size for audio switch board, in bytes. This buffer will
92
+ * be used for transmitting/receiving audio frame data (and some overheads,
93
+ * i.e: pjmedia_frame structure) among conference ports in the audio
94
+ * switch board. For example, if a port uses PCM format @44100Hz mono
95
+ * and frame time 20ms, the PCM audio data will require 1764 bytes,
96
+ * so with overhead, a safe buffer size will be ~1900 bytes.
97
+ *
98
+ * Default: PJMEDIA_MAX_MTU
99
+ */
100
+ #ifndef PJMEDIA_CONF_SWITCH_BOARD_BUF_SIZE
101
+ # define PJMEDIA_CONF_SWITCH_BOARD_BUF_SIZE PJMEDIA_MAX_MTU
102
+ #endif
103
+
104
+ /**
105
+ * Specify whether the conference bridge uses AGC, an automatic adjustment to
106
+ * avoid dramatic change in the signal level which can cause noise.
107
+ *
108
+ * Default: 1 (enabled)
109
+ */
110
+ #ifndef PJMEDIA_CONF_USE_AGC
111
+ # define PJMEDIA_CONF_USE_AGC 1
112
+ #endif
113
+
114
+
115
+ /*
116
+ * Types of sound stream backends.
117
+ */
118
+
119
+ /**
120
+ * This macro has been deprecated in releasee 1.1. Please see
121
+ * http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more information.
122
+ */
123
+ #if defined(PJMEDIA_SOUND_IMPLEMENTATION)
124
+ # error PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
125
+ #endif
126
+
127
+ /**
128
+ * This macro has been deprecated in releasee 1.1. Please see
129
+ * http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more information.
130
+ */
131
+ #if defined(PJMEDIA_PREFER_DIRECT_SOUND)
132
+ # error PJMEDIA_PREFER_DIRECT_SOUND has been deprecated
133
+ #endif
134
+
135
+ /**
136
+ * This macro controls whether the legacy sound device API is to be
137
+ * implemented, for applications that still use the old sound device
138
+ * API (sound.h). If this macro is set to non-zero, the sound_legacy.c
139
+ * will be included in the compilation. The sound_legacy.c is an
140
+ * implementation of old sound device (sound.h) using the new Audio
141
+ * Device API.
142
+ *
143
+ * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more
144
+ * info.
145
+ */
146
+ #ifndef PJMEDIA_HAS_LEGACY_SOUND_API
147
+ # define PJMEDIA_HAS_LEGACY_SOUND_API 1
148
+ #endif
149
+
150
+ /**
151
+ * Specify default sound device latency, in milisecond.
152
+ */
153
+ #ifndef PJMEDIA_SND_DEFAULT_REC_LATENCY
154
+ # define PJMEDIA_SND_DEFAULT_REC_LATENCY 100
155
+ #endif
156
+
157
+ /**
158
+ * Specify default sound device latency, in milisecond.
159
+ *
160
+ * Default is 160ms for Windows Mobile and 140ms for other platforms.
161
+ */
162
+ #ifndef PJMEDIA_SND_DEFAULT_PLAY_LATENCY
163
+ # if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0
164
+ # define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 160
165
+ # else
166
+ # define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 140
167
+ # endif
168
+ #endif
169
+
170
+
171
+ /*
172
+ * Types of WSOLA backend algorithm.
173
+ */
174
+
175
+ /**
176
+ * This denotes implementation of WSOLA using null algorithm. Expansion
177
+ * will generate zero frames, and compression will just discard some
178
+ * samples from the input.
179
+ *
180
+ * This type of implementation may be used as it requires the least
181
+ * processing power.
182
+ */
183
+ #define PJMEDIA_WSOLA_IMP_NULL 0
184
+
185
+ /**
186
+ * This denotes implementation of WSOLA using fixed or floating point WSOLA
187
+ * algorithm. This implementation provides the best quality of the result,
188
+ * at the expense of one frame delay and intensive processing power
189
+ * requirement.
190
+ */
191
+ #define PJMEDIA_WSOLA_IMP_WSOLA 1
192
+
193
+ /**
194
+ * This denotes implementation of WSOLA algorithm with faster waveform
195
+ * similarity calculation. This implementation provides fair quality of
196
+ * the result with the main advantage of low processing power requirement.
197
+ */
198
+ #define PJMEDIA_WSOLA_IMP_WSOLA_LITE 2
199
+
200
+ /**
201
+ * Specify type of Waveform based Similarity Overlap and Add (WSOLA) backend
202
+ * implementation to be used. WSOLA is an algorithm to expand and/or compress
203
+ * audio frames without changing the pitch, and used by the delaybuf and as PLC
204
+ * backend algorithm.
205
+ *
206
+ * Default is PJMEDIA_WSOLA_IMP_WSOLA
207
+ */
208
+ #ifndef PJMEDIA_WSOLA_IMP
209
+ # define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA
210
+ #endif
211
+
212
+
213
+ /**
214
+ * Specify the default maximum duration of synthetic audio that is generated
215
+ * by WSOLA. This value should be long enough to cover burst of packet losses.
216
+ * but not too long, because as the duration increases the quality would
217
+ * degrade considerably.
218
+ *
219
+ * Note that this limit is only applied when fading is enabled in the WSOLA
220
+ * session.
221
+ *
222
+ * Default: 80
223
+ */
224
+ #ifndef PJMEDIA_WSOLA_MAX_EXPAND_MSEC
225
+ # define PJMEDIA_WSOLA_MAX_EXPAND_MSEC 80
226
+ #endif
227
+
228
+
229
+ /**
230
+ * Specify WSOLA template length, in milliseconds. The longer the template,
231
+ * the smoother signal to be generated at the expense of more computation
232
+ * needed, since the algorithm will have to compare more samples to find
233
+ * the most similar pitch.
234
+ *
235
+ * Default: 5
236
+ */
237
+ #ifndef PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC
238
+ # define PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC 5
239
+ #endif
240
+
241
+
242
+ /**
243
+ * Specify WSOLA algorithm delay, in milliseconds. The algorithm delay is
244
+ * used to merge synthetic samples with real samples in the transition
245
+ * between real to synthetic and vice versa. The longer the delay, the
246
+ * smoother signal to be generated, at the expense of longer latency and
247
+ * a slighty more computation.
248
+ *
249
+ * Default: 5
250
+ */
251
+ #ifndef PJMEDIA_WSOLA_DELAY_MSEC
252
+ # define PJMEDIA_WSOLA_DELAY_MSEC 5
253
+ #endif
254
+
255
+
256
+ /**
257
+ * Set this to non-zero to disable fade-out/in effect in the PLC when it
258
+ * instructs WSOLA to generate synthetic frames. The use of fading may
259
+ * or may not improve the quality of audio, depending on the nature of
260
+ * packet loss and the type of audio input (e.g. speech vs music).
261
+ * Disabling fading also implicitly remove the maximum limit of synthetic
262
+ * audio samples generated by WSOLA (see PJMEDIA_WSOLA_MAX_EXPAND_MSEC).
263
+ *
264
+ * Default: 0
265
+ */
266
+ #ifndef PJMEDIA_WSOLA_PLC_NO_FADING
267
+ # define PJMEDIA_WSOLA_PLC_NO_FADING 0
268
+ #endif
269
+
270
+
271
+ /**
272
+ * Limit the number of calls by stream to the PLC to generate synthetic
273
+ * frames to this duration. If packets are still lost after this maximum
274
+ * duration, silence will be generated by the stream instead. Since the
275
+ * PLC normally should have its own limit on the maximum duration of
276
+ * synthetic frames to be generated (for PJMEDIA's PLC, the limit is
277
+ * PJMEDIA_WSOLA_MAX_EXPAND_MSEC), we can set this value to a large number
278
+ * to give additional flexibility should the PLC wants to do something
279
+ * clever with the lost frames.
280
+ *
281
+ * Default: 240 ms
282
+ */
283
+ #ifndef PJMEDIA_MAX_PLC_DURATION_MSEC
284
+ # define PJMEDIA_MAX_PLC_DURATION_MSEC 240
285
+ #endif
286
+
287
+
288
+ /**
289
+ * Specify number of sound buffers. Larger number is better for sound
290
+ * stability and to accommodate sound devices that are unable to send frames
291
+ * in timely manner, however it would probably cause more audio delay (and
292
+ * definitely will take more memory). One individual buffer is normally 10ms
293
+ * or 20 ms long, depending on ptime settings (samples_per_frame value).
294
+ *
295
+ * The setting here currently is used by the conference bridge, the splitter
296
+ * combiner port, and dsound.c.
297
+ *
298
+ * Default: (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20
299
+ */
300
+ #ifndef PJMEDIA_SOUND_BUFFER_COUNT
301
+ # define PJMEDIA_SOUND_BUFFER_COUNT ((PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20)
302
+ #endif
303
+
304
+
305
+ /**
306
+ * Specify which A-law/U-law conversion algorithm to use.
307
+ * By default the conversion algorithm uses A-law/U-law table which gives
308
+ * the best performance, at the expense of 33 KBytes of static data.
309
+ * If this option is disabled, a smaller but slower algorithm will be used.
310
+ */
311
+ #ifndef PJMEDIA_HAS_ALAW_ULAW_TABLE
312
+ # define PJMEDIA_HAS_ALAW_ULAW_TABLE 1
313
+ #endif
314
+
315
+
316
+ /**
317
+ * Unless specified otherwise, G711 codec is included by default.
318
+ */
319
+ #ifndef PJMEDIA_HAS_G711_CODEC
320
+ # define PJMEDIA_HAS_G711_CODEC 1
321
+ #endif
322
+
323
+
324
+ /*
325
+ * Warn about obsolete macros.
326
+ *
327
+ * PJMEDIA_HAS_SMALL_FILTER has been deprecated in 0.7.
328
+ */
329
+ #if defined(PJMEDIA_HAS_SMALL_FILTER)
330
+ # ifdef _MSC_VER
331
+ # pragma message("Warning: PJMEDIA_HAS_SMALL_FILTER macro is deprecated"\
332
+ " and has no effect")
333
+ # else
334
+ # warning "PJMEDIA_HAS_SMALL_FILTER macro is deprecated and has no effect"
335
+ # endif
336
+ #endif
337
+
338
+
339
+ /*
340
+ * Warn about obsolete macros.
341
+ *
342
+ * PJMEDIA_HAS_LARGE_FILTER has been deprecated in 0.7.
343
+ */
344
+ #if defined(PJMEDIA_HAS_LARGE_FILTER)
345
+ # ifdef _MSC_VER
346
+ # pragma message("Warning: PJMEDIA_HAS_LARGE_FILTER macro is deprecated"\
347
+ " and has no effect")
348
+ # else
349
+ # warning "PJMEDIA_HAS_LARGE_FILTER macro is deprecated"
350
+ # endif
351
+ #endif
352
+
353
+
354
+ /*
355
+ * These macros are obsolete in 0.7.1 so it will trigger compilation error.
356
+ * Please use PJMEDIA_RESAMPLE_IMP to select the resample implementation
357
+ * to use.
358
+ */
359
+ #ifdef PJMEDIA_HAS_LIBRESAMPLE
360
+ # error "PJMEDIA_HAS_LIBRESAMPLE macro is deprecated. Use '#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE'"
361
+ #endif
362
+
363
+ #ifdef PJMEDIA_HAS_SPEEX_RESAMPLE
364
+ # error "PJMEDIA_HAS_SPEEX_RESAMPLE macro is deprecated. Use '#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_SPEEX'"
365
+ #endif
366
+
367
+
368
+ /*
369
+ * Sample rate conversion backends.
370
+ * Select one of these backends in PJMEDIA_RESAMPLE_IMP.
371
+ */
372
+ /** No resampling */
373
+ #define PJMEDIA_RESAMPLE_NONE 1
374
+
375
+ /** Sample rate conversion using libresample */
376
+ #define PJMEDIA_RESAMPLE_LIBRESAMPLE 2
377
+
378
+ /** Sample rate conversion using Speex */
379
+ #define PJMEDIA_RESAMPLE_SPEEX 3
380
+
381
+ /** Sample rate conversion using libsamplerate (a.k.a Secret Rabbit Code) */
382
+ #define PJMEDIA_RESAMPLE_LIBSAMPLERATE 4
383
+
384
+ /**
385
+ * Select which resample implementation to use. Currently pjmedia supports:
386
+ * - #PJMEDIA_RESAMPLE_LIBRESAMPLE, to use libresample-1.7, this is the default
387
+ * implementation to be used.
388
+ * - #PJMEDIA_RESAMPLE_LIBSAMPLERATE, to use libsamplerate implementation
389
+ * (a.k.a. Secret Rabbit Code).
390
+ * - #PJMEDIA_RESAMPLE_SPEEX, to use sample rate conversion in Speex library.
391
+ * - #PJMEDIA_RESAMPLE_NONE, to disable sample rate conversion. Any calls to
392
+ * resample function will return error.
393
+ *
394
+ * Default is PJMEDIA_RESAMPLE_LIBRESAMPLE
395
+ */
396
+ #ifndef PJMEDIA_RESAMPLE_IMP
397
+ # define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE
398
+ #endif
399
+
400
+
401
+ /**
402
+ * Specify whether libsamplerate, when used, should be linked statically
403
+ * into the application. This option is only useful for Visual Studio
404
+ * projects, and when this static linking is enabled
405
+ */
406
+
407
+
408
+ /**
409
+ * Default file player/writer buffer size.
410
+ */
411
+ #ifndef PJMEDIA_FILE_PORT_BUFSIZE
412
+ # define PJMEDIA_FILE_PORT_BUFSIZE 4000
413
+ #endif
414
+
415
+
416
+ /**
417
+ * Maximum frame duration (in msec) to be supported.
418
+ * This (among other thing) will affect the size of buffers to be allocated
419
+ * for outgoing packets.
420
+ */
421
+ #ifndef PJMEDIA_MAX_FRAME_DURATION_MS
422
+ # define PJMEDIA_MAX_FRAME_DURATION_MS 200
423
+ #endif
424
+
425
+
426
+ /**
427
+ * Max packet size for transmitting direction.
428
+ */
429
+ #ifndef PJMEDIA_MAX_MTU
430
+ # define PJMEDIA_MAX_MTU 1500
431
+ #endif
432
+
433
+
434
+ /**
435
+ * Max packet size for receiving direction.
436
+ */
437
+ #ifndef PJMEDIA_MAX_MRU
438
+ # define PJMEDIA_MAX_MRU 2000
439
+ #endif
440
+
441
+
442
+ /**
443
+ * DTMF/telephone-event duration, in timestamp. To specify the duration in
444
+ * milliseconds, use the setting PJMEDIA_DTMF_DURATION_MSEC instead.
445
+ *
446
+ * Note that for a clockrate of 8 KHz, a dtmf duration of 1600 timestamp
447
+ * units (the default value of PJMEDIA_DTMF_DURATION) is equivalent to 200 ms.
448
+ */
449
+ #ifndef PJMEDIA_DTMF_DURATION
450
+ # define PJMEDIA_DTMF_DURATION 1600 /* in timestamp */
451
+ #endif
452
+
453
+
454
+ /**
455
+ * DTMF/telephone-event duration, in milliseconds. If the value is greater
456
+ * than zero, than this setting will be used instead of PJMEDIA_DTMF_DURATION.
457
+ */
458
+ #ifndef PJMEDIA_DTMF_DURATION_MSEC
459
+ # define PJMEDIA_DTMF_DURATION_MSEC 200
460
+ #endif
461
+
462
+
463
+ /**
464
+ * Number of RTP packets received from different source IP address from the
465
+ * remote address required to make the stream switch transmission
466
+ * to the source address.
467
+ */
468
+ #ifndef PJMEDIA_RTP_NAT_PROBATION_CNT
469
+ # define PJMEDIA_RTP_NAT_PROBATION_CNT 10
470
+ #endif
471
+
472
+
473
+ /**
474
+ * Number of RTCP packets received from different source IP address from the
475
+ * remote address required to make the stream switch RTCP transmission
476
+ * to the source address.
477
+ */
478
+ #ifndef PJMEDIA_RTCP_NAT_PROBATION_CNT
479
+ # define PJMEDIA_RTCP_NAT_PROBATION_CNT 3
480
+ #endif
481
+
482
+
483
+ /**
484
+ * Specify whether RTCP should be advertised in SDP. This setting would
485
+ * affect whether RTCP candidate will be added in SDP when ICE is used.
486
+ * Application might want to disable RTCP advertisement in SDP to
487
+ * reduce the message size.
488
+ *
489
+ * Default: 1 (yes)
490
+ */
491
+ #ifndef PJMEDIA_ADVERTISE_RTCP
492
+ # define PJMEDIA_ADVERTISE_RTCP 1
493
+ #endif
494
+
495
+
496
+ /**
497
+ * Interval to send regular RTCP packets, in msec.
498
+ */
499
+ #ifndef PJMEDIA_RTCP_INTERVAL
500
+ # define PJMEDIA_RTCP_INTERVAL 5000 /* msec*/
501
+ #endif
502
+
503
+
504
+ /**
505
+ * Minimum interval between two consecutive outgoing RTCP-FB packets,
506
+ * such as Picture Loss Indication, in msec.
507
+ */
508
+ #ifndef PJMEDIA_RTCP_FB_INTERVAL
509
+ # define PJMEDIA_RTCP_FB_INTERVAL 50 /* msec*/
510
+ #endif
511
+
512
+
513
+ /**
514
+ * Tell RTCP to ignore the first N packets when calculating the
515
+ * jitter statistics. From experimentation, the first few packets
516
+ * (25 or so) have relatively big jitter, possibly because during
517
+ * this time, the program is also busy setting up the signaling,
518
+ * so they make the average jitter big.
519
+ *
520
+ * Default: 25.
521
+ */
522
+ #ifndef PJMEDIA_RTCP_IGNORE_FIRST_PACKETS
523
+ # define PJMEDIA_RTCP_IGNORE_FIRST_PACKETS 25
524
+ #endif
525
+
526
+
527
+ /**
528
+ * Specify whether RTCP statistics includes raw jitter statistics.
529
+ * Raw jitter is defined as absolute value of network transit time
530
+ * difference of two consecutive packets; refering to "difference D"
531
+ * term in interarrival jitter calculation in RFC 3550 section 6.4.1.
532
+ *
533
+ * Default: 0 (no).
534
+ */
535
+ #ifndef PJMEDIA_RTCP_STAT_HAS_RAW_JITTER
536
+ # define PJMEDIA_RTCP_STAT_HAS_RAW_JITTER 0
537
+ #endif
538
+
539
+ /**
540
+ * Specify the factor with wich RTCP RTT statistics should be normalized
541
+ * if exceptionally high. For e.g. mobile networks with potentially large
542
+ * fluctuations, this might be unwanted.
543
+ *
544
+ * Use (0) to disable this feature.
545
+ *
546
+ * Default: 3.
547
+ */
548
+ #ifndef PJMEDIA_RTCP_NORMALIZE_FACTOR
549
+ # define PJMEDIA_RTCP_NORMALIZE_FACTOR 3
550
+ #endif
551
+
552
+
553
+ /**
554
+ * Specify whether RTCP statistics includes IP Delay Variation statistics.
555
+ * IPDV is defined as network transit time difference of two consecutive
556
+ * packets. The IPDV statistic can be useful to inspect clock skew existance
557
+ * and level, e.g: when the IPDV mean values were stable in positive numbers,
558
+ * then the remote clock (used in sending RTP packets) is faster than local
559
+ * system clock. Ideally, the IPDV mean values are always equal to 0.
560
+ *
561
+ * Default: 0 (no).
562
+ */
563
+ #ifndef PJMEDIA_RTCP_STAT_HAS_IPDV
564
+ # define PJMEDIA_RTCP_STAT_HAS_IPDV 0
565
+ #endif
566
+
567
+
568
+ /**
569
+ * Specify whether RTCP XR support should be built into PJMEDIA. Disabling
570
+ * this feature will reduce footprint slightly. Note that even when this
571
+ * setting is enabled, RTCP XR processing will only be performed in stream
572
+ * if it is enabled on run-time on per stream basis. See
573
+ * PJMEDIA_STREAM_ENABLE_XR setting for more info.
574
+ *
575
+ * Default: 0 (no).
576
+ */
577
+ #ifndef PJMEDIA_HAS_RTCP_XR
578
+ # define PJMEDIA_HAS_RTCP_XR 0
579
+ #endif
580
+
581
+
582
+ /**
583
+ * The RTCP XR feature is activated and used by stream if \a enable_rtcp_xr
584
+ * field of \a pjmedia_stream_info structure is non-zero. This setting
585
+ * controls the default value of this field.
586
+ *
587
+ * Default: 0 (disabled)
588
+ */
589
+ #ifndef PJMEDIA_STREAM_ENABLE_XR
590
+ # define PJMEDIA_STREAM_ENABLE_XR 0
591
+ #endif
592
+
593
+
594
+ /**
595
+ * Specify the buffer length for storing any received RTCP SDES text
596
+ * in a stream session. Usually RTCP contains only the mandatory SDES
597
+ * field, i.e: CNAME.
598
+ *
599
+ * Default: 64 bytes.
600
+ */
601
+ #ifndef PJMEDIA_RTCP_RX_SDES_BUF_LEN
602
+ # define PJMEDIA_RTCP_RX_SDES_BUF_LEN 64
603
+ #endif
604
+
605
+
606
+ /**
607
+ * Specify the maximum number of RTCP Feedback capability definition.
608
+ *
609
+ * Default: 16
610
+ */
611
+ #ifndef PJMEDIA_RTCP_FB_MAX_CAP
612
+ # define PJMEDIA_RTCP_FB_MAX_CAP 16
613
+ #endif
614
+
615
+
616
+ /**
617
+ * Specify how long (in miliseconds) the stream should suspend the
618
+ * silence detector/voice activity detector (VAD) during the initial
619
+ * period of the session. This feature is useful to open bindings in
620
+ * all NAT routers between local and remote endpoint since most NATs
621
+ * do not allow incoming packet to get in before local endpoint sends
622
+ * outgoing packets.
623
+ *
624
+ * Specify zero to disable this feature.
625
+ *
626
+ * Default: 600 msec (which gives good probability that some RTP
627
+ * packets will reach the destination, but without
628
+ * filling up the jitter buffer on the remote end).
629
+ */
630
+ #ifndef PJMEDIA_STREAM_VAD_SUSPEND_MSEC
631
+ # define PJMEDIA_STREAM_VAD_SUSPEND_MSEC 600
632
+ #endif
633
+
634
+ /**
635
+ * Perform RTP payload type checking in the audio stream. Normally the peer
636
+ * MUST send RTP with payload type as we specified in our SDP. Certain
637
+ * agents may not be able to follow this hence the only way to have
638
+ * communication is to disable this check.
639
+ *
640
+ * Default: 1
641
+ */
642
+ #ifndef PJMEDIA_STREAM_CHECK_RTP_PT
643
+ # define PJMEDIA_STREAM_CHECK_RTP_PT 1
644
+ #endif
645
+
646
+ /**
647
+ * Reserve some space for application extra data, e.g: SRTP auth tag,
648
+ * in RTP payload, so the total payload length will not exceed the MTU.
649
+ */
650
+ #ifndef PJMEDIA_STREAM_RESV_PAYLOAD_LEN
651
+ # define PJMEDIA_STREAM_RESV_PAYLOAD_LEN 20
652
+ #endif
653
+
654
+
655
+ /**
656
+ * Specify the maximum duration of silence period in the codec, in msec.
657
+ * This is useful for example to keep NAT binding open in the firewall
658
+ * and to prevent server from disconnecting the call because no
659
+ * RTP packet is received.
660
+ *
661
+ * This only applies to codecs that use PJMEDIA's VAD such as G711, GSM,
662
+ * iLBC, G722, G722.1, L16. Some other codecs, such as Speex, Opus, G729,
663
+ * have their own VAD/DTX mechanism will not be affected by this setting.
664
+ *
665
+ * Use (-1) to disable this feature.
666
+ *
667
+ * Default: 5000 ms
668
+ */
669
+ #ifndef PJMEDIA_CODEC_MAX_SILENCE_PERIOD
670
+ # define PJMEDIA_CODEC_MAX_SILENCE_PERIOD 5000
671
+ #endif
672
+
673
+
674
+ /**
675
+ * Suggested or default threshold to be set for fixed silence detection
676
+ * or as starting threshold for adaptive silence detection. The threshold
677
+ * has the range from zero to 0xFFFF.
678
+ */
679
+ #ifndef PJMEDIA_SILENCE_DET_THRESHOLD
680
+ # define PJMEDIA_SILENCE_DET_THRESHOLD 4
681
+ #endif
682
+
683
+
684
+ /**
685
+ * Maximum silence threshold in the silence detector. The silence detector
686
+ * will not cut the audio transmission if the audio level is above this
687
+ * level.
688
+ *
689
+ * Use 0x10000 (or greater) to disable this feature.
690
+ *
691
+ * Default: 0x10000 (disabled)
692
+ */
693
+ #ifndef PJMEDIA_SILENCE_DET_MAX_THRESHOLD
694
+ # define PJMEDIA_SILENCE_DET_MAX_THRESHOLD 0x10000
695
+ #endif
696
+
697
+
698
+ /**
699
+ * Speex Accoustic Echo Cancellation (AEC).
700
+ * By default is enabled.
701
+ */
702
+ #ifndef PJMEDIA_HAS_SPEEX_AEC
703
+ # define PJMEDIA_HAS_SPEEX_AEC 1
704
+ #endif
705
+
706
+
707
+ /**
708
+ * Specify whether Automatic Gain Control (AGC) should also be enabled in
709
+ * Speex AEC.
710
+ *
711
+ * Default: 1 (yes)
712
+ */
713
+ #ifndef PJMEDIA_SPEEX_AEC_USE_AGC
714
+ # define PJMEDIA_SPEEX_AEC_USE_AGC 1
715
+ #endif
716
+
717
+
718
+ /**
719
+ * Specify whether denoise should also be enabled in Speex AEC.
720
+ *
721
+ * Default: 1 (yes)
722
+ */
723
+ #ifndef PJMEDIA_SPEEX_AEC_USE_DENOISE
724
+ # define PJMEDIA_SPEEX_AEC_USE_DENOISE 1
725
+ #endif
726
+
727
+
728
+ /**
729
+ * WebRtc Accoustic Echo Cancellation (AEC).
730
+ * By default is disabled.
731
+ */
732
+ #ifndef PJMEDIA_HAS_WEBRTC_AEC
733
+ # define PJMEDIA_HAS_WEBRTC_AEC 0
734
+ #endif
735
+
736
+ /**
737
+ * Specify whether WebRtc EC should use its mobile version AEC.
738
+ *
739
+ * Default: 0 (no)
740
+ */
741
+ #ifndef PJMEDIA_WEBRTC_AEC_USE_MOBILE
742
+ # define PJMEDIA_WEBRTC_AEC_USE_MOBILE 0
743
+ #endif
744
+
745
+
746
+ /**
747
+ * Maximum number of parameters in SDP fmtp attribute.
748
+ *
749
+ * Default: 16
750
+ */
751
+ #ifndef PJMEDIA_CODEC_MAX_FMTP_CNT
752
+ # define PJMEDIA_CODEC_MAX_FMTP_CNT 16
753
+ #endif
754
+
755
+
756
+ /**
757
+ * This specifies the behavior of the SDP negotiator when responding to an
758
+ * offer, whether it should rather use the codec preference as set by
759
+ * remote, or should it rather use the codec preference as specified by
760
+ * local endpoint.
761
+ *
762
+ * For example, suppose incoming call has codec order "8 0 3", while
763
+ * local codec order is "3 0 8". If remote codec order is preferable,
764
+ * the selected codec will be 8, while if local codec order is preferable,
765
+ * the selected codec will be 3.
766
+ *
767
+ * If set to non-zero, the negotiator will use the codec order as specified
768
+ * by remote in the offer.
769
+ *
770
+ * Note that this behavior can be changed during run-time by calling
771
+ * pjmedia_sdp_neg_set_prefer_remote_codec_order().
772
+ *
773
+ * Default is 1 (to maintain backward compatibility)
774
+ */
775
+ #ifndef PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER
776
+ # define PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER 1
777
+ #endif
778
+
779
+ /**
780
+ * This specifies the behavior of the SDP negotiator when responding to an
781
+ * offer, whether it should answer with multiple formats or not.
782
+ *
783
+ * Note that this behavior can be changed during run-time by calling
784
+ * pjmedia_sdp_neg_set_allow_multiple_codecs().
785
+ *
786
+ * Default is 0 (to maintain backward compatibility)
787
+ */
788
+ #ifndef PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS
789
+ # define PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS 0
790
+ #endif
791
+
792
+
793
+ /**
794
+ * This specifies the maximum number of the customized SDP format
795
+ * negotiation callbacks.
796
+ */
797
+ #ifndef PJMEDIA_SDP_NEG_MAX_CUSTOM_FMT_NEG_CB
798
+ # define PJMEDIA_SDP_NEG_MAX_CUSTOM_FMT_NEG_CB 8
799
+ #endif
800
+
801
+
802
+ /**
803
+ * This specifies if the SDP negotiator should rewrite answer payload
804
+ * type numbers to use the same payload type numbers as the remote offer
805
+ * for all matched codecs.
806
+ *
807
+ * Default is 1 (yes)
808
+ */
809
+ #ifndef PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT
810
+ # define PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT 1
811
+ #endif
812
+
813
+ /**
814
+ * The SDP negotiator will maintain that the mapping from a particular
815
+ * dynamic payload type number to a particular codec does not change,
816
+ * as mandated by RFC 3264 section 8.3.2.
817
+ * By default, the mapping is maintained for local endpoint only, i.e.
818
+ * it only takes into account local offer and local answer.
819
+ * Enable this if application wishes to maintain PT->codec mapping for
820
+ * remote endpoint as well, i.e. to update the mapping based on remote
821
+ * offer and answer too.
822
+ *
823
+ * Default is 0 (no)
824
+ */
825
+ #ifndef PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP
826
+ # define PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP 0
827
+ #endif
828
+
829
+
830
+ /**
831
+ * This specifies if the SDP negotiator should compare its content before
832
+ * incrementing the origin version on the subsequent offer/answer.
833
+ * If this is set to 1, origin version will only by incremented if the
834
+ * new offer/answer is different than the previous one. For backward
835
+ * compatibility and performance this is set to 0.
836
+ *
837
+ * Default is 0 (No)
838
+ *
839
+ * This macro has been deprecated in version 2.14.
840
+ * See https://github.com/pjsip/pjproject/pull/3322 for more info.
841
+ */
842
+ #ifdef PJMEDIA_SDP_NEG_COMPARE_BEFORE_INC_VERSION
843
+ # ifdef _MSC_VER
844
+ # pragma message("Warning: PJMEDIA_SDP_NEG_COMPARE_BEFORE_INC_VERSION macro is"\
845
+ " deprecated and has no effect")
846
+ # else
847
+ # warning "PJMEDIA_SDP_NEG_COMPARE_BEFORE_INC_VERSION macro is deprecated"\
848
+ " and has no effect"
849
+ # endif
850
+ #endif
851
+
852
+
853
+ /**
854
+ * Support for sending and decoding RTCP port in SDP (RFC 3605).
855
+ * Default is equal to PJMEDIA_ADVERTISE_RTCP setting.
856
+ */
857
+ #ifndef PJMEDIA_HAS_RTCP_IN_SDP
858
+ # define PJMEDIA_HAS_RTCP_IN_SDP (PJMEDIA_ADVERTISE_RTCP)
859
+ #endif
860
+
861
+
862
+ /**
863
+ * This macro controls whether pjmedia should include SDP
864
+ * bandwidth modifier "TIAS" (RFC3890).
865
+ *
866
+ * Note that there is also a run-time variable to turn this setting
867
+ * on or off, defined in endpoint.c. To access this variable, use
868
+ * the following construct
869
+ *
870
+ \verbatim
871
+ extern pj_bool_t pjmedia_add_bandwidth_tias_in_sdp;
872
+
873
+ // Do not enable bandwidth information inclusion in sdp
874
+ pjmedia_add_bandwidth_tias_in_sdp = PJ_FALSE;
875
+ \endverbatim
876
+ *
877
+ * Default: 1 (yes)
878
+ */
879
+ #ifndef PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP
880
+ # define PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP 1
881
+ #endif
882
+
883
+
884
+ /**
885
+ * This macro controls whether pjmedia should include SDP rtpmap
886
+ * attribute for static payload types. SDP rtpmap for static
887
+ * payload types are optional, although they are normally included
888
+ * for interoperability reason.
889
+ *
890
+ * Note that there is also a run-time variable to turn this setting
891
+ * on or off, defined in endpoint.c. To access this variable, use
892
+ * the following construct
893
+ *
894
+ \verbatim
895
+ extern pj_bool_t pjmedia_add_rtpmap_for_static_pt;
896
+
897
+ // Do not include rtpmap for static payload types (<96)
898
+ pjmedia_add_rtpmap_for_static_pt = PJ_FALSE;
899
+ \endverbatim
900
+ *
901
+ * Default: 1 (yes)
902
+ */
903
+ #ifndef PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT
904
+ # define PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT 1
905
+ #endif
906
+
907
+
908
+ /**
909
+ * This macro declares the start payload type for telephone-event
910
+ * that is advertised by PJMEDIA for outgoing SDP. If this macro
911
+ * is set to zero, telephone events would not be advertised nor
912
+ * supported.
913
+ */
914
+ #ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS
915
+ # define PJMEDIA_RTP_PT_TELEPHONE_EVENTS 120
916
+ #endif
917
+
918
+
919
+ /**
920
+ * This macro declares whether PJMEDIA should generate multiple
921
+ * telephone-event formats in SDP offer, i.e: one for each audio codec
922
+ * clock rate (see also ticket #2088). If this macro is set to zero, only
923
+ * one telephone event format will be generated and it uses clock rate 8kHz
924
+ * (old behavior before ticket #2088).
925
+ *
926
+ * Default: 1 (yes)
927
+ */
928
+ #ifndef PJMEDIA_TELEPHONE_EVENT_ALL_CLOCKRATES
929
+ # define PJMEDIA_TELEPHONE_EVENT_ALL_CLOCKRATES 1
930
+ #endif
931
+
932
+
933
+ /**
934
+ * Maximum tones/digits that can be enqueued in the tone generator.
935
+ */
936
+ #ifndef PJMEDIA_TONEGEN_MAX_DIGITS
937
+ # define PJMEDIA_TONEGEN_MAX_DIGITS 32
938
+ #endif
939
+
940
+
941
+ /*
942
+ * Below specifies the various tone generator backend algorithm.
943
+ */
944
+
945
+ /**
946
+ * The math's sine(), floating point. This has very good precision
947
+ * but it's the slowest and requires floating point support and
948
+ * linking with the math library.
949
+ */
950
+ #define PJMEDIA_TONEGEN_SINE 1
951
+
952
+ /**
953
+ * Floating point approximation of sine(). This has relatively good
954
+ * precision and much faster than plain sine(), but it requires floating-
955
+ * point support and linking with the math library.
956
+ */
957
+ #define PJMEDIA_TONEGEN_FLOATING_POINT 2
958
+
959
+ /**
960
+ * Fixed point using sine signal generated by Cordic algorithm. This
961
+ * algorithm can be tuned to provide balance between precision and
962
+ * performance by tuning the PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP
963
+ * setting, and may be suitable for platforms that lack floating-point
964
+ * support.
965
+ */
966
+ #define PJMEDIA_TONEGEN_FIXED_POINT_CORDIC 3
967
+
968
+ /**
969
+ * Fast fixed point using some approximation to generate sine waves.
970
+ * The tone generated by this algorithm is not very precise, however
971
+ * the algorithm is very fast.
972
+ */
973
+ #define PJMEDIA_TONEGEN_FAST_FIXED_POINT 4
974
+
975
+
976
+ /**
977
+ * Specify the tone generator algorithm to be used. Please see
978
+ * http://trac.pjsip.org/repos/wiki/Tone_Generator for the performance
979
+ * analysis results of the various tone generator algorithms.
980
+ *
981
+ * Default value:
982
+ * - PJMEDIA_TONEGEN_FLOATING_POINT when PJ_HAS_FLOATING_POINT is set
983
+ * - PJMEDIA_TONEGEN_FIXED_POINT_CORDIC when PJ_HAS_FLOATING_POINT is not set
984
+ */
985
+ #ifndef PJMEDIA_TONEGEN_ALG
986
+ # if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT
987
+ # define PJMEDIA_TONEGEN_ALG PJMEDIA_TONEGEN_FLOATING_POINT
988
+ # else
989
+ # define PJMEDIA_TONEGEN_ALG PJMEDIA_TONEGEN_FIXED_POINT_CORDIC
990
+ # endif
991
+ #endif
992
+
993
+
994
+ /**
995
+ * Specify the number of calculation loops to generate the tone, when
996
+ * PJMEDIA_TONEGEN_FIXED_POINT_CORDIC algorithm is used. With more calculation
997
+ * loops, the tone signal gets more precise, but this will add more
998
+ * processing.
999
+ *
1000
+ * Valid values are 1 to 28.
1001
+ *
1002
+ * Default value: 10
1003
+ */
1004
+ #ifndef PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP
1005
+ # define PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP 10
1006
+ #endif
1007
+
1008
+
1009
+ /**
1010
+ * Enable high quality of tone generation, the better quality will cost
1011
+ * more CPU load. This is only applied to floating point enabled machines.
1012
+ *
1013
+ * By default it is enabled when PJ_HAS_FLOATING_POINT is set.
1014
+ *
1015
+ * This macro has been deprecated in version 1.0-rc3.
1016
+ */
1017
+ #ifdef PJMEDIA_USE_HIGH_QUALITY_TONEGEN
1018
+ # error "The PJMEDIA_USE_HIGH_QUALITY_TONEGEN macro is obsolete"
1019
+ #endif
1020
+
1021
+
1022
+ /**
1023
+ * Fade-in duration for the tone, in milliseconds. Set to zero to disable
1024
+ * this feature.
1025
+ *
1026
+ * Default: 1 (msec)
1027
+ */
1028
+ #ifndef PJMEDIA_TONEGEN_FADE_IN_TIME
1029
+ # define PJMEDIA_TONEGEN_FADE_IN_TIME 1
1030
+ #endif
1031
+
1032
+
1033
+ /**
1034
+ * Fade-out duration for the tone, in milliseconds. Set to zero to disable
1035
+ * this feature.
1036
+ *
1037
+ * Default: 2 (msec)
1038
+ */
1039
+ #ifndef PJMEDIA_TONEGEN_FADE_OUT_TIME
1040
+ # define PJMEDIA_TONEGEN_FADE_OUT_TIME 2
1041
+ #endif
1042
+
1043
+
1044
+ /**
1045
+ * The default tone generator amplitude (1-32767).
1046
+ *
1047
+ * Default value: 12288
1048
+ */
1049
+ #ifndef PJMEDIA_TONEGEN_VOLUME
1050
+ # define PJMEDIA_TONEGEN_VOLUME 12288
1051
+ #endif
1052
+
1053
+
1054
+ /**
1055
+ * Enable support for SRTP media transport. This will require linking
1056
+ * with libsrtp from the third_party directory.
1057
+ *
1058
+ * By default it is enabled.
1059
+ */
1060
+ #ifndef PJMEDIA_HAS_SRTP
1061
+ # define PJMEDIA_HAS_SRTP 1
1062
+ #endif
1063
+
1064
+
1065
+ /**
1066
+ * Enable session description for SRTP keying.
1067
+ *
1068
+ * By default it is enabled.
1069
+ */
1070
+ #ifndef PJMEDIA_SRTP_HAS_SDES
1071
+ # define PJMEDIA_SRTP_HAS_SDES 1
1072
+ #endif
1073
+
1074
+
1075
+ /**
1076
+ * Enable DTLS for SRTP keying.
1077
+ *
1078
+ * Default value: 0 (disabled)
1079
+ */
1080
+ #ifndef PJMEDIA_SRTP_HAS_DTLS
1081
+ # define PJMEDIA_SRTP_HAS_DTLS 0
1082
+ #endif
1083
+
1084
+
1085
+ /**
1086
+ * Set OpenSSL ciphers for DTLS-SRTP.
1087
+ *
1088
+ * Default value: "DEFAULT"
1089
+ */
1090
+ #ifndef PJMEDIA_SRTP_DTLS_OSSL_CIPHERS
1091
+ # define PJMEDIA_SRTP_DTLS_OSSL_CIPHERS "DEFAULT"
1092
+ #endif
1093
+
1094
+
1095
+ /**
1096
+ * Maximum number of SRTP cryptos.
1097
+ *
1098
+ * Default: 16
1099
+ */
1100
+ #ifndef PJMEDIA_SRTP_MAX_CRYPTOS
1101
+ # define PJMEDIA_SRTP_MAX_CRYPTOS 16
1102
+ #endif
1103
+
1104
+
1105
+ /**
1106
+ * Enable AES_CM_256 cryptos in SRTP.
1107
+ * Default: enabled.
1108
+ */
1109
+ #ifndef PJMEDIA_SRTP_HAS_AES_CM_256
1110
+ # define PJMEDIA_SRTP_HAS_AES_CM_256 1
1111
+ #endif
1112
+
1113
+
1114
+ /**
1115
+ * Enable AES_CM_192 cryptos in SRTP.
1116
+ * It was reported that this crypto only works among libsrtp backends,
1117
+ * so we recommend to disable this.
1118
+ *
1119
+ * To enable this, you would require OpenSSL which supports it.
1120
+ * See https://github.com/pjsip/pjproject/issues/1943 for more info.
1121
+ *
1122
+ * Default: disabled.
1123
+ */
1124
+ #ifndef PJMEDIA_SRTP_HAS_AES_CM_192
1125
+ # define PJMEDIA_SRTP_HAS_AES_CM_192 0
1126
+ #endif
1127
+
1128
+
1129
+ /**
1130
+ * Enable AES_CM_128 cryptos in SRTP.
1131
+ * Default: enabled.
1132
+ */
1133
+ #ifndef PJMEDIA_SRTP_HAS_AES_CM_128
1134
+ # define PJMEDIA_SRTP_HAS_AES_CM_128 1
1135
+ #endif
1136
+
1137
+
1138
+ /**
1139
+ * Enable AES_GCM_256 cryptos in SRTP.
1140
+ *
1141
+ * To enable this, you would require OpenSSL which supports it.
1142
+ * See https://github.com/pjsip/pjproject/issues/1943 for more info.
1143
+ *
1144
+ * Default: disabled.
1145
+ */
1146
+ #ifndef PJMEDIA_SRTP_HAS_AES_GCM_256
1147
+ # define PJMEDIA_SRTP_HAS_AES_GCM_256 0
1148
+ #endif
1149
+
1150
+
1151
+ /**
1152
+ * Enable AES_GCM_128 cryptos in SRTP.
1153
+ *
1154
+ * To enable this, you would require OpenSSL which supports it.
1155
+ * See https://github.com/pjsip/pjproject/issues/1943 for more info.
1156
+ *
1157
+ * Default: disabled.
1158
+ */
1159
+ #ifndef PJMEDIA_SRTP_HAS_AES_GCM_128
1160
+ # define PJMEDIA_SRTP_HAS_AES_GCM_128 0
1161
+ #endif
1162
+
1163
+
1164
+ /**
1165
+ * Specify whether SRTP needs to handle condition that old packets with
1166
+ * incorect RTP seq are still coming when SRTP is restarted.
1167
+ *
1168
+ * Default: enabled.
1169
+ */
1170
+ #ifndef PJMEDIA_SRTP_CHECK_RTP_SEQ_ON_RESTART
1171
+ # define PJMEDIA_SRTP_CHECK_RTP_SEQ_ON_RESTART 1
1172
+ #endif
1173
+
1174
+
1175
+ /**
1176
+ * Specify whether SRTP needs to handle condition that remote may reset
1177
+ * or maintain ROC when SRTP is restarted.
1178
+ *
1179
+ * Default: enabled.
1180
+ */
1181
+ #ifndef PJMEDIA_SRTP_CHECK_ROC_ON_RESTART
1182
+ # define PJMEDIA_SRTP_CHECK_ROC_ON_RESTART 1
1183
+ #endif
1184
+
1185
+
1186
+ /**
1187
+ * Let the library handle libsrtp initialization and deinitialization.
1188
+ * Application may want to disable this and manually perform libsrtp
1189
+ * initialization and deinitialization when it needs to use libsrtp
1190
+ * before the library is initialized or after the library is shutdown.
1191
+ *
1192
+ * By default it is enabled.
1193
+ */
1194
+ #ifndef PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT
1195
+ # define PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT 1
1196
+ #endif
1197
+
1198
+
1199
+ /**
1200
+ * Enable support to handle codecs with inconsistent clock rate
1201
+ * between clock rate in SDP/RTP & the clock rate that is actually used.
1202
+ * This happens for example with G.722 and MPEG audio codecs.
1203
+ * See:
1204
+ * - G.722 : RFC 3551 4.5.2
1205
+ * - MPEG audio : RFC 3551 4.5.13 & RFC 3119
1206
+ * - OPUS : RFC 7587
1207
+ *
1208
+ * Also when this feature is enabled, some handling will be performed
1209
+ * to deal with clock rate incompatibilities of some phones.
1210
+ *
1211
+ * By default it is enabled.
1212
+ */
1213
+ #ifndef PJMEDIA_HANDLE_G722_MPEG_BUG
1214
+ # define PJMEDIA_HANDLE_G722_MPEG_BUG 1
1215
+ #endif
1216
+
1217
+
1218
+ /* Setting to determine if media transport should switch RTP and RTCP
1219
+ * remote address to the source address of the packets it receives.
1220
+ *
1221
+ * By default it is enabled.
1222
+ */
1223
+ #ifndef PJMEDIA_TRANSPORT_SWITCH_REMOTE_ADDR
1224
+ # define PJMEDIA_TRANSPORT_SWITCH_REMOTE_ADDR 1
1225
+ #endif
1226
+
1227
+
1228
+ /**
1229
+ * Transport info (pjmedia_transport_info) contains a socket info and list
1230
+ * of transport specific info, since transports can be chained together
1231
+ * (for example, SRTP transport uses UDP transport as the underlying
1232
+ * transport). This constant specifies maximum number of transport specific
1233
+ * infos that can be held in a transport info.
1234
+ */
1235
+ #ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT
1236
+ # define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT 4
1237
+ #endif
1238
+
1239
+
1240
+ /**
1241
+ * Maximum size in bytes of storage buffer of a transport specific info.
1242
+ */
1243
+ #ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE
1244
+ # define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE (50*sizeof(long))
1245
+ #endif
1246
+
1247
+
1248
+ /**
1249
+ * Value to be specified in PJMEDIA_STREAM_ENABLE_KA setting.
1250
+ * This indicates that an empty RTP packet should be used as
1251
+ * the keep-alive packet.
1252
+ */
1253
+ #define PJMEDIA_STREAM_KA_EMPTY_RTP 1
1254
+
1255
+ /**
1256
+ * Value to be specified in PJMEDIA_STREAM_ENABLE_KA setting.
1257
+ * This indicates that a user defined packet should be used
1258
+ * as the keep-alive packet. The content of the user-defined
1259
+ * packet is specified by PJMEDIA_STREAM_KA_USER_PKT. Default
1260
+ * content is a CR-LF packet.
1261
+ */
1262
+ #define PJMEDIA_STREAM_KA_USER 2
1263
+
1264
+ /**
1265
+ * The content of the user defined keep-alive packet. The format
1266
+ * of the packet is initializer to pj_str_t structure. Note that
1267
+ * the content may contain NULL character.
1268
+ */
1269
+ #ifndef PJMEDIA_STREAM_KA_USER_PKT
1270
+ # define PJMEDIA_STREAM_KA_USER_PKT { "\r\n", 2 }
1271
+ #endif
1272
+
1273
+
1274
+ /**
1275
+ * Specify another type of keep-alive and NAT hole punching
1276
+ * mechanism (the other type is PJMEDIA_STREAM_VAD_SUSPEND_MSEC
1277
+ * and PJMEDIA_CODEC_MAX_SILENCE_PERIOD) to be used by stream.
1278
+ * When this feature is enabled, the stream will initially
1279
+ * transmit one packet to punch a hole in NAT, and periodically
1280
+ * transmit keep-alive packets.
1281
+ *
1282
+ * When this alternative keep-alive mechanism is used, application
1283
+ * may disable the other keep-alive mechanisms, i.e: by setting
1284
+ * PJMEDIA_STREAM_VAD_SUSPEND_MSEC to zero and
1285
+ * PJMEDIA_CODEC_MAX_SILENCE_PERIOD to -1.
1286
+ *
1287
+ * The value of this macro specifies the type of packet used
1288
+ * for the keep-alive mechanism. Valid values are
1289
+ * PJMEDIA_STREAM_KA_EMPTY_RTP and PJMEDIA_STREAM_KA_USER.
1290
+ *
1291
+ * The duration of the keep-alive interval further can be set
1292
+ * with PJMEDIA_STREAM_KA_INTERVAL setting.
1293
+ *
1294
+ * Default: 0 (disabled)
1295
+ */
1296
+ #ifndef PJMEDIA_STREAM_ENABLE_KA
1297
+ # define PJMEDIA_STREAM_ENABLE_KA 0
1298
+ #endif
1299
+
1300
+
1301
+ /**
1302
+ * Specify the keep-alive interval of PJMEDIA_STREAM_ENABLE_KA
1303
+ * mechanism, in seconds.
1304
+ *
1305
+ * Default: 5 seconds
1306
+ */
1307
+ #ifndef PJMEDIA_STREAM_KA_INTERVAL
1308
+ # define PJMEDIA_STREAM_KA_INTERVAL 5
1309
+ #endif
1310
+
1311
+
1312
+ /**
1313
+ * Specify the number of keep-alive needed to be sent after the stream is
1314
+ * created.
1315
+ *
1316
+ * Setting this to 0 will disable it.
1317
+ *
1318
+ * Default : 2
1319
+ */
1320
+ #ifndef PJMEDIA_STREAM_START_KA_CNT
1321
+ # define PJMEDIA_STREAM_START_KA_CNT 2
1322
+ #endif
1323
+
1324
+
1325
+ /**
1326
+ * Specify the interval to send keep-alive after the stream is created,
1327
+ * in msec.
1328
+ *
1329
+ * Default : 1000
1330
+ */
1331
+ #ifndef PJMEDIA_STREAM_START_KA_INTERVAL_MSEC
1332
+ # define PJMEDIA_STREAM_START_KA_INTERVAL_MSEC 1000
1333
+ #endif
1334
+
1335
+
1336
+ /**
1337
+ * Specify the number of identical consecutive error that will be ignored when
1338
+ * receiving RTP/RTCP data before the library tries to restart the transport.
1339
+ *
1340
+ * When receiving RTP/RTCP data, the library will ignore error besides
1341
+ * PJ_EPENDING or PJ_ECANCELLED and continue the loop to receive the data.
1342
+ * If the OS always return error, then the loop will continue non stop.
1343
+ * This setting will limit the number of the identical consecutive error,
1344
+ * before the library start to restart the transport. If error still happens
1345
+ * after transport restart, then PJMEDIA_EVENT_MEDIA_TP_ERR event will be
1346
+ * publish as a notification.
1347
+ *
1348
+ * If PJ_ESOCKETSTOP is raised, then transport will be restarted regardless
1349
+ * of this setting.
1350
+ *
1351
+ * To always ignore the error when receving RTP/RTCP, set this to 0.
1352
+ *
1353
+ * Default : 20
1354
+ */
1355
+ #ifndef PJMEDIA_IGNORE_RECV_ERR_CNT
1356
+ # define PJMEDIA_IGNORE_RECV_ERR_CNT 20
1357
+ #endif
1358
+
1359
+
1360
+ /*
1361
+ * .... new stuffs ...
1362
+ */
1363
+
1364
+ /*
1365
+ * Video
1366
+ */
1367
+
1368
+ /**
1369
+ * Top level option to enable/disable video features.
1370
+ *
1371
+ * Default: 0 (disabled)
1372
+ */
1373
+ #ifndef PJMEDIA_HAS_VIDEO
1374
+ # define PJMEDIA_HAS_VIDEO 0
1375
+ #endif
1376
+
1377
+
1378
+ /**
1379
+ * Specify if FFMPEG is available. The value here will be used as the default
1380
+ * value for other FFMPEG settings below.
1381
+ *
1382
+ * Default: 0
1383
+ */
1384
+ #ifndef PJMEDIA_HAS_FFMPEG
1385
+ # define PJMEDIA_HAS_FFMPEG 0
1386
+ #endif
1387
+
1388
+ /**
1389
+ * Specify if FFMPEG libavformat is available.
1390
+ *
1391
+ * Default: PJMEDIA_HAS_FFMPEG (or detected by configure)
1392
+ */
1393
+ #ifndef PJMEDIA_HAS_LIBAVFORMAT
1394
+ # define PJMEDIA_HAS_LIBAVFORMAT PJMEDIA_HAS_FFMPEG
1395
+ #endif
1396
+
1397
+ /**
1398
+ * Specify if FFMPEG libavformat is available.
1399
+ *
1400
+ * Default: PJMEDIA_HAS_FFMPEG (or detected by configure)
1401
+ */
1402
+ #ifndef PJMEDIA_HAS_LIBAVCODEC
1403
+ # define PJMEDIA_HAS_LIBAVCODEC PJMEDIA_HAS_FFMPEG
1404
+ #endif
1405
+
1406
+ /**
1407
+ * Specify if FFMPEG libavutil is available.
1408
+ *
1409
+ * Default: PJMEDIA_HAS_FFMPEG (or detected by configure)
1410
+ */
1411
+ #ifndef PJMEDIA_HAS_LIBAVUTIL
1412
+ # define PJMEDIA_HAS_LIBAVUTIL PJMEDIA_HAS_FFMPEG
1413
+ #endif
1414
+
1415
+ /**
1416
+ * Specify if FFMPEG libswscale is available.
1417
+ *
1418
+ * Default: PJMEDIA_HAS_FFMPEG (or detected by configure)
1419
+ */
1420
+ #ifndef PJMEDIA_HAS_LIBSWSCALE
1421
+ # define PJMEDIA_HAS_LIBSWSCALE PJMEDIA_HAS_FFMPEG
1422
+ #endif
1423
+
1424
+ /**
1425
+ * Specify if FFMPEG libavdevice is available.
1426
+ *
1427
+ * Default: PJMEDIA_HAS_FFMPEG (or detected by configure)
1428
+ */
1429
+ #ifndef PJMEDIA_HAS_LIBAVDEVICE
1430
+ # define PJMEDIA_HAS_LIBAVDEVICE PJMEDIA_HAS_FFMPEG
1431
+ #endif
1432
+
1433
+ /**
1434
+ * Maximum video planes.
1435
+ *
1436
+ * Default: 4
1437
+ */
1438
+ #ifndef PJMEDIA_MAX_VIDEO_PLANES
1439
+ # define PJMEDIA_MAX_VIDEO_PLANES 4
1440
+ #endif
1441
+
1442
+ /**
1443
+ * Maximum number of video formats.
1444
+ *
1445
+ * Default: 32
1446
+ */
1447
+ #ifndef PJMEDIA_MAX_VIDEO_FORMATS
1448
+ # define PJMEDIA_MAX_VIDEO_FORMATS 32
1449
+ #endif
1450
+
1451
+ /**
1452
+ * Specify the maximum time difference (in ms) for synchronization between
1453
+ * two medias. If the synchronization media source is ahead of time
1454
+ * greater than this duration, it is considered to make a very large jump
1455
+ * and the synchronization will be reset.
1456
+ *
1457
+ * Default: 20000
1458
+ */
1459
+ #ifndef PJMEDIA_CLOCK_SYNC_MAX_SYNC_MSEC
1460
+ # define PJMEDIA_CLOCK_SYNC_MAX_SYNC_MSEC 20000
1461
+ #endif
1462
+
1463
+ /**
1464
+ * Maximum video frame size.
1465
+ * Default: 128kB
1466
+ */
1467
+ #ifndef PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE
1468
+ # define PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE (1<<17)
1469
+ #endif
1470
+
1471
+
1472
+ /**
1473
+ * Specify the maximum duration (in ms) for resynchronization. When a media
1474
+ * is late to another media it is supposed to be synchronized to, it is
1475
+ * guaranteed to be synchronized again after this duration. While if the
1476
+ * media is ahead/early by t ms, it is guaranteed to be synchronized after
1477
+ * t + this duration. This timing only applies if there is no additional
1478
+ * resynchronization required during the specified duration.
1479
+ *
1480
+ * Default: 2000
1481
+ */
1482
+ #ifndef PJMEDIA_CLOCK_SYNC_MAX_RESYNC_DURATION
1483
+ # define PJMEDIA_CLOCK_SYNC_MAX_RESYNC_DURATION 2000
1484
+ #endif
1485
+
1486
+
1487
+ /**
1488
+ * Minimum gap between two consecutive discards in jitter buffer,
1489
+ * in milliseconds.
1490
+ *
1491
+ * Default: 200 ms
1492
+ */
1493
+ #ifndef PJMEDIA_JBUF_DISC_MIN_GAP
1494
+ # define PJMEDIA_JBUF_DISC_MIN_GAP 200
1495
+ #endif
1496
+
1497
+
1498
+ /**
1499
+ * Minimum burst level reference used for calculating discard duration
1500
+ * in jitter buffer progressive discard algorithm, in frames.
1501
+ *
1502
+ * Default: 1 frame
1503
+ */
1504
+ #ifndef PJMEDIA_JBUF_PRO_DISC_MIN_BURST
1505
+ # define PJMEDIA_JBUF_PRO_DISC_MIN_BURST 1
1506
+ #endif
1507
+
1508
+
1509
+ /**
1510
+ * Maximum burst level reference used for calculating discard duration
1511
+ * in jitter buffer progressive discard algorithm, in frames.
1512
+ *
1513
+ * Default: 200 frames
1514
+ */
1515
+ #ifndef PJMEDIA_JBUF_PRO_DISC_MAX_BURST
1516
+ # define PJMEDIA_JBUF_PRO_DISC_MAX_BURST 100
1517
+ #endif
1518
+
1519
+
1520
+ /**
1521
+ * Duration for progressive discard algotithm in jitter buffer to discard
1522
+ * an excessive frame when burst is equal to or lower than
1523
+ * PJMEDIA_JBUF_PRO_DISC_MIN_BURST, in milliseconds.
1524
+ *
1525
+ * Default: 2000 ms
1526
+ */
1527
+ #ifndef PJMEDIA_JBUF_PRO_DISC_T1
1528
+ # define PJMEDIA_JBUF_PRO_DISC_T1 2000
1529
+ #endif
1530
+
1531
+
1532
+ /**
1533
+ * Duration for progressive discard algotithm in jitter buffer to discard
1534
+ * an excessive frame when burst is equal to or greater than
1535
+ * PJMEDIA_JBUF_PRO_DISC_MAX_BURST, in milliseconds.
1536
+ *
1537
+ * Default: 10000 ms
1538
+ */
1539
+ #ifndef PJMEDIA_JBUF_PRO_DISC_T2
1540
+ # define PJMEDIA_JBUF_PRO_DISC_T2 10000
1541
+ #endif
1542
+
1543
+
1544
+ /**
1545
+ * Reset jitter buffer and return silent audio on stream playback start
1546
+ * (first get_frame()). This is useful to avoid possible noise that may be
1547
+ * introduced by discard algorithm and neutralize latency when audio device
1548
+ * is started later than the stream.
1549
+ *
1550
+ * Set this to N>0 to allow N silent audio frames returned on stream playback
1551
+ * start, this will allow about N frames to be buffered in the jitter buffer
1552
+ * before the playback is started (prefetching effect).
1553
+ * Set this to zero to disable this feature.
1554
+ *
1555
+ * Default: 1
1556
+ */
1557
+ #ifndef PJMEDIA_STREAM_SOFT_START
1558
+ # define PJMEDIA_STREAM_SOFT_START 1
1559
+ #endif
1560
+
1561
+
1562
+ /**
1563
+ * Video stream will discard old picture from the jitter buffer as soon as
1564
+ * new picture is received, to reduce latency.
1565
+ *
1566
+ * Default: 0
1567
+ */
1568
+ #ifndef PJMEDIA_VID_STREAM_SKIP_PACKETS_TO_REDUCE_LATENCY
1569
+ # define PJMEDIA_VID_STREAM_SKIP_PACKETS_TO_REDUCE_LATENCY 0
1570
+ #endif
1571
+
1572
+
1573
+ /**
1574
+ * Maximum video payload size. Note that this must not be greater than
1575
+ * PJMEDIA_MAX_MTU.
1576
+ *
1577
+ * Default: (PJMEDIA_MAX_MTU - 20 - (128+16)) if SRTP is enabled,
1578
+ * otherwise (PJMEDIA_MAX_MTU - 20).
1579
+ * Note that (128+16) constant value is taken from libSRTP macro
1580
+ * SRTP_MAX_TRAILER_LEN.
1581
+ */
1582
+ #ifndef PJMEDIA_MAX_VID_PAYLOAD_SIZE
1583
+ # if PJMEDIA_HAS_SRTP
1584
+ # define PJMEDIA_MAX_VID_PAYLOAD_SIZE (PJMEDIA_MAX_MTU - 20 - (128+16))
1585
+ # else
1586
+ # define PJMEDIA_MAX_VID_PAYLOAD_SIZE (PJMEDIA_MAX_MTU - 20)
1587
+ # endif
1588
+ #endif
1589
+
1590
+
1591
+ /**
1592
+ * Specify target value for socket receive buffer size. It will be
1593
+ * applied to RTP socket of media transport using setsockopt(). When
1594
+ * transport failed to set the specified size, it will try with lower
1595
+ * value until the highest possible is successfully set.
1596
+ *
1597
+ * Setting this to zero will leave the socket receive buffer size to
1598
+ * OS default (e.g: usually 8 KB on desktop platforms).
1599
+ *
1600
+ * Default: 64 KB when video is enabled, otherwise zero (OS default)
1601
+ */
1602
+ #ifndef PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE
1603
+ # if PJMEDIA_HAS_VIDEO
1604
+ # define PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE (64*1024)
1605
+ # else
1606
+ # define PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE 0
1607
+ # endif
1608
+ #endif
1609
+
1610
+
1611
+ /**
1612
+ * Specify target value for socket send buffer size. It will be
1613
+ * applied to RTP socket of media transport using setsockopt(). When
1614
+ * transport failed to set the specified size, it will try with lower
1615
+ * value until the highest possible is successfully set.
1616
+ *
1617
+ * Setting this to zero will leave the socket send buffer size to
1618
+ * OS default (e.g: usually 8 KB on desktop platforms).
1619
+ *
1620
+ * Default: 64 KB when video is enabled, otherwise zero (OS default)
1621
+ */
1622
+ #ifndef PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE
1623
+ # if PJMEDIA_HAS_VIDEO
1624
+ # define PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE (64*1024)
1625
+ # else
1626
+ # define PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE 0
1627
+ # endif
1628
+ #endif
1629
+
1630
+
1631
+ /**
1632
+ * Specify if libyuv is available.
1633
+ *
1634
+ * Default: 0 (disable)
1635
+ */
1636
+ #ifndef PJMEDIA_HAS_LIBYUV
1637
+ # define PJMEDIA_HAS_LIBYUV 0
1638
+ #endif
1639
+
1640
+
1641
+ /**
1642
+ * Specify if dtmf flash in RFC 2833 is available.
1643
+ */
1644
+ #ifndef PJMEDIA_HAS_DTMF_FLASH
1645
+ # define PJMEDIA_HAS_DTMF_FLASH 1
1646
+ #endif
1647
+
1648
+
1649
+ /**
1650
+ * Specify the number of keyframe needed to be sent after the stream is
1651
+ * created. Setting this to 0 will disable it.
1652
+ *
1653
+ * Default : 5
1654
+ */
1655
+ #ifndef PJMEDIA_VID_STREAM_START_KEYFRAME_CNT
1656
+ # define PJMEDIA_VID_STREAM_START_KEYFRAME_CNT 5
1657
+ #endif
1658
+
1659
+
1660
+ /**
1661
+ * Specify the interval to send keyframe after the stream is created, in msec.
1662
+ *
1663
+ * Default : 1000
1664
+ */
1665
+ #ifndef PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC
1666
+ # define PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC 1000
1667
+ #endif
1668
+
1669
+
1670
+ /**
1671
+ * Specify the minimum interval to send video keyframe, in msec.
1672
+ *
1673
+ * Default : 1000
1674
+ */
1675
+ #ifndef PJMEDIA_VID_STREAM_MIN_KEYFRAME_INTERVAL_MSEC
1676
+ # define PJMEDIA_VID_STREAM_MIN_KEYFRAME_INTERVAL_MSEC 1000
1677
+ #endif
1678
+
1679
+
1680
+ /**
1681
+ * Specify minimum delay of video decoding, in milliseconds. Lower value may
1682
+ * degrade video quality significantly in a bad network environment (e.g:
1683
+ * with persistent late and out-of-order RTP packets). Note that the value
1684
+ * must be lower than jitter buffer maximum delay (configurable via
1685
+ * pjmedia_stream_info.jb_max or pjsua_media_config.jb_max).
1686
+ *
1687
+ * Default : 100
1688
+ */
1689
+ #ifndef PJMEDIA_VID_STREAM_DECODE_MIN_DELAY_MSEC
1690
+ # define PJMEDIA_VID_STREAM_DECODE_MIN_DELAY_MSEC 100
1691
+ #endif
1692
+
1693
+
1694
+ /**
1695
+ * Perform RTP payload type checking in the video stream. Normally the peer
1696
+ * MUST send RTP with payload type as we specified in our SDP. Certain
1697
+ * agents may not be able to follow this hence the only way to have
1698
+ * communication is to disable this check.
1699
+ *
1700
+ * Default: PJMEDIA_STREAM_CHECK_RTP_PT (follow audio stream's setting)
1701
+ */
1702
+ #ifndef PJMEDIA_VID_STREAM_CHECK_RTP_PT
1703
+ # define PJMEDIA_VID_STREAM_CHECK_RTP_PT PJMEDIA_STREAM_CHECK_RTP_PT
1704
+ #endif
1705
+
1706
+ /**
1707
+ * @}
1708
+ */
1709
+
1710
+
1711
+ #endif /* __PJMEDIA_CONFIG_H__ */
1712
+
1713
+