@recallai/desktop-sdk 2024.1.28-ed4c05a2ec5340a21818e8292a2c8f86359502da

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 (309) hide show
  1. package/WebRTC.framework/Headers/RTCAudioSource.h +32 -0
  2. package/WebRTC.framework/Headers/RTCAudioTrack.h +28 -0
  3. package/WebRTC.framework/Headers/RTCCVPixelBuffer.h +52 -0
  4. package/WebRTC.framework/Headers/RTCCallbackLogger.h +41 -0
  5. package/WebRTC.framework/Headers/RTCCameraVideoCapturer.h +56 -0
  6. package/WebRTC.framework/Headers/RTCCertificate.h +44 -0
  7. package/WebRTC.framework/Headers/RTCCodecSpecificInfo.h +24 -0
  8. package/WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h +27 -0
  9. package/WebRTC.framework/Headers/RTCConfiguration.h +262 -0
  10. package/WebRTC.framework/Headers/RTCCryptoOptions.h +63 -0
  11. package/WebRTC.framework/Headers/RTCDataChannel.h +132 -0
  12. package/WebRTC.framework/Headers/RTCDataChannelConfiguration.h +52 -0
  13. package/WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
  14. package/WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
  15. package/WebRTC.framework/Headers/RTCDispatcher.h +46 -0
  16. package/WebRTC.framework/Headers/RTCDtmfSender.h +71 -0
  17. package/WebRTC.framework/Headers/RTCEncodedImage.h +52 -0
  18. package/WebRTC.framework/Headers/RTCFieldTrials.h +30 -0
  19. package/WebRTC.framework/Headers/RTCFileLogger.h +74 -0
  20. package/WebRTC.framework/Headers/RTCFileVideoCapturer.h +51 -0
  21. package/WebRTC.framework/Headers/RTCH264ProfileLevelId.h +60 -0
  22. package/WebRTC.framework/Headers/RTCI420Buffer.h +22 -0
  23. package/WebRTC.framework/Headers/RTCIceCandidate.h +49 -0
  24. package/WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h +42 -0
  25. package/WebRTC.framework/Headers/RTCIceServer.h +114 -0
  26. package/WebRTC.framework/Headers/RTCLegacyStatsReport.h +37 -0
  27. package/WebRTC.framework/Headers/RTCLogging.h +66 -0
  28. package/WebRTC.framework/Headers/RTCMTLNSVideoView.h +22 -0
  29. package/WebRTC.framework/Headers/RTCMacros.h +63 -0
  30. package/WebRTC.framework/Headers/RTCMediaConstraints.h +46 -0
  31. package/WebRTC.framework/Headers/RTCMediaSource.h +34 -0
  32. package/WebRTC.framework/Headers/RTCMediaStream.h +49 -0
  33. package/WebRTC.framework/Headers/RTCMediaStreamTrack.h +50 -0
  34. package/WebRTC.framework/Headers/RTCMetrics.h +23 -0
  35. package/WebRTC.framework/Headers/RTCMetricsSampleInfo.h +48 -0
  36. package/WebRTC.framework/Headers/RTCMutableI420Buffer.h +23 -0
  37. package/WebRTC.framework/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
  38. package/WebRTC.framework/Headers/RTCNativeI420Buffer.h +23 -0
  39. package/WebRTC.framework/Headers/RTCNativeMutableI420Buffer.h +24 -0
  40. package/WebRTC.framework/Headers/RTCPeerConnection.h +397 -0
  41. package/WebRTC.framework/Headers/RTCPeerConnectionFactory.h +113 -0
  42. package/WebRTC.framework/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
  43. package/WebRTC.framework/Headers/RTCRtcpParameters.h +30 -0
  44. package/WebRTC.framework/Headers/RTCRtpCodecParameters.h +73 -0
  45. package/WebRTC.framework/Headers/RTCRtpEncodingParameters.h +76 -0
  46. package/WebRTC.framework/Headers/RTCRtpHeaderExtension.h +33 -0
  47. package/WebRTC.framework/Headers/RTCRtpParameters.h +58 -0
  48. package/WebRTC.framework/Headers/RTCRtpReceiver.h +86 -0
  49. package/WebRTC.framework/Headers/RTCRtpSender.h +54 -0
  50. package/WebRTC.framework/Headers/RTCRtpTransceiver.h +137 -0
  51. package/WebRTC.framework/Headers/RTCSSLAdapter.h +20 -0
  52. package/WebRTC.framework/Headers/RTCSSLCertificateVerifier.h +25 -0
  53. package/WebRTC.framework/Headers/RTCSessionDescription.h +48 -0
  54. package/WebRTC.framework/Headers/RTCStatisticsReport.h +55 -0
  55. package/WebRTC.framework/Headers/RTCTracing.h +21 -0
  56. package/WebRTC.framework/Headers/RTCVideoCapturer.h +35 -0
  57. package/WebRTC.framework/Headers/RTCVideoCodecInfo.h +36 -0
  58. package/WebRTC.framework/Headers/RTCVideoDecoder.h +41 -0
  59. package/WebRTC.framework/Headers/RTCVideoDecoderAV1.h +25 -0
  60. package/WebRTC.framework/Headers/RTCVideoDecoderFactory.h +32 -0
  61. package/WebRTC.framework/Headers/RTCVideoDecoderFactoryH264.h +18 -0
  62. package/WebRTC.framework/Headers/RTCVideoDecoderH264.h +18 -0
  63. package/WebRTC.framework/Headers/RTCVideoDecoderVP8.h +25 -0
  64. package/WebRTC.framework/Headers/RTCVideoDecoderVP9.h +27 -0
  65. package/WebRTC.framework/Headers/RTCVideoEncoder.h +59 -0
  66. package/WebRTC.framework/Headers/RTCVideoEncoderAV1.h +27 -0
  67. package/WebRTC.framework/Headers/RTCVideoEncoderFactory.h +52 -0
  68. package/WebRTC.framework/Headers/RTCVideoEncoderFactoryH264.h +18 -0
  69. package/WebRTC.framework/Headers/RTCVideoEncoderH264.h +22 -0
  70. package/WebRTC.framework/Headers/RTCVideoEncoderQpThresholds.h +28 -0
  71. package/WebRTC.framework/Headers/RTCVideoEncoderSettings.h +42 -0
  72. package/WebRTC.framework/Headers/RTCVideoEncoderVP8.h +25 -0
  73. package/WebRTC.framework/Headers/RTCVideoEncoderVP9.h +27 -0
  74. package/WebRTC.framework/Headers/RTCVideoFrame.h +86 -0
  75. package/WebRTC.framework/Headers/RTCVideoFrameBuffer.h +40 -0
  76. package/WebRTC.framework/Headers/RTCVideoRenderer.h +43 -0
  77. package/WebRTC.framework/Headers/RTCVideoSource.h +37 -0
  78. package/WebRTC.framework/Headers/RTCVideoTrack.h +38 -0
  79. package/WebRTC.framework/Headers/RTCVideoViewShading.h +39 -0
  80. package/WebRTC.framework/Headers/RTCYUVPlanarBuffer.h +46 -0
  81. package/WebRTC.framework/Headers/WebRTC.h +90 -0
  82. package/WebRTC.framework/Modules/module.modulemap +6 -0
  83. package/WebRTC.framework/Resources/Info.plist +36 -0
  84. package/WebRTC.framework/Versions/A/Headers/RTCAudioSource.h +32 -0
  85. package/WebRTC.framework/Versions/A/Headers/RTCAudioTrack.h +28 -0
  86. package/WebRTC.framework/Versions/A/Headers/RTCCVPixelBuffer.h +52 -0
  87. package/WebRTC.framework/Versions/A/Headers/RTCCallbackLogger.h +41 -0
  88. package/WebRTC.framework/Versions/A/Headers/RTCCameraVideoCapturer.h +56 -0
  89. package/WebRTC.framework/Versions/A/Headers/RTCCertificate.h +44 -0
  90. package/WebRTC.framework/Versions/A/Headers/RTCCodecSpecificInfo.h +24 -0
  91. package/WebRTC.framework/Versions/A/Headers/RTCCodecSpecificInfoH264.h +27 -0
  92. package/WebRTC.framework/Versions/A/Headers/RTCConfiguration.h +262 -0
  93. package/WebRTC.framework/Versions/A/Headers/RTCCryptoOptions.h +63 -0
  94. package/WebRTC.framework/Versions/A/Headers/RTCDataChannel.h +132 -0
  95. package/WebRTC.framework/Versions/A/Headers/RTCDataChannelConfiguration.h +52 -0
  96. package/WebRTC.framework/Versions/A/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
  97. package/WebRTC.framework/Versions/A/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
  98. package/WebRTC.framework/Versions/A/Headers/RTCDispatcher.h +46 -0
  99. package/WebRTC.framework/Versions/A/Headers/RTCDtmfSender.h +71 -0
  100. package/WebRTC.framework/Versions/A/Headers/RTCEncodedImage.h +52 -0
  101. package/WebRTC.framework/Versions/A/Headers/RTCFieldTrials.h +30 -0
  102. package/WebRTC.framework/Versions/A/Headers/RTCFileLogger.h +74 -0
  103. package/WebRTC.framework/Versions/A/Headers/RTCFileVideoCapturer.h +51 -0
  104. package/WebRTC.framework/Versions/A/Headers/RTCH264ProfileLevelId.h +60 -0
  105. package/WebRTC.framework/Versions/A/Headers/RTCI420Buffer.h +22 -0
  106. package/WebRTC.framework/Versions/A/Headers/RTCIceCandidate.h +49 -0
  107. package/WebRTC.framework/Versions/A/Headers/RTCIceCandidateErrorEvent.h +42 -0
  108. package/WebRTC.framework/Versions/A/Headers/RTCIceServer.h +114 -0
  109. package/WebRTC.framework/Versions/A/Headers/RTCLegacyStatsReport.h +37 -0
  110. package/WebRTC.framework/Versions/A/Headers/RTCLogging.h +66 -0
  111. package/WebRTC.framework/Versions/A/Headers/RTCMTLNSVideoView.h +22 -0
  112. package/WebRTC.framework/Versions/A/Headers/RTCMacros.h +63 -0
  113. package/WebRTC.framework/Versions/A/Headers/RTCMediaConstraints.h +46 -0
  114. package/WebRTC.framework/Versions/A/Headers/RTCMediaSource.h +34 -0
  115. package/WebRTC.framework/Versions/A/Headers/RTCMediaStream.h +49 -0
  116. package/WebRTC.framework/Versions/A/Headers/RTCMediaStreamTrack.h +50 -0
  117. package/WebRTC.framework/Versions/A/Headers/RTCMetrics.h +23 -0
  118. package/WebRTC.framework/Versions/A/Headers/RTCMetricsSampleInfo.h +48 -0
  119. package/WebRTC.framework/Versions/A/Headers/RTCMutableI420Buffer.h +23 -0
  120. package/WebRTC.framework/Versions/A/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
  121. package/WebRTC.framework/Versions/A/Headers/RTCNativeI420Buffer.h +23 -0
  122. package/WebRTC.framework/Versions/A/Headers/RTCNativeMutableI420Buffer.h +24 -0
  123. package/WebRTC.framework/Versions/A/Headers/RTCPeerConnection.h +397 -0
  124. package/WebRTC.framework/Versions/A/Headers/RTCPeerConnectionFactory.h +113 -0
  125. package/WebRTC.framework/Versions/A/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
  126. package/WebRTC.framework/Versions/A/Headers/RTCRtcpParameters.h +30 -0
  127. package/WebRTC.framework/Versions/A/Headers/RTCRtpCodecParameters.h +73 -0
  128. package/WebRTC.framework/Versions/A/Headers/RTCRtpEncodingParameters.h +76 -0
  129. package/WebRTC.framework/Versions/A/Headers/RTCRtpHeaderExtension.h +33 -0
  130. package/WebRTC.framework/Versions/A/Headers/RTCRtpParameters.h +58 -0
  131. package/WebRTC.framework/Versions/A/Headers/RTCRtpReceiver.h +86 -0
  132. package/WebRTC.framework/Versions/A/Headers/RTCRtpSender.h +54 -0
  133. package/WebRTC.framework/Versions/A/Headers/RTCRtpTransceiver.h +137 -0
  134. package/WebRTC.framework/Versions/A/Headers/RTCSSLAdapter.h +20 -0
  135. package/WebRTC.framework/Versions/A/Headers/RTCSSLCertificateVerifier.h +25 -0
  136. package/WebRTC.framework/Versions/A/Headers/RTCSessionDescription.h +48 -0
  137. package/WebRTC.framework/Versions/A/Headers/RTCStatisticsReport.h +55 -0
  138. package/WebRTC.framework/Versions/A/Headers/RTCTracing.h +21 -0
  139. package/WebRTC.framework/Versions/A/Headers/RTCVideoCapturer.h +35 -0
  140. package/WebRTC.framework/Versions/A/Headers/RTCVideoCodecInfo.h +36 -0
  141. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoder.h +41 -0
  142. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderAV1.h +25 -0
  143. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderFactory.h +32 -0
  144. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderFactoryH264.h +18 -0
  145. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderH264.h +18 -0
  146. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderVP8.h +25 -0
  147. package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderVP9.h +27 -0
  148. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoder.h +59 -0
  149. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderAV1.h +27 -0
  150. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderFactory.h +52 -0
  151. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderFactoryH264.h +18 -0
  152. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderH264.h +22 -0
  153. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderQpThresholds.h +28 -0
  154. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderSettings.h +42 -0
  155. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderVP8.h +25 -0
  156. package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderVP9.h +27 -0
  157. package/WebRTC.framework/Versions/A/Headers/RTCVideoFrame.h +86 -0
  158. package/WebRTC.framework/Versions/A/Headers/RTCVideoFrameBuffer.h +40 -0
  159. package/WebRTC.framework/Versions/A/Headers/RTCVideoRenderer.h +43 -0
  160. package/WebRTC.framework/Versions/A/Headers/RTCVideoSource.h +37 -0
  161. package/WebRTC.framework/Versions/A/Headers/RTCVideoTrack.h +38 -0
  162. package/WebRTC.framework/Versions/A/Headers/RTCVideoViewShading.h +39 -0
  163. package/WebRTC.framework/Versions/A/Headers/RTCYUVPlanarBuffer.h +46 -0
  164. package/WebRTC.framework/Versions/A/Headers/WebRTC.h +90 -0
  165. package/WebRTC.framework/Versions/A/Modules/module.modulemap +6 -0
  166. package/WebRTC.framework/Versions/A/Resources/Info.plist +36 -0
  167. package/WebRTC.framework/Versions/A/WebRTC +0 -0
  168. package/WebRTC.framework/Versions/Current/Headers/RTCAudioSource.h +32 -0
  169. package/WebRTC.framework/Versions/Current/Headers/RTCAudioTrack.h +28 -0
  170. package/WebRTC.framework/Versions/Current/Headers/RTCCVPixelBuffer.h +52 -0
  171. package/WebRTC.framework/Versions/Current/Headers/RTCCallbackLogger.h +41 -0
  172. package/WebRTC.framework/Versions/Current/Headers/RTCCameraVideoCapturer.h +56 -0
  173. package/WebRTC.framework/Versions/Current/Headers/RTCCertificate.h +44 -0
  174. package/WebRTC.framework/Versions/Current/Headers/RTCCodecSpecificInfo.h +24 -0
  175. package/WebRTC.framework/Versions/Current/Headers/RTCCodecSpecificInfoH264.h +27 -0
  176. package/WebRTC.framework/Versions/Current/Headers/RTCConfiguration.h +262 -0
  177. package/WebRTC.framework/Versions/Current/Headers/RTCCryptoOptions.h +63 -0
  178. package/WebRTC.framework/Versions/Current/Headers/RTCDataChannel.h +132 -0
  179. package/WebRTC.framework/Versions/Current/Headers/RTCDataChannelConfiguration.h +52 -0
  180. package/WebRTC.framework/Versions/Current/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
  181. package/WebRTC.framework/Versions/Current/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
  182. package/WebRTC.framework/Versions/Current/Headers/RTCDispatcher.h +46 -0
  183. package/WebRTC.framework/Versions/Current/Headers/RTCDtmfSender.h +71 -0
  184. package/WebRTC.framework/Versions/Current/Headers/RTCEncodedImage.h +52 -0
  185. package/WebRTC.framework/Versions/Current/Headers/RTCFieldTrials.h +30 -0
  186. package/WebRTC.framework/Versions/Current/Headers/RTCFileLogger.h +74 -0
  187. package/WebRTC.framework/Versions/Current/Headers/RTCFileVideoCapturer.h +51 -0
  188. package/WebRTC.framework/Versions/Current/Headers/RTCH264ProfileLevelId.h +60 -0
  189. package/WebRTC.framework/Versions/Current/Headers/RTCI420Buffer.h +22 -0
  190. package/WebRTC.framework/Versions/Current/Headers/RTCIceCandidate.h +49 -0
  191. package/WebRTC.framework/Versions/Current/Headers/RTCIceCandidateErrorEvent.h +42 -0
  192. package/WebRTC.framework/Versions/Current/Headers/RTCIceServer.h +114 -0
  193. package/WebRTC.framework/Versions/Current/Headers/RTCLegacyStatsReport.h +37 -0
  194. package/WebRTC.framework/Versions/Current/Headers/RTCLogging.h +66 -0
  195. package/WebRTC.framework/Versions/Current/Headers/RTCMTLNSVideoView.h +22 -0
  196. package/WebRTC.framework/Versions/Current/Headers/RTCMacros.h +63 -0
  197. package/WebRTC.framework/Versions/Current/Headers/RTCMediaConstraints.h +46 -0
  198. package/WebRTC.framework/Versions/Current/Headers/RTCMediaSource.h +34 -0
  199. package/WebRTC.framework/Versions/Current/Headers/RTCMediaStream.h +49 -0
  200. package/WebRTC.framework/Versions/Current/Headers/RTCMediaStreamTrack.h +50 -0
  201. package/WebRTC.framework/Versions/Current/Headers/RTCMetrics.h +23 -0
  202. package/WebRTC.framework/Versions/Current/Headers/RTCMetricsSampleInfo.h +48 -0
  203. package/WebRTC.framework/Versions/Current/Headers/RTCMutableI420Buffer.h +23 -0
  204. package/WebRTC.framework/Versions/Current/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
  205. package/WebRTC.framework/Versions/Current/Headers/RTCNativeI420Buffer.h +23 -0
  206. package/WebRTC.framework/Versions/Current/Headers/RTCNativeMutableI420Buffer.h +24 -0
  207. package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnection.h +397 -0
  208. package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnectionFactory.h +113 -0
  209. package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
  210. package/WebRTC.framework/Versions/Current/Headers/RTCRtcpParameters.h +30 -0
  211. package/WebRTC.framework/Versions/Current/Headers/RTCRtpCodecParameters.h +73 -0
  212. package/WebRTC.framework/Versions/Current/Headers/RTCRtpEncodingParameters.h +76 -0
  213. package/WebRTC.framework/Versions/Current/Headers/RTCRtpHeaderExtension.h +33 -0
  214. package/WebRTC.framework/Versions/Current/Headers/RTCRtpParameters.h +58 -0
  215. package/WebRTC.framework/Versions/Current/Headers/RTCRtpReceiver.h +86 -0
  216. package/WebRTC.framework/Versions/Current/Headers/RTCRtpSender.h +54 -0
  217. package/WebRTC.framework/Versions/Current/Headers/RTCRtpTransceiver.h +137 -0
  218. package/WebRTC.framework/Versions/Current/Headers/RTCSSLAdapter.h +20 -0
  219. package/WebRTC.framework/Versions/Current/Headers/RTCSSLCertificateVerifier.h +25 -0
  220. package/WebRTC.framework/Versions/Current/Headers/RTCSessionDescription.h +48 -0
  221. package/WebRTC.framework/Versions/Current/Headers/RTCStatisticsReport.h +55 -0
  222. package/WebRTC.framework/Versions/Current/Headers/RTCTracing.h +21 -0
  223. package/WebRTC.framework/Versions/Current/Headers/RTCVideoCapturer.h +35 -0
  224. package/WebRTC.framework/Versions/Current/Headers/RTCVideoCodecInfo.h +36 -0
  225. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoder.h +41 -0
  226. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderAV1.h +25 -0
  227. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderFactory.h +32 -0
  228. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderFactoryH264.h +18 -0
  229. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderH264.h +18 -0
  230. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderVP8.h +25 -0
  231. package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderVP9.h +27 -0
  232. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoder.h +59 -0
  233. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderAV1.h +27 -0
  234. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderFactory.h +52 -0
  235. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderFactoryH264.h +18 -0
  236. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderH264.h +22 -0
  237. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderQpThresholds.h +28 -0
  238. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderSettings.h +42 -0
  239. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderVP8.h +25 -0
  240. package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderVP9.h +27 -0
  241. package/WebRTC.framework/Versions/Current/Headers/RTCVideoFrame.h +86 -0
  242. package/WebRTC.framework/Versions/Current/Headers/RTCVideoFrameBuffer.h +40 -0
  243. package/WebRTC.framework/Versions/Current/Headers/RTCVideoRenderer.h +43 -0
  244. package/WebRTC.framework/Versions/Current/Headers/RTCVideoSource.h +37 -0
  245. package/WebRTC.framework/Versions/Current/Headers/RTCVideoTrack.h +38 -0
  246. package/WebRTC.framework/Versions/Current/Headers/RTCVideoViewShading.h +39 -0
  247. package/WebRTC.framework/Versions/Current/Headers/RTCYUVPlanarBuffer.h +46 -0
  248. package/WebRTC.framework/Versions/Current/Headers/WebRTC.h +90 -0
  249. package/WebRTC.framework/Versions/Current/Modules/module.modulemap +6 -0
  250. package/WebRTC.framework/Versions/Current/Resources/Info.plist +36 -0
  251. package/WebRTC.framework/Versions/Current/WebRTC +0 -0
  252. package/WebRTC.framework/WebRTC +0 -0
  253. package/binding.gyp +16 -0
  254. package/desktop_sdk_macos.framework/Headers/desktop_sdk_macos-Swift.h +606 -0
  255. package/desktop_sdk_macos.framework/Headers/desktop_sdk_macos.h +18 -0
  256. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  257. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  258. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
  259. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
  260. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
  261. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
  262. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  263. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
  264. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
  265. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
  266. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
  267. package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  268. package/desktop_sdk_macos.framework/Modules/module.modulemap +11 -0
  269. package/desktop_sdk_macos.framework/Resources/Info.plist +46 -0
  270. package/desktop_sdk_macos.framework/Versions/A/Headers/desktop_sdk_macos-Swift.h +606 -0
  271. package/desktop_sdk_macos.framework/Versions/A/Headers/desktop_sdk_macos.h +18 -0
  272. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  273. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  274. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
  275. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
  276. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
  277. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
  278. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  279. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
  280. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
  281. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
  282. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
  283. package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  284. package/desktop_sdk_macos.framework/Versions/A/Modules/module.modulemap +11 -0
  285. package/desktop_sdk_macos.framework/Versions/A/Resources/Info.plist +46 -0
  286. package/desktop_sdk_macos.framework/Versions/A/desktop_sdk_macos +0 -0
  287. package/desktop_sdk_macos.framework/Versions/Current/Headers/desktop_sdk_macos-Swift.h +606 -0
  288. package/desktop_sdk_macos.framework/Versions/Current/Headers/desktop_sdk_macos.h +18 -0
  289. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
  290. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
  291. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
  292. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
  293. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
  294. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
  295. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
  296. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
  297. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
  298. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
  299. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
  300. package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
  301. package/desktop_sdk_macos.framework/Versions/Current/Modules/module.modulemap +11 -0
  302. package/desktop_sdk_macos.framework/Versions/Current/Resources/Info.plist +46 -0
  303. package/desktop_sdk_macos.framework/Versions/Current/desktop_sdk_macos +0 -0
  304. package/desktop_sdk_macos.framework/desktop_sdk_macos +0 -0
  305. package/index.d.ts +9 -0
  306. package/index.js +14 -0
  307. package/package.json +9 -0
  308. package/src/RecallAiDesktopSdk.h +2 -0
  309. package/src/main.cc +47 -0
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ NS_ASSUME_NONNULL_BEGIN
16
+
17
+ RTC_EXTERN const NSString *const kRTCRtxCodecName;
18
+ RTC_EXTERN const NSString *const kRTCRedCodecName;
19
+ RTC_EXTERN const NSString *const kRTCUlpfecCodecName;
20
+ RTC_EXTERN const NSString *const kRTCFlexfecCodecName;
21
+ RTC_EXTERN const NSString *const kRTCOpusCodecName;
22
+ RTC_EXTERN const NSString *const kRTCIsacCodecName;
23
+ RTC_EXTERN const NSString *const kRTCL16CodecName;
24
+ RTC_EXTERN const NSString *const kRTCG722CodecName;
25
+ RTC_EXTERN const NSString *const kRTCIlbcCodecName;
26
+ RTC_EXTERN const NSString *const kRTCPcmuCodecName;
27
+ RTC_EXTERN const NSString *const kRTCPcmaCodecName;
28
+ RTC_EXTERN const NSString *const kRTCDtmfCodecName;
29
+ RTC_EXTERN const NSString *const kRTCComfortNoiseCodecName;
30
+ RTC_EXTERN const NSString *const kRTCVp8CodecName;
31
+ RTC_EXTERN const NSString *const kRTCVp9CodecName;
32
+ RTC_EXTERN const NSString *const kRTCH264CodecName;
33
+
34
+ /** Defined in https://www.w3.org/TR/webrtc/#idl-def-rtcrtpcodecparameters */
35
+ RTC_OBJC_EXPORT
36
+ @interface RTC_OBJC_TYPE (RTCRtpCodecParameters) : NSObject
37
+
38
+ /** The RTP payload type. */
39
+ @property(nonatomic, assign) int payloadType;
40
+
41
+ /**
42
+ * The codec MIME subtype. Valid types are listed in:
43
+ * http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-2
44
+ *
45
+ * Several supported types are represented by the constants above.
46
+ */
47
+ @property(nonatomic, readonly, nonnull) NSString *name;
48
+
49
+ /**
50
+ * The media type of this codec. Equivalent to MIME top-level type.
51
+ *
52
+ * Valid values are kRTCMediaStreamTrackKindAudio and
53
+ * kRTCMediaStreamTrackKindVideo.
54
+ */
55
+ @property(nonatomic, readonly, nonnull) NSString *kind;
56
+
57
+ /** The codec clock rate expressed in Hertz. */
58
+ @property(nonatomic, readonly, nullable) NSNumber *clockRate;
59
+
60
+ /**
61
+ * The number of channels (mono=1, stereo=2).
62
+ * Set to null for video codecs.
63
+ **/
64
+ @property(nonatomic, readonly, nullable) NSNumber *numChannels;
65
+
66
+ /** The "format specific parameters" field from the "a=fmtp" line in the SDP */
67
+ @property(nonatomic, readonly, nonnull) NSDictionary *parameters;
68
+
69
+ - (instancetype)init;
70
+
71
+ @end
72
+
73
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,76 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ NS_ASSUME_NONNULL_BEGIN
16
+
17
+ /** Corresponds to webrtc::Priority. */
18
+ typedef NS_ENUM(NSInteger, RTCPriority) {
19
+ RTCPriorityVeryLow,
20
+ RTCPriorityLow,
21
+ RTCPriorityMedium,
22
+ RTCPriorityHigh
23
+ };
24
+
25
+ RTC_OBJC_EXPORT
26
+ @interface RTC_OBJC_TYPE (RTCRtpEncodingParameters) : NSObject
27
+
28
+ /** The idenfifier for the encoding layer. This is used in simulcast. */
29
+ @property(nonatomic, copy, nullable) NSString *rid;
30
+
31
+ /** Controls whether the encoding is currently transmitted. */
32
+ @property(nonatomic, assign) BOOL isActive;
33
+
34
+ /** The maximum bitrate to use for the encoding, or nil if there is no
35
+ * limit.
36
+ */
37
+ @property(nonatomic, copy, nullable) NSNumber *maxBitrateBps;
38
+
39
+ /** The minimum bitrate to use for the encoding, or nil if there is no
40
+ * limit.
41
+ */
42
+ @property(nonatomic, copy, nullable) NSNumber *minBitrateBps;
43
+
44
+ /** The maximum framerate to use for the encoding, or nil if there is no
45
+ * limit.
46
+ */
47
+ @property(nonatomic, copy, nullable) NSNumber *maxFramerate;
48
+
49
+ /** The requested number of temporal layers to use for the encoding, or nil
50
+ * if the default should be used.
51
+ */
52
+ @property(nonatomic, copy, nullable) NSNumber *numTemporalLayers;
53
+
54
+ /** Scale the width and height down by this factor for video. If nil,
55
+ * implementation default scaling factor will be used.
56
+ */
57
+ @property(nonatomic, copy, nullable) NSNumber *scaleResolutionDownBy;
58
+
59
+ /** The SSRC being used by this encoding. */
60
+ @property(nonatomic, readonly, nullable) NSNumber *ssrc;
61
+
62
+ /** The relative bitrate priority. */
63
+ @property(nonatomic, assign) double bitratePriority;
64
+
65
+ /** The relative DiffServ Code Point priority. */
66
+ @property(nonatomic, assign) RTCPriority networkPriority;
67
+
68
+ /** Allow dynamic frame length changes for audio:
69
+ https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-adaptiveptime */
70
+ @property(nonatomic, assign) BOOL adaptiveAudioPacketTime;
71
+
72
+ - (instancetype)init;
73
+
74
+ @end
75
+
76
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright 2018 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ NS_ASSUME_NONNULL_BEGIN
16
+
17
+ RTC_OBJC_EXPORT
18
+ @interface RTC_OBJC_TYPE (RTCRtpHeaderExtension) : NSObject
19
+
20
+ /** The URI of the RTP header extension, as defined in RFC5285. */
21
+ @property(nonatomic, readonly, copy) NSString *uri;
22
+
23
+ /** The value put in the RTP packet to identify the header extension. */
24
+ @property(nonatomic, readonly) int id;
25
+
26
+ /** Whether the header extension is encrypted or not. */
27
+ @property(nonatomic, readonly, getter=isEncrypted) BOOL encrypted;
28
+
29
+ - (instancetype)init;
30
+
31
+ @end
32
+
33
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+ #import <WebRTC/RTCRtcpParameters.h>
15
+ #import <WebRTC/RTCRtpCodecParameters.h>
16
+ #import <WebRTC/RTCRtpEncodingParameters.h>
17
+ #import <WebRTC/RTCRtpHeaderExtension.h>
18
+
19
+ NS_ASSUME_NONNULL_BEGIN
20
+
21
+ /** Corresponds to webrtc::DegradationPreference. */
22
+ typedef NS_ENUM(NSInteger, RTCDegradationPreference) {
23
+ RTCDegradationPreferenceDisabled,
24
+ RTCDegradationPreferenceMaintainFramerate,
25
+ RTCDegradationPreferenceMaintainResolution,
26
+ RTCDegradationPreferenceBalanced
27
+ };
28
+
29
+ RTC_OBJC_EXPORT
30
+ @interface RTC_OBJC_TYPE (RTCRtpParameters) : NSObject
31
+
32
+ /** A unique identifier for the last set of parameters applied. */
33
+ @property(nonatomic, copy) NSString *transactionId;
34
+
35
+ /** Parameters used for RTCP. */
36
+ @property(nonatomic, readonly, copy) RTC_OBJC_TYPE(RTCRtcpParameters) * rtcp;
37
+
38
+ /** An array containing parameters for RTP header extensions. */
39
+ @property(nonatomic, readonly, copy)
40
+ NSArray<RTC_OBJC_TYPE(RTCRtpHeaderExtension) *> *headerExtensions;
41
+
42
+ /** The currently active encodings in the order of preference. */
43
+ @property(nonatomic, copy) NSArray<RTC_OBJC_TYPE(RTCRtpEncodingParameters) *> *encodings;
44
+
45
+ /** The negotiated set of send codecs in order of preference. */
46
+ @property(nonatomic, copy) NSArray<RTC_OBJC_TYPE(RTCRtpCodecParameters) *> *codecs;
47
+
48
+ /**
49
+ * Degradation preference in case of CPU adaptation or constrained bandwidth.
50
+ * If nil, implementation default degradation preference will be used.
51
+ */
52
+ @property(nonatomic, copy, nullable) NSNumber *degradationPreference;
53
+
54
+ - (instancetype)init;
55
+
56
+ @end
57
+
58
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,86 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+ #import <WebRTC/RTCMediaStreamTrack.h>
15
+ #import <WebRTC/RTCRtpParameters.h>
16
+
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
19
+ /** Represents the media type of the RtpReceiver. */
20
+ typedef NS_ENUM(NSInteger, RTCRtpMediaType) {
21
+ RTCRtpMediaTypeAudio,
22
+ RTCRtpMediaTypeVideo,
23
+ RTCRtpMediaTypeData,
24
+ RTCRtpMediaTypeUnsupported,
25
+ };
26
+
27
+ @class RTC_OBJC_TYPE(RTCRtpReceiver);
28
+
29
+ RTC_OBJC_EXPORT
30
+ @protocol RTC_OBJC_TYPE
31
+ (RTCRtpReceiverDelegate)<NSObject>
32
+
33
+ /** Called when the first RTP packet is received.
34
+ *
35
+ * Note: Currently if there are multiple RtpReceivers of the same media type,
36
+ * they will all call OnFirstPacketReceived at once.
37
+ *
38
+ * For example, if we create three audio receivers, A/B/C, they will listen to
39
+ * the same signal from the underneath network layer. Whenever the first audio packet
40
+ * is received, the underneath signal will be fired. All the receivers A/B/C will be
41
+ * notified and the callback of the receiver's delegate will be called.
42
+ *
43
+ * The process is the same for video receivers.
44
+ */
45
+ - (void)rtpReceiver
46
+ : (RTC_OBJC_TYPE(RTCRtpReceiver) *)rtpReceiver didReceiveFirstPacketForMediaType
47
+ : (RTCRtpMediaType)mediaType;
48
+
49
+ @end
50
+
51
+ RTC_OBJC_EXPORT
52
+ @protocol RTC_OBJC_TYPE
53
+ (RTCRtpReceiver)<NSObject>
54
+
55
+ /** A unique identifier for this receiver. */
56
+ @property(nonatomic, readonly) NSString *receiverId;
57
+
58
+ /** The currently active RTCRtpParameters, as defined in
59
+ * https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters.
60
+ *
61
+ * The WebRTC specification only defines RTCRtpParameters in terms of senders,
62
+ * but this API also applies them to receivers, similar to ORTC:
63
+ * http://ortc.org/wp-content/uploads/2016/03/ortc.html#rtcrtpparameters*.
64
+ */
65
+ @property(nonatomic, readonly) RTC_OBJC_TYPE(RTCRtpParameters) * parameters;
66
+
67
+ /** The RTCMediaStreamTrack associated with the receiver.
68
+ * Note: reading this property returns a new instance of
69
+ * RTCMediaStreamTrack. Use isEqual: instead of == to compare
70
+ * RTCMediaStreamTrack instances.
71
+ */
72
+ @property(nonatomic, readonly, nullable) RTC_OBJC_TYPE(RTCMediaStreamTrack) * track;
73
+
74
+ /** The delegate for this RtpReceiver. */
75
+ @property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCRtpReceiverDelegate)> delegate;
76
+
77
+ @end
78
+
79
+ RTC_OBJC_EXPORT
80
+ @interface RTC_OBJC_TYPE (RTCRtpReceiver) : NSObject <RTC_OBJC_TYPE(RTCRtpReceiver)>
81
+
82
+ - (instancetype)init NS_UNAVAILABLE;
83
+
84
+ @end
85
+
86
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,54 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCDtmfSender.h>
14
+ #import <WebRTC/RTCMacros.h>
15
+ #import <WebRTC/RTCMediaStreamTrack.h>
16
+ #import <WebRTC/RTCRtpParameters.h>
17
+
18
+ NS_ASSUME_NONNULL_BEGIN
19
+
20
+ RTC_OBJC_EXPORT
21
+ @protocol RTC_OBJC_TYPE
22
+ (RTCRtpSender)<NSObject>
23
+
24
+ /** A unique identifier for this sender. */
25
+ @property(nonatomic, readonly) NSString *senderId;
26
+
27
+ /** The currently active RTCRtpParameters, as defined in
28
+ * https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters.
29
+ */
30
+ @property(nonatomic, copy) RTC_OBJC_TYPE(RTCRtpParameters) * parameters;
31
+
32
+ /** The RTCMediaStreamTrack associated with the sender.
33
+ * Note: reading this property returns a new instance of
34
+ * RTCMediaStreamTrack. Use isEqual: instead of == to compare
35
+ * RTCMediaStreamTrack instances.
36
+ */
37
+ @property(nonatomic, copy, nullable) RTC_OBJC_TYPE(RTCMediaStreamTrack) * track;
38
+
39
+ /** IDs of streams associated with the RTP sender */
40
+ @property(nonatomic, copy) NSArray<NSString *> *streamIds;
41
+
42
+ /** The RTCDtmfSender accociated with the RTP sender. */
43
+ @property(nonatomic, readonly, nullable) id<RTC_OBJC_TYPE(RTCDtmfSender)> dtmfSender;
44
+
45
+ @end
46
+
47
+ RTC_OBJC_EXPORT
48
+ @interface RTC_OBJC_TYPE (RTCRtpSender) : NSObject <RTC_OBJC_TYPE(RTCRtpSender)>
49
+
50
+ - (instancetype)init NS_UNAVAILABLE;
51
+
52
+ @end
53
+
54
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,137 @@
1
+ /*
2
+ * Copyright 2018 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+ #import <WebRTC/RTCRtpReceiver.h>
15
+ #import <WebRTC/RTCRtpSender.h>
16
+
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
19
+ extern NSString *const kRTCRtpTransceiverErrorDomain;
20
+
21
+ /** https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiverdirection */
22
+ typedef NS_ENUM(NSInteger, RTCRtpTransceiverDirection) {
23
+ RTCRtpTransceiverDirectionSendRecv,
24
+ RTCRtpTransceiverDirectionSendOnly,
25
+ RTCRtpTransceiverDirectionRecvOnly,
26
+ RTCRtpTransceiverDirectionInactive,
27
+ RTCRtpTransceiverDirectionStopped
28
+ };
29
+
30
+ /** Structure for initializing an RTCRtpTransceiver in a call to
31
+ * RTCPeerConnection.addTransceiver.
32
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiverinit
33
+ */
34
+ RTC_OBJC_EXPORT
35
+ @interface RTC_OBJC_TYPE (RTCRtpTransceiverInit) : NSObject
36
+
37
+ /** Direction of the RTCRtpTransceiver. See RTCRtpTransceiver.direction. */
38
+ @property(nonatomic) RTCRtpTransceiverDirection direction;
39
+
40
+ /** The added RTCRtpTransceiver will be added to these streams. */
41
+ @property(nonatomic) NSArray<NSString *> *streamIds;
42
+
43
+ /** TODO(bugs.webrtc.org/7600): Not implemented. */
44
+ @property(nonatomic) NSArray<RTC_OBJC_TYPE(RTCRtpEncodingParameters) *> *sendEncodings;
45
+
46
+ @end
47
+
48
+ @class RTC_OBJC_TYPE(RTCRtpTransceiver);
49
+
50
+ /** The RTCRtpTransceiver maps to the RTCRtpTransceiver defined by the
51
+ * WebRTC specification. A transceiver represents a combination of an RTCRtpSender
52
+ * and an RTCRtpReceiver that share a common mid. As defined in JSEP, an
53
+ * RTCRtpTransceiver is said to be associated with a media description if its
54
+ * mid property is non-nil; otherwise, it is said to be disassociated.
55
+ * JSEP: https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-24
56
+ *
57
+ * Note that RTCRtpTransceivers are only supported when using
58
+ * RTCPeerConnection with Unified Plan SDP.
59
+ *
60
+ * WebRTC specification for RTCRtpTransceiver, the JavaScript analog:
61
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver
62
+ */
63
+ RTC_OBJC_EXPORT
64
+ @protocol RTC_OBJC_TYPE
65
+ (RTCRtpTransceiver)<NSObject>
66
+
67
+ /** Media type of the transceiver. The sender and receiver will also have this
68
+ * type.
69
+ */
70
+ @property(nonatomic, readonly) RTCRtpMediaType mediaType;
71
+
72
+ /** The mid attribute is the mid negotiated and present in the local and
73
+ * remote descriptions. Before negotiation is complete, the mid value may be
74
+ * nil. After rollbacks, the value may change from a non-nil value to nil.
75
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-mid
76
+ */
77
+ @property(nonatomic, readonly) NSString *mid;
78
+
79
+ /** The sender attribute exposes the RTCRtpSender corresponding to the RTP
80
+ * media that may be sent with the transceiver's mid. The sender is always
81
+ * present, regardless of the direction of media.
82
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-sender
83
+ */
84
+ @property(nonatomic, readonly) RTC_OBJC_TYPE(RTCRtpSender) * sender;
85
+
86
+ /** The receiver attribute exposes the RTCRtpReceiver corresponding to the RTP
87
+ * media that may be received with the transceiver's mid. The receiver is
88
+ * always present, regardless of the direction of media.
89
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-receiver
90
+ */
91
+ @property(nonatomic, readonly) RTC_OBJC_TYPE(RTCRtpReceiver) * receiver;
92
+
93
+ /** The isStopped attribute indicates that the sender of this transceiver will
94
+ * no longer send, and that the receiver will no longer receive. It is true if
95
+ * either stop has been called or if setting the local or remote description
96
+ * has caused the RTCRtpTransceiver to be stopped.
97
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-stopped
98
+ */
99
+ @property(nonatomic, readonly) BOOL isStopped;
100
+
101
+ /** The direction attribute indicates the preferred direction of this
102
+ * transceiver, which will be used in calls to createOffer and createAnswer.
103
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction
104
+ */
105
+ @property(nonatomic, readonly) RTCRtpTransceiverDirection direction;
106
+
107
+ /** The currentDirection attribute indicates the current direction negotiated
108
+ * for this transceiver. If this transceiver has never been represented in an
109
+ * offer/answer exchange, or if the transceiver is stopped, the value is not
110
+ * present and this method returns NO.
111
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-currentdirection
112
+ */
113
+ - (BOOL)currentDirection:(RTCRtpTransceiverDirection *)currentDirectionOut;
114
+
115
+ /** The stop method irreversibly stops the RTCRtpTransceiver. The sender of
116
+ * this transceiver will no longer send, the receiver will no longer receive.
117
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-stop
118
+ */
119
+ - (void)stopInternal;
120
+
121
+ /** An update of directionality does not take effect immediately. Instead,
122
+ * future calls to createOffer and createAnswer mark the corresponding media
123
+ * descriptions as sendrecv, sendonly, recvonly, or inactive.
124
+ * https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction
125
+ */
126
+ - (void)setDirection:(RTCRtpTransceiverDirection)direction error:(NSError **)error;
127
+
128
+ @end
129
+
130
+ RTC_OBJC_EXPORT
131
+ @interface RTC_OBJC_TYPE (RTCRtpTransceiver) : NSObject <RTC_OBJC_TYPE(RTCRtpTransceiver)>
132
+
133
+ - (instancetype)init NS_UNAVAILABLE;
134
+
135
+ @end
136
+
137
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,20 @@
1
+ /*
2
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ /**
16
+ * Initialize and clean up the SSL library. Failure is fatal. These call the
17
+ * corresponding functions in webrtc/rtc_base/ssladapter.h.
18
+ */
19
+ RTC_EXTERN BOOL RTCInitializeSSL(void);
20
+ RTC_EXTERN BOOL RTCCleanupSSL(void);
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Copyright 2022 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ NS_ASSUME_NONNULL_BEGIN
16
+
17
+ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
18
+ (RTCSSLCertificateVerifier)<NSObject>
19
+
20
+ /** The certificate to verify */
21
+ - (BOOL)verify : (NSData *)derCertificate;
22
+
23
+ @end
24
+
25
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ /**
16
+ * Represents the session description type. This exposes the same types that are
17
+ * in C++, which doesn't include the rollback type that is in the W3C spec.
18
+ */
19
+ typedef NS_ENUM(NSInteger, RTCSdpType) {
20
+ RTCSdpTypeOffer,
21
+ RTCSdpTypePrAnswer,
22
+ RTCSdpTypeAnswer,
23
+ RTCSdpTypeRollback,
24
+ };
25
+
26
+ NS_ASSUME_NONNULL_BEGIN
27
+
28
+ RTC_OBJC_EXPORT
29
+ @interface RTC_OBJC_TYPE (RTCSessionDescription) : NSObject
30
+
31
+ /** The type of session description. */
32
+ @property(nonatomic, readonly) RTCSdpType type;
33
+
34
+ /** The SDP string representation of this session description. */
35
+ @property(nonatomic, readonly) NSString *sdp;
36
+
37
+ - (instancetype)init NS_UNAVAILABLE;
38
+
39
+ /** Initialize a session description with a type and SDP string. */
40
+ - (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp NS_DESIGNATED_INITIALIZER;
41
+
42
+ + (NSString *)stringForType:(RTCSdpType)type;
43
+
44
+ + (RTCSdpType)typeForString:(NSString *)string;
45
+
46
+ @end
47
+
48
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Copyright 2019 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #import <Foundation/Foundation.h>
12
+
13
+ #import <WebRTC/RTCMacros.h>
14
+
15
+ @class RTC_OBJC_TYPE(RTCStatistics);
16
+
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
19
+ /** A statistics report. Encapsulates a number of RTCStatistics objects. */
20
+ RTC_OBJC_EXPORT
21
+ @interface RTC_OBJC_TYPE (RTCStatisticsReport) : NSObject
22
+
23
+ /** The timestamp of the report in microseconds since 1970-01-01T00:00:00Z. */
24
+ @property(nonatomic, readonly) CFTimeInterval timestamp_us;
25
+
26
+ /** RTCStatistics objects by id. */
27
+ @property(nonatomic, readonly) NSDictionary<NSString *, RTC_OBJC_TYPE(RTCStatistics) *> *statistics;
28
+
29
+ - (instancetype)init NS_UNAVAILABLE;
30
+
31
+ @end
32
+
33
+ /** A part of a report (a subreport) covering a certain area. */
34
+ RTC_OBJC_EXPORT
35
+ @interface RTC_OBJC_TYPE (RTCStatistics) : NSObject
36
+
37
+ /** The id of this subreport, e.g. "RTCMediaStreamTrack_receiver_2". */
38
+ @property(nonatomic, readonly) NSString *id;
39
+
40
+ /** The timestamp of the subreport in microseconds since 1970-01-01T00:00:00Z. */
41
+ @property(nonatomic, readonly) CFTimeInterval timestamp_us;
42
+
43
+ /** The type of the subreport, e.g. "track", "codec". */
44
+ @property(nonatomic, readonly) NSString *type;
45
+
46
+ /** The keys and values of the subreport, e.g. "totalFramesDuration = 5.551".
47
+ The values are either NSNumbers or NSStrings or NSArrays encapsulating NSNumbers
48
+ or NSStrings, or NSDictionary of NSString keys to NSNumber values. */
49
+ @property(nonatomic, readonly) NSDictionary<NSString *, NSObject *> *values;
50
+
51
+ - (instancetype)init NS_UNAVAILABLE;
52
+
53
+ @end
54
+
55
+ NS_ASSUME_NONNULL_END