@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.
- package/WebRTC.framework/Headers/RTCAudioSource.h +32 -0
- package/WebRTC.framework/Headers/RTCAudioTrack.h +28 -0
- package/WebRTC.framework/Headers/RTCCVPixelBuffer.h +52 -0
- package/WebRTC.framework/Headers/RTCCallbackLogger.h +41 -0
- package/WebRTC.framework/Headers/RTCCameraVideoCapturer.h +56 -0
- package/WebRTC.framework/Headers/RTCCertificate.h +44 -0
- package/WebRTC.framework/Headers/RTCCodecSpecificInfo.h +24 -0
- package/WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h +27 -0
- package/WebRTC.framework/Headers/RTCConfiguration.h +262 -0
- package/WebRTC.framework/Headers/RTCCryptoOptions.h +63 -0
- package/WebRTC.framework/Headers/RTCDataChannel.h +132 -0
- package/WebRTC.framework/Headers/RTCDataChannelConfiguration.h +52 -0
- package/WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
- package/WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
- package/WebRTC.framework/Headers/RTCDispatcher.h +46 -0
- package/WebRTC.framework/Headers/RTCDtmfSender.h +71 -0
- package/WebRTC.framework/Headers/RTCEncodedImage.h +52 -0
- package/WebRTC.framework/Headers/RTCFieldTrials.h +30 -0
- package/WebRTC.framework/Headers/RTCFileLogger.h +74 -0
- package/WebRTC.framework/Headers/RTCFileVideoCapturer.h +51 -0
- package/WebRTC.framework/Headers/RTCH264ProfileLevelId.h +60 -0
- package/WebRTC.framework/Headers/RTCI420Buffer.h +22 -0
- package/WebRTC.framework/Headers/RTCIceCandidate.h +49 -0
- package/WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h +42 -0
- package/WebRTC.framework/Headers/RTCIceServer.h +114 -0
- package/WebRTC.framework/Headers/RTCLegacyStatsReport.h +37 -0
- package/WebRTC.framework/Headers/RTCLogging.h +66 -0
- package/WebRTC.framework/Headers/RTCMTLNSVideoView.h +22 -0
- package/WebRTC.framework/Headers/RTCMacros.h +63 -0
- package/WebRTC.framework/Headers/RTCMediaConstraints.h +46 -0
- package/WebRTC.framework/Headers/RTCMediaSource.h +34 -0
- package/WebRTC.framework/Headers/RTCMediaStream.h +49 -0
- package/WebRTC.framework/Headers/RTCMediaStreamTrack.h +50 -0
- package/WebRTC.framework/Headers/RTCMetrics.h +23 -0
- package/WebRTC.framework/Headers/RTCMetricsSampleInfo.h +48 -0
- package/WebRTC.framework/Headers/RTCMutableI420Buffer.h +23 -0
- package/WebRTC.framework/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
- package/WebRTC.framework/Headers/RTCNativeI420Buffer.h +23 -0
- package/WebRTC.framework/Headers/RTCNativeMutableI420Buffer.h +24 -0
- package/WebRTC.framework/Headers/RTCPeerConnection.h +397 -0
- package/WebRTC.framework/Headers/RTCPeerConnectionFactory.h +113 -0
- package/WebRTC.framework/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
- package/WebRTC.framework/Headers/RTCRtcpParameters.h +30 -0
- package/WebRTC.framework/Headers/RTCRtpCodecParameters.h +73 -0
- package/WebRTC.framework/Headers/RTCRtpEncodingParameters.h +76 -0
- package/WebRTC.framework/Headers/RTCRtpHeaderExtension.h +33 -0
- package/WebRTC.framework/Headers/RTCRtpParameters.h +58 -0
- package/WebRTC.framework/Headers/RTCRtpReceiver.h +86 -0
- package/WebRTC.framework/Headers/RTCRtpSender.h +54 -0
- package/WebRTC.framework/Headers/RTCRtpTransceiver.h +137 -0
- package/WebRTC.framework/Headers/RTCSSLAdapter.h +20 -0
- package/WebRTC.framework/Headers/RTCSSLCertificateVerifier.h +25 -0
- package/WebRTC.framework/Headers/RTCSessionDescription.h +48 -0
- package/WebRTC.framework/Headers/RTCStatisticsReport.h +55 -0
- package/WebRTC.framework/Headers/RTCTracing.h +21 -0
- package/WebRTC.framework/Headers/RTCVideoCapturer.h +35 -0
- package/WebRTC.framework/Headers/RTCVideoCodecInfo.h +36 -0
- package/WebRTC.framework/Headers/RTCVideoDecoder.h +41 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderAV1.h +25 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderFactory.h +32 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderFactoryH264.h +18 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderH264.h +18 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderVP8.h +25 -0
- package/WebRTC.framework/Headers/RTCVideoDecoderVP9.h +27 -0
- package/WebRTC.framework/Headers/RTCVideoEncoder.h +59 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderAV1.h +27 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderFactory.h +52 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderFactoryH264.h +18 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderH264.h +22 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderQpThresholds.h +28 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderSettings.h +42 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderVP8.h +25 -0
- package/WebRTC.framework/Headers/RTCVideoEncoderVP9.h +27 -0
- package/WebRTC.framework/Headers/RTCVideoFrame.h +86 -0
- package/WebRTC.framework/Headers/RTCVideoFrameBuffer.h +40 -0
- package/WebRTC.framework/Headers/RTCVideoRenderer.h +43 -0
- package/WebRTC.framework/Headers/RTCVideoSource.h +37 -0
- package/WebRTC.framework/Headers/RTCVideoTrack.h +38 -0
- package/WebRTC.framework/Headers/RTCVideoViewShading.h +39 -0
- package/WebRTC.framework/Headers/RTCYUVPlanarBuffer.h +46 -0
- package/WebRTC.framework/Headers/WebRTC.h +90 -0
- package/WebRTC.framework/Modules/module.modulemap +6 -0
- package/WebRTC.framework/Resources/Info.plist +36 -0
- package/WebRTC.framework/Versions/A/Headers/RTCAudioSource.h +32 -0
- package/WebRTC.framework/Versions/A/Headers/RTCAudioTrack.h +28 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCVPixelBuffer.h +52 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCallbackLogger.h +41 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCameraVideoCapturer.h +56 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCertificate.h +44 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCodecSpecificInfo.h +24 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCodecSpecificInfoH264.h +27 -0
- package/WebRTC.framework/Versions/A/Headers/RTCConfiguration.h +262 -0
- package/WebRTC.framework/Versions/A/Headers/RTCCryptoOptions.h +63 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDataChannel.h +132 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDataChannelConfiguration.h +52 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDispatcher.h +46 -0
- package/WebRTC.framework/Versions/A/Headers/RTCDtmfSender.h +71 -0
- package/WebRTC.framework/Versions/A/Headers/RTCEncodedImage.h +52 -0
- package/WebRTC.framework/Versions/A/Headers/RTCFieldTrials.h +30 -0
- package/WebRTC.framework/Versions/A/Headers/RTCFileLogger.h +74 -0
- package/WebRTC.framework/Versions/A/Headers/RTCFileVideoCapturer.h +51 -0
- package/WebRTC.framework/Versions/A/Headers/RTCH264ProfileLevelId.h +60 -0
- package/WebRTC.framework/Versions/A/Headers/RTCI420Buffer.h +22 -0
- package/WebRTC.framework/Versions/A/Headers/RTCIceCandidate.h +49 -0
- package/WebRTC.framework/Versions/A/Headers/RTCIceCandidateErrorEvent.h +42 -0
- package/WebRTC.framework/Versions/A/Headers/RTCIceServer.h +114 -0
- package/WebRTC.framework/Versions/A/Headers/RTCLegacyStatsReport.h +37 -0
- package/WebRTC.framework/Versions/A/Headers/RTCLogging.h +66 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMTLNSVideoView.h +22 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMacros.h +63 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMediaConstraints.h +46 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMediaSource.h +34 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMediaStream.h +49 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMediaStreamTrack.h +50 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMetrics.h +23 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMetricsSampleInfo.h +48 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMutableI420Buffer.h +23 -0
- package/WebRTC.framework/Versions/A/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
- package/WebRTC.framework/Versions/A/Headers/RTCNativeI420Buffer.h +23 -0
- package/WebRTC.framework/Versions/A/Headers/RTCNativeMutableI420Buffer.h +24 -0
- package/WebRTC.framework/Versions/A/Headers/RTCPeerConnection.h +397 -0
- package/WebRTC.framework/Versions/A/Headers/RTCPeerConnectionFactory.h +113 -0
- package/WebRTC.framework/Versions/A/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtcpParameters.h +30 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpCodecParameters.h +73 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpEncodingParameters.h +76 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpHeaderExtension.h +33 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpParameters.h +58 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpReceiver.h +86 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpSender.h +54 -0
- package/WebRTC.framework/Versions/A/Headers/RTCRtpTransceiver.h +137 -0
- package/WebRTC.framework/Versions/A/Headers/RTCSSLAdapter.h +20 -0
- package/WebRTC.framework/Versions/A/Headers/RTCSSLCertificateVerifier.h +25 -0
- package/WebRTC.framework/Versions/A/Headers/RTCSessionDescription.h +48 -0
- package/WebRTC.framework/Versions/A/Headers/RTCStatisticsReport.h +55 -0
- package/WebRTC.framework/Versions/A/Headers/RTCTracing.h +21 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoCapturer.h +35 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoCodecInfo.h +36 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoder.h +41 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderAV1.h +25 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderFactory.h +32 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderFactoryH264.h +18 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderH264.h +18 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderVP8.h +25 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoDecoderVP9.h +27 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoder.h +59 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderAV1.h +27 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderFactory.h +52 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderFactoryH264.h +18 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderH264.h +22 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderQpThresholds.h +28 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderSettings.h +42 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderVP8.h +25 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoEncoderVP9.h +27 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoFrame.h +86 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoFrameBuffer.h +40 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoRenderer.h +43 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoSource.h +37 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoTrack.h +38 -0
- package/WebRTC.framework/Versions/A/Headers/RTCVideoViewShading.h +39 -0
- package/WebRTC.framework/Versions/A/Headers/RTCYUVPlanarBuffer.h +46 -0
- package/WebRTC.framework/Versions/A/Headers/WebRTC.h +90 -0
- package/WebRTC.framework/Versions/A/Modules/module.modulemap +6 -0
- package/WebRTC.framework/Versions/A/Resources/Info.plist +36 -0
- package/WebRTC.framework/Versions/A/WebRTC +0 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCAudioSource.h +32 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCAudioTrack.h +28 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCVPixelBuffer.h +52 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCallbackLogger.h +41 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCameraVideoCapturer.h +56 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCertificate.h +44 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCodecSpecificInfo.h +24 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCodecSpecificInfoH264.h +27 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCConfiguration.h +262 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCCryptoOptions.h +63 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDataChannel.h +132 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDataChannelConfiguration.h +52 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDefaultVideoDecoderFactory.h +26 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDefaultVideoEncoderFactory.h +31 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDispatcher.h +46 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCDtmfSender.h +71 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCEncodedImage.h +52 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCFieldTrials.h +30 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCFileLogger.h +74 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCFileVideoCapturer.h +51 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCH264ProfileLevelId.h +60 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCI420Buffer.h +22 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCIceCandidate.h +49 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCIceCandidateErrorEvent.h +42 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCIceServer.h +114 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCLegacyStatsReport.h +37 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCLogging.h +66 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMTLNSVideoView.h +22 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMacros.h +63 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMediaConstraints.h +46 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMediaSource.h +34 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMediaStream.h +49 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMediaStreamTrack.h +50 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMetrics.h +23 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMetricsSampleInfo.h +48 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMutableI420Buffer.h +23 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCMutableYUVPlanarBuffer.h +28 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCNativeI420Buffer.h +23 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCNativeMutableI420Buffer.h +24 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnection.h +397 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnectionFactory.h +113 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCPeerConnectionFactoryOptions.h +38 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtcpParameters.h +30 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpCodecParameters.h +73 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpEncodingParameters.h +76 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpHeaderExtension.h +33 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpParameters.h +58 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpReceiver.h +86 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpSender.h +54 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCRtpTransceiver.h +137 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCSSLAdapter.h +20 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCSSLCertificateVerifier.h +25 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCSessionDescription.h +48 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCStatisticsReport.h +55 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCTracing.h +21 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoCapturer.h +35 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoCodecInfo.h +36 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoder.h +41 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderAV1.h +25 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderFactory.h +32 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderFactoryH264.h +18 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderH264.h +18 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderVP8.h +25 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoDecoderVP9.h +27 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoder.h +59 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderAV1.h +27 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderFactory.h +52 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderFactoryH264.h +18 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderH264.h +22 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderQpThresholds.h +28 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderSettings.h +42 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderVP8.h +25 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoEncoderVP9.h +27 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoFrame.h +86 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoFrameBuffer.h +40 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoRenderer.h +43 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoSource.h +37 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoTrack.h +38 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCVideoViewShading.h +39 -0
- package/WebRTC.framework/Versions/Current/Headers/RTCYUVPlanarBuffer.h +46 -0
- package/WebRTC.framework/Versions/Current/Headers/WebRTC.h +90 -0
- package/WebRTC.framework/Versions/Current/Modules/module.modulemap +6 -0
- package/WebRTC.framework/Versions/Current/Resources/Info.plist +36 -0
- package/WebRTC.framework/Versions/Current/WebRTC +0 -0
- package/WebRTC.framework/WebRTC +0 -0
- package/binding.gyp +16 -0
- package/desktop_sdk_macos.framework/Headers/desktop_sdk_macos-Swift.h +606 -0
- package/desktop_sdk_macos.framework/Headers/desktop_sdk_macos.h +18 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Modules/module.modulemap +11 -0
- package/desktop_sdk_macos.framework/Resources/Info.plist +46 -0
- package/desktop_sdk_macos.framework/Versions/A/Headers/desktop_sdk_macos-Swift.h +606 -0
- package/desktop_sdk_macos.framework/Versions/A/Headers/desktop_sdk_macos.h +18 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Versions/A/Modules/module.modulemap +11 -0
- package/desktop_sdk_macos.framework/Versions/A/Resources/Info.plist +46 -0
- package/desktop_sdk_macos.framework/Versions/A/desktop_sdk_macos +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Headers/desktop_sdk_macos-Swift.h +606 -0
- package/desktop_sdk_macos.framework/Versions/Current/Headers/desktop_sdk_macos.h +18 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.abi.json +7423 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.private.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftinterface +216 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/desktop_sdk_macos.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/desktop_sdk_macos.framework/Versions/Current/Modules/module.modulemap +11 -0
- package/desktop_sdk_macos.framework/Versions/Current/Resources/Info.plist +46 -0
- package/desktop_sdk_macos.framework/Versions/Current/desktop_sdk_macos +0 -0
- package/desktop_sdk_macos.framework/desktop_sdk_macos +0 -0
- package/index.d.ts +9 -0
- package/index.js +14 -0
- package/package.json +9 -0
- package/src/RecallAiDesktopSdk.h +2 -0
- package/src/main.cc +47 -0
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
RTC_OBJC_EXPORT
|
|
18
|
+
@interface RTC_OBJC_TYPE (RTCIceCandidate) : NSObject
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* If present, the identifier of the "media stream identification" for the media
|
|
22
|
+
* component this candidate is associated with.
|
|
23
|
+
*/
|
|
24
|
+
@property(nonatomic, readonly, nullable) NSString *sdpMid;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The index (starting at zero) of the media description this candidate is
|
|
28
|
+
* associated with in the SDP.
|
|
29
|
+
*/
|
|
30
|
+
@property(nonatomic, readonly) int sdpMLineIndex;
|
|
31
|
+
|
|
32
|
+
/** The SDP string for this candidate. */
|
|
33
|
+
@property(nonatomic, readonly) NSString *sdp;
|
|
34
|
+
|
|
35
|
+
/** The URL of the ICE server which this candidate is gathered from. */
|
|
36
|
+
@property(nonatomic, readonly, nullable) NSString *serverUrl;
|
|
37
|
+
|
|
38
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Initialize an RTCIceCandidate from SDP.
|
|
42
|
+
*/
|
|
43
|
+
- (instancetype)initWithSdp:(NSString *)sdp
|
|
44
|
+
sdpMLineIndex:(int)sdpMLineIndex
|
|
45
|
+
sdpMid:(nullable NSString *)sdpMid NS_DESIGNATED_INITIALIZER;
|
|
46
|
+
|
|
47
|
+
@end
|
|
48
|
+
|
|
49
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021 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 (RTCIceCandidateErrorEvent) : NSObject
|
|
19
|
+
|
|
20
|
+
/** The local IP address used to communicate with the STUN or TURN server. */
|
|
21
|
+
@property(nonatomic, readonly) NSString *address;
|
|
22
|
+
|
|
23
|
+
/** The port used to communicate with the STUN or TURN server. */
|
|
24
|
+
@property(nonatomic, readonly) int port;
|
|
25
|
+
|
|
26
|
+
/** The STUN or TURN URL that identifies the STUN or TURN server for which the failure occurred. */
|
|
27
|
+
@property(nonatomic, readonly) NSString *url;
|
|
28
|
+
|
|
29
|
+
/** The numeric STUN error code returned by the STUN or TURN server. If no host candidate can reach
|
|
30
|
+
* the server, errorCode will be set to the value 701 which is outside the STUN error code range.
|
|
31
|
+
* This error is only fired once per server URL while in the RTCIceGatheringState of "gathering". */
|
|
32
|
+
@property(nonatomic, readonly) int errorCode;
|
|
33
|
+
|
|
34
|
+
/** The STUN reason text returned by the STUN or TURN server. If the server could not be reached,
|
|
35
|
+
* errorText will be set to an implementation-specific value providing details about the error. */
|
|
36
|
+
@property(nonatomic, readonly) NSString *errorText;
|
|
37
|
+
|
|
38
|
+
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
39
|
+
|
|
40
|
+
@end
|
|
41
|
+
|
|
42
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
typedef NS_ENUM(NSUInteger, RTCTlsCertPolicy) {
|
|
16
|
+
RTCTlsCertPolicySecure,
|
|
17
|
+
RTCTlsCertPolicyInsecureNoCheck
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
+
|
|
22
|
+
RTC_OBJC_EXPORT
|
|
23
|
+
@interface RTC_OBJC_TYPE (RTCIceServer) : NSObject
|
|
24
|
+
|
|
25
|
+
/** URI(s) for this server represented as NSStrings. */
|
|
26
|
+
@property(nonatomic, readonly) NSArray<NSString *> *urlStrings;
|
|
27
|
+
|
|
28
|
+
/** Username to use if this RTCIceServer object is a TURN server. */
|
|
29
|
+
@property(nonatomic, readonly, nullable) NSString *username;
|
|
30
|
+
|
|
31
|
+
/** Credential to use if this RTCIceServer object is a TURN server. */
|
|
32
|
+
@property(nonatomic, readonly, nullable) NSString *credential;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* TLS certificate policy to use if this RTCIceServer object is a TURN server.
|
|
36
|
+
*/
|
|
37
|
+
@property(nonatomic, readonly) RTCTlsCertPolicy tlsCertPolicy;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
If the URIs in `urls` only contain IP addresses, this field can be used
|
|
41
|
+
to indicate the hostname, which may be necessary for TLS (using the SNI
|
|
42
|
+
extension). If `urls` itself contains the hostname, this isn't necessary.
|
|
43
|
+
*/
|
|
44
|
+
@property(nonatomic, readonly, nullable) NSString *hostname;
|
|
45
|
+
|
|
46
|
+
/** List of protocols to be used in the TLS ALPN extension. */
|
|
47
|
+
@property(nonatomic, readonly) NSArray<NSString *> *tlsAlpnProtocols;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
List elliptic curves to be used in the TLS elliptic curves extension.
|
|
51
|
+
Only curve names supported by OpenSSL should be used (eg. "P-256","X25519").
|
|
52
|
+
*/
|
|
53
|
+
@property(nonatomic, readonly) NSArray<NSString *> *tlsEllipticCurves;
|
|
54
|
+
|
|
55
|
+
- (nonnull instancetype)init NS_UNAVAILABLE;
|
|
56
|
+
|
|
57
|
+
/** Convenience initializer for a server with no authentication (e.g. STUN). */
|
|
58
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Initialize an RTCIceServer with its associated URLs, optional username,
|
|
62
|
+
* optional credential, and credentialType.
|
|
63
|
+
*/
|
|
64
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
|
65
|
+
username:(nullable NSString *)username
|
|
66
|
+
credential:(nullable NSString *)credential;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Initialize an RTCIceServer with its associated URLs, optional username,
|
|
70
|
+
* optional credential, and TLS cert policy.
|
|
71
|
+
*/
|
|
72
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
|
73
|
+
username:(nullable NSString *)username
|
|
74
|
+
credential:(nullable NSString *)credential
|
|
75
|
+
tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Initialize an RTCIceServer with its associated URLs, optional username,
|
|
79
|
+
* optional credential, TLS cert policy and hostname.
|
|
80
|
+
*/
|
|
81
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
|
82
|
+
username:(nullable NSString *)username
|
|
83
|
+
credential:(nullable NSString *)credential
|
|
84
|
+
tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy
|
|
85
|
+
hostname:(nullable NSString *)hostname;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Initialize an RTCIceServer with its associated URLs, optional username,
|
|
89
|
+
* optional credential, TLS cert policy, hostname and ALPN protocols.
|
|
90
|
+
*/
|
|
91
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
|
92
|
+
username:(nullable NSString *)username
|
|
93
|
+
credential:(nullable NSString *)credential
|
|
94
|
+
tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy
|
|
95
|
+
hostname:(nullable NSString *)hostname
|
|
96
|
+
tlsAlpnProtocols:(NSArray<NSString *> *)tlsAlpnProtocols;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Initialize an RTCIceServer with its associated URLs, optional username,
|
|
100
|
+
* optional credential, TLS cert policy, hostname, ALPN protocols and
|
|
101
|
+
* elliptic curves.
|
|
102
|
+
*/
|
|
103
|
+
- (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings
|
|
104
|
+
username:(nullable NSString *)username
|
|
105
|
+
credential:(nullable NSString *)credential
|
|
106
|
+
tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy
|
|
107
|
+
hostname:(nullable NSString *)hostname
|
|
108
|
+
tlsAlpnProtocols:(nullable NSArray<NSString *> *)tlsAlpnProtocols
|
|
109
|
+
tlsEllipticCurves:(nullable NSArray<NSString *> *)tlsEllipticCurves
|
|
110
|
+
NS_DESIGNATED_INITIALIZER;
|
|
111
|
+
|
|
112
|
+
@end
|
|
113
|
+
|
|
114
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/** This does not currently conform to the spec. */
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@interface RTC_OBJC_TYPE (RTCLegacyStatsReport) : NSObject
|
|
20
|
+
|
|
21
|
+
/** Time since 1970-01-01T00:00:00Z in milliseconds. */
|
|
22
|
+
@property(nonatomic, readonly) CFTimeInterval timestamp;
|
|
23
|
+
|
|
24
|
+
/** The type of stats held by this object. */
|
|
25
|
+
@property(nonatomic, readonly) NSString *type;
|
|
26
|
+
|
|
27
|
+
/** The identifier for this object. */
|
|
28
|
+
@property(nonatomic, readonly) NSString *reportId;
|
|
29
|
+
|
|
30
|
+
/** A dictionary holding the actual stats. */
|
|
31
|
+
@property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *values;
|
|
32
|
+
|
|
33
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
34
|
+
|
|
35
|
+
@end
|
|
36
|
+
|
|
37
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
// Subset of rtc::LoggingSeverity.
|
|
16
|
+
typedef NS_ENUM(NSInteger, RTCLoggingSeverity) {
|
|
17
|
+
RTCLoggingSeverityVerbose,
|
|
18
|
+
RTCLoggingSeverityInfo,
|
|
19
|
+
RTCLoggingSeverityWarning,
|
|
20
|
+
RTCLoggingSeverityError,
|
|
21
|
+
RTCLoggingSeverityNone,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
// Wrapper for C++ RTC_LOG(sev) macros.
|
|
25
|
+
// Logs the log string to the webrtc logstream for the given severity.
|
|
26
|
+
RTC_EXTERN void RTCLogEx(RTCLoggingSeverity severity, NSString* log_string);
|
|
27
|
+
|
|
28
|
+
// Wrapper for rtc::LogMessage::LogToDebug.
|
|
29
|
+
// Sets the minimum severity to be logged to console.
|
|
30
|
+
RTC_EXTERN void RTCSetMinDebugLogLevel(RTCLoggingSeverity severity);
|
|
31
|
+
|
|
32
|
+
// Returns the filename with the path prefix removed.
|
|
33
|
+
RTC_EXTERN NSString* RTCFileName(const char* filePath);
|
|
34
|
+
|
|
35
|
+
// Some convenience macros.
|
|
36
|
+
|
|
37
|
+
#define RTCLogString(format, ...) \
|
|
38
|
+
[NSString stringWithFormat:@"(%@:%d %s): " format, \
|
|
39
|
+
RTCFileName(__FILE__), \
|
|
40
|
+
__LINE__, \
|
|
41
|
+
__FUNCTION__, \
|
|
42
|
+
##__VA_ARGS__]
|
|
43
|
+
|
|
44
|
+
#define RTCLogFormat(severity, format, ...) \
|
|
45
|
+
do { \
|
|
46
|
+
NSString* log_string = RTCLogString(format, ##__VA_ARGS__); \
|
|
47
|
+
RTCLogEx(severity, log_string); \
|
|
48
|
+
} while (false)
|
|
49
|
+
|
|
50
|
+
#define RTCLogVerbose(format, ...) RTCLogFormat(RTCLoggingSeverityVerbose, format, ##__VA_ARGS__)
|
|
51
|
+
|
|
52
|
+
#define RTCLogInfo(format, ...) RTCLogFormat(RTCLoggingSeverityInfo, format, ##__VA_ARGS__)
|
|
53
|
+
|
|
54
|
+
#define RTCLogWarning(format, ...) RTCLogFormat(RTCLoggingSeverityWarning, format, ##__VA_ARGS__)
|
|
55
|
+
|
|
56
|
+
#define RTCLogError(format, ...) RTCLogFormat(RTCLoggingSeverityError, format, ##__VA_ARGS__)
|
|
57
|
+
|
|
58
|
+
#if !defined(NDEBUG)
|
|
59
|
+
#define RTCLogDebug(format, ...) RTCLogInfo(format, ##__VA_ARGS__)
|
|
60
|
+
#else
|
|
61
|
+
#define RTCLogDebug(format, ...) \
|
|
62
|
+
do { \
|
|
63
|
+
} while (false)
|
|
64
|
+
#endif
|
|
65
|
+
|
|
66
|
+
#define RTCLog(format, ...) RTCLogInfo(format, ##__VA_ARGS__)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2017 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 <AppKit/AppKit.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCVideoRenderer.h>
|
|
14
|
+
|
|
15
|
+
RTC_OBJC_EXPORT
|
|
16
|
+
@interface RTC_OBJC_TYPE (RTCMTLNSVideoView) : NSView <RTC_OBJC_TYPE(RTCVideoRenderer)>
|
|
17
|
+
|
|
18
|
+
@property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCVideoViewDelegate)> delegate;
|
|
19
|
+
|
|
20
|
+
+ (BOOL)isMetalAvailable;
|
|
21
|
+
|
|
22
|
+
@end
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
#ifndef SDK_OBJC_BASE_RTCMACROS_H_
|
|
12
|
+
#define SDK_OBJC_BASE_RTCMACROS_H_
|
|
13
|
+
|
|
14
|
+
#ifdef WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT
|
|
15
|
+
|
|
16
|
+
#if defined(WEBRTC_LIBRARY_IMPL)
|
|
17
|
+
#define RTC_OBJC_EXPORT __attribute__((visibility("default")))
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
#endif // WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT
|
|
21
|
+
|
|
22
|
+
#ifndef RTC_OBJC_EXPORT
|
|
23
|
+
#define RTC_OBJC_EXPORT
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
// Internal macros used to correctly concatenate symbols.
|
|
27
|
+
#define RTC_SYMBOL_CONCAT_HELPER(a, b) a##b
|
|
28
|
+
#define RTC_SYMBOL_CONCAT(a, b) RTC_SYMBOL_CONCAT_HELPER(a, b)
|
|
29
|
+
|
|
30
|
+
// RTC_OBJC_TYPE_PREFIX
|
|
31
|
+
//
|
|
32
|
+
// Macro used to prepend a prefix to the API types that are exported with
|
|
33
|
+
// RTC_OBJC_EXPORT.
|
|
34
|
+
//
|
|
35
|
+
// Clients can patch the definition of this macro locally and build
|
|
36
|
+
// WebRTC.framework with their own prefix in case symbol clashing is a
|
|
37
|
+
// problem.
|
|
38
|
+
//
|
|
39
|
+
// This macro must be defined uniformily across all the translation units.
|
|
40
|
+
#ifndef RTC_OBJC_TYPE_PREFIX
|
|
41
|
+
#define RTC_OBJC_TYPE_PREFIX
|
|
42
|
+
#endif
|
|
43
|
+
|
|
44
|
+
// RCT_OBJC_TYPE
|
|
45
|
+
//
|
|
46
|
+
// Macro used internally to declare API types. Declaring an API type without
|
|
47
|
+
// using this macro will not include the declared type in the set of types
|
|
48
|
+
// that will be affected by the configurable RTC_OBJC_TYPE_PREFIX.
|
|
49
|
+
#define RTC_OBJC_TYPE(type_name) RTC_SYMBOL_CONCAT(RTC_OBJC_TYPE_PREFIX, type_name)
|
|
50
|
+
|
|
51
|
+
#if defined(__cplusplus)
|
|
52
|
+
#define RTC_EXTERN extern "C" RTC_OBJC_EXPORT
|
|
53
|
+
#else
|
|
54
|
+
#define RTC_EXTERN extern RTC_OBJC_EXPORT
|
|
55
|
+
#endif
|
|
56
|
+
|
|
57
|
+
#ifdef __OBJC__
|
|
58
|
+
#define RTC_FWD_DECL_OBJC_CLASS(classname) @class classname
|
|
59
|
+
#else
|
|
60
|
+
#define RTC_FWD_DECL_OBJC_CLASS(classname) typedef struct objc_object classname
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#endif // SDK_OBJC_BASE_RTCMACROS_H_
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/** Constraint keys for media sources. */
|
|
18
|
+
/** The value for this key should be a base64 encoded string containing
|
|
19
|
+
* the data from the serialized configuration proto.
|
|
20
|
+
*/
|
|
21
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsAudioNetworkAdaptorConfig;
|
|
22
|
+
|
|
23
|
+
/** Constraint keys for generating offers and answers. */
|
|
24
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsIceRestart;
|
|
25
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsOfferToReceiveAudio;
|
|
26
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsOfferToReceiveVideo;
|
|
27
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsVoiceActivityDetection;
|
|
28
|
+
|
|
29
|
+
/** Constraint values for Boolean parameters. */
|
|
30
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsValueTrue;
|
|
31
|
+
RTC_EXTERN NSString *const kRTCMediaConstraintsValueFalse;
|
|
32
|
+
|
|
33
|
+
RTC_OBJC_EXPORT
|
|
34
|
+
@interface RTC_OBJC_TYPE (RTCMediaConstraints) : NSObject
|
|
35
|
+
|
|
36
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
37
|
+
|
|
38
|
+
/** Initialize with mandatory and/or optional constraints. */
|
|
39
|
+
- (instancetype)
|
|
40
|
+
initWithMandatoryConstraints:(nullable NSDictionary<NSString *, NSString *> *)mandatory
|
|
41
|
+
optionalConstraints:(nullable NSDictionary<NSString *, NSString *> *)optional
|
|
42
|
+
NS_DESIGNATED_INITIALIZER;
|
|
43
|
+
|
|
44
|
+
@end
|
|
45
|
+
|
|
46
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
typedef NS_ENUM(NSInteger, RTCSourceState) {
|
|
16
|
+
RTCSourceStateInitializing,
|
|
17
|
+
RTCSourceStateLive,
|
|
18
|
+
RTCSourceStateEnded,
|
|
19
|
+
RTCSourceStateMuted,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
23
|
+
|
|
24
|
+
RTC_OBJC_EXPORT
|
|
25
|
+
@interface RTC_OBJC_TYPE (RTCMediaSource) : NSObject
|
|
26
|
+
|
|
27
|
+
/** The current state of the RTCMediaSource. */
|
|
28
|
+
@property(nonatomic, readonly) RTCSourceState state;
|
|
29
|
+
|
|
30
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
31
|
+
|
|
32
|
+
@end
|
|
33
|
+
|
|
34
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
@class RTC_OBJC_TYPE(RTCAudioTrack);
|
|
18
|
+
@class RTC_OBJC_TYPE(RTCPeerConnectionFactory);
|
|
19
|
+
@class RTC_OBJC_TYPE(RTCVideoTrack);
|
|
20
|
+
|
|
21
|
+
RTC_OBJC_EXPORT
|
|
22
|
+
@interface RTC_OBJC_TYPE (RTCMediaStream) : NSObject
|
|
23
|
+
|
|
24
|
+
/** The audio tracks in this stream. */
|
|
25
|
+
@property(nonatomic, strong, readonly) NSArray<RTC_OBJC_TYPE(RTCAudioTrack) *> *audioTracks;
|
|
26
|
+
|
|
27
|
+
/** The video tracks in this stream. */
|
|
28
|
+
@property(nonatomic, strong, readonly) NSArray<RTC_OBJC_TYPE(RTCVideoTrack) *> *videoTracks;
|
|
29
|
+
|
|
30
|
+
/** An identifier for this media stream. */
|
|
31
|
+
@property(nonatomic, readonly) NSString *streamId;
|
|
32
|
+
|
|
33
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
34
|
+
|
|
35
|
+
/** Adds the given audio track to this media stream. */
|
|
36
|
+
- (void)addAudioTrack:(RTC_OBJC_TYPE(RTCAudioTrack) *)audioTrack;
|
|
37
|
+
|
|
38
|
+
/** Adds the given video track to this media stream. */
|
|
39
|
+
- (void)addVideoTrack:(RTC_OBJC_TYPE(RTCVideoTrack) *)videoTrack;
|
|
40
|
+
|
|
41
|
+
/** Removes the given audio track to this media stream. */
|
|
42
|
+
- (void)removeAudioTrack:(RTC_OBJC_TYPE(RTCAudioTrack) *)audioTrack;
|
|
43
|
+
|
|
44
|
+
/** Removes the given video track to this media stream. */
|
|
45
|
+
- (void)removeVideoTrack:(RTC_OBJC_TYPE(RTCVideoTrack) *)videoTrack;
|
|
46
|
+
|
|
47
|
+
@end
|
|
48
|
+
|
|
49
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,50 @@
|
|
|
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 state of the track. This exposes the same states in C++.
|
|
17
|
+
*/
|
|
18
|
+
typedef NS_ENUM(NSInteger, RTCMediaStreamTrackState) {
|
|
19
|
+
RTCMediaStreamTrackStateLive,
|
|
20
|
+
RTCMediaStreamTrackStateEnded
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
24
|
+
|
|
25
|
+
RTC_EXTERN NSString *const kRTCMediaStreamTrackKindAudio;
|
|
26
|
+
RTC_EXTERN NSString *const kRTCMediaStreamTrackKindVideo;
|
|
27
|
+
|
|
28
|
+
RTC_OBJC_EXPORT
|
|
29
|
+
@interface RTC_OBJC_TYPE (RTCMediaStreamTrack) : NSObject
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The kind of track. For example, "audio" if this track represents an audio
|
|
33
|
+
* track and "video" if this track represents a video track.
|
|
34
|
+
*/
|
|
35
|
+
@property(nonatomic, readonly) NSString *kind;
|
|
36
|
+
|
|
37
|
+
/** An identifier string. */
|
|
38
|
+
@property(nonatomic, readonly) NSString *trackId;
|
|
39
|
+
|
|
40
|
+
/** The enabled state of the track. */
|
|
41
|
+
@property(nonatomic, assign) BOOL isEnabled;
|
|
42
|
+
|
|
43
|
+
/** The state of the track. */
|
|
44
|
+
@property(nonatomic, readonly) RTCMediaStreamTrackState readyState;
|
|
45
|
+
|
|
46
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
47
|
+
|
|
48
|
+
@end
|
|
49
|
+
|
|
50
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,23 @@
|
|
|
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/RTCMetricsSampleInfo.h>
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enables gathering of metrics (which can be fetched with
|
|
18
|
+
* RTCGetAndResetMetrics). Must be called before any other call into WebRTC.
|
|
19
|
+
*/
|
|
20
|
+
RTC_EXTERN void RTCEnableMetrics(void);
|
|
21
|
+
|
|
22
|
+
/** Gets and clears native histograms. */
|
|
23
|
+
RTC_EXTERN NSArray<RTC_OBJC_TYPE(RTCMetricsSampleInfo) *>* RTCGetAndResetMetrics(void);
|
|
@@ -0,0 +1,48 @@
|
|
|
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_OBJC_EXPORT
|
|
18
|
+
@interface RTC_OBJC_TYPE (RTCMetricsSampleInfo) : NSObject
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Example of RTCMetricsSampleInfo:
|
|
22
|
+
* name: "WebRTC.Video.InputFramesPerSecond"
|
|
23
|
+
* min: 1
|
|
24
|
+
* max: 100
|
|
25
|
+
* bucketCount: 50
|
|
26
|
+
* samples: [29]:2 [30]:1
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/** The name of the histogram. */
|
|
30
|
+
@property(nonatomic, readonly) NSString *name;
|
|
31
|
+
|
|
32
|
+
/** The minimum bucket value. */
|
|
33
|
+
@property(nonatomic, readonly) int min;
|
|
34
|
+
|
|
35
|
+
/** The maximum bucket value. */
|
|
36
|
+
@property(nonatomic, readonly) int max;
|
|
37
|
+
|
|
38
|
+
/** The number of buckets. */
|
|
39
|
+
@property(nonatomic, readonly) int bucketCount;
|
|
40
|
+
|
|
41
|
+
/** A dictionary holding the samples <value, # of events>. */
|
|
42
|
+
@property(nonatomic, readonly) NSDictionary<NSNumber *, NSNumber *> *samples;
|
|
43
|
+
|
|
44
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
45
|
+
|
|
46
|
+
@end
|
|
47
|
+
|
|
48
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,23 @@
|
|
|
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 <AVFoundation/AVFoundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCI420Buffer.h>
|
|
14
|
+
#import <WebRTC/RTCMutableYUVPlanarBuffer.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
/** Extension of the I420 buffer with mutable data access */
|
|
19
|
+
RTC_OBJC_EXPORT
|
|
20
|
+
@protocol RTC_OBJC_TYPE
|
|
21
|
+
(RTCMutableI420Buffer)<RTC_OBJC_TYPE(RTCI420Buffer), RTC_OBJC_TYPE(RTCMutableYUVPlanarBuffer)> @end
|
|
22
|
+
|
|
23
|
+
NS_ASSUME_NONNULL_END
|