@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,32 @@
|
|
|
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/RTCMediaSource.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@interface RTC_OBJC_TYPE (RTCAudioSource) : RTC_OBJC_TYPE(RTCMediaSource)
|
|
20
|
+
|
|
21
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
22
|
+
|
|
23
|
+
// Sets the volume for the RTCMediaSource. `volume` is a gain value in the range
|
|
24
|
+
// [0, 10].
|
|
25
|
+
// Temporary fix to be able to modify volume of remote audio tracks.
|
|
26
|
+
// TODO(kthelgason): Property stays here temporarily until a proper volume-api
|
|
27
|
+
// is available on the surface exposed by webrtc.
|
|
28
|
+
@property(nonatomic, assign) double volume;
|
|
29
|
+
|
|
30
|
+
@end
|
|
31
|
+
|
|
32
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,28 @@
|
|
|
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 <WebRTC/RTCMacros.h>
|
|
12
|
+
#import <WebRTC/RTCMediaStreamTrack.h>
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
@class RTC_OBJC_TYPE(RTCAudioSource);
|
|
17
|
+
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@interface RTC_OBJC_TYPE (RTCAudioTrack) : RTC_OBJC_TYPE(RTCMediaStreamTrack)
|
|
20
|
+
|
|
21
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
22
|
+
|
|
23
|
+
/** The audio source for this audio track. */
|
|
24
|
+
@property(nonatomic, readonly) RTC_OBJC_TYPE(RTCAudioSource) * source;
|
|
25
|
+
|
|
26
|
+
@end
|
|
27
|
+
|
|
28
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,52 @@
|
|
|
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/RTCMacros.h>
|
|
14
|
+
#import <WebRTC/RTCVideoFrameBuffer.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
/** RTCVideoFrameBuffer containing a CVPixelBufferRef */
|
|
19
|
+
RTC_OBJC_EXPORT
|
|
20
|
+
@interface RTC_OBJC_TYPE (RTCCVPixelBuffer) : NSObject <RTC_OBJC_TYPE(RTCVideoFrameBuffer)>
|
|
21
|
+
|
|
22
|
+
@property(nonatomic, readonly) CVPixelBufferRef pixelBuffer;
|
|
23
|
+
@property(nonatomic, readonly) int cropX;
|
|
24
|
+
@property(nonatomic, readonly) int cropY;
|
|
25
|
+
@property(nonatomic, readonly) int cropWidth;
|
|
26
|
+
@property(nonatomic, readonly) int cropHeight;
|
|
27
|
+
|
|
28
|
+
+ (NSSet<NSNumber *> *)supportedPixelFormats;
|
|
29
|
+
|
|
30
|
+
- (instancetype)initWithPixelBuffer:(CVPixelBufferRef)pixelBuffer;
|
|
31
|
+
- (instancetype)initWithPixelBuffer:(CVPixelBufferRef)pixelBuffer
|
|
32
|
+
adaptedWidth:(int)adaptedWidth
|
|
33
|
+
adaptedHeight:(int)adaptedHeight
|
|
34
|
+
cropWidth:(int)cropWidth
|
|
35
|
+
cropHeight:(int)cropHeight
|
|
36
|
+
cropX:(int)cropX
|
|
37
|
+
cropY:(int)cropY;
|
|
38
|
+
|
|
39
|
+
- (BOOL)requiresCropping;
|
|
40
|
+
- (BOOL)requiresScalingToWidth:(int)width height:(int)height;
|
|
41
|
+
- (int)bufferSizeForCroppingAndScalingToWidth:(int)width height:(int)height;
|
|
42
|
+
|
|
43
|
+
/** The minimum size of the `tmpBuffer` must be the number of bytes returned from the
|
|
44
|
+
* bufferSizeForCroppingAndScalingToWidth:height: method.
|
|
45
|
+
* If that size is 0, the `tmpBuffer` may be nil.
|
|
46
|
+
*/
|
|
47
|
+
- (BOOL)cropAndScaleTo:(CVPixelBufferRef)outputPixelBuffer
|
|
48
|
+
withTempBuffer:(nullable uint8_t *)tmpBuffer;
|
|
49
|
+
|
|
50
|
+
@end
|
|
51
|
+
|
|
52
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,41 @@
|
|
|
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/RTCLogging.h>
|
|
14
|
+
#import <WebRTC/RTCMacros.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
typedef void (^RTCCallbackLoggerMessageHandler)(NSString *message);
|
|
19
|
+
typedef void (^RTCCallbackLoggerMessageAndSeverityHandler)(NSString *message,
|
|
20
|
+
RTCLoggingSeverity severity);
|
|
21
|
+
|
|
22
|
+
// This class intercepts WebRTC logs and forwards them to a registered block.
|
|
23
|
+
// This class is not threadsafe.
|
|
24
|
+
RTC_OBJC_EXPORT
|
|
25
|
+
@interface RTC_OBJC_TYPE (RTCCallbackLogger) : NSObject
|
|
26
|
+
|
|
27
|
+
// The severity level to capture. The default is kRTCLoggingSeverityInfo.
|
|
28
|
+
@property(nonatomic, assign) RTCLoggingSeverity severity;
|
|
29
|
+
|
|
30
|
+
// The callback handler will be called on the same thread that does the
|
|
31
|
+
// logging, so if the logging callback can be slow it may be a good idea
|
|
32
|
+
// to implement dispatching to some other queue.
|
|
33
|
+
- (void)start:(nullable RTCCallbackLoggerMessageHandler)handler;
|
|
34
|
+
- (void)startWithMessageAndSeverityHandler:
|
|
35
|
+
(nullable RTCCallbackLoggerMessageAndSeverityHandler)handler;
|
|
36
|
+
|
|
37
|
+
- (void)stop;
|
|
38
|
+
|
|
39
|
+
@end
|
|
40
|
+
|
|
41
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,56 @@
|
|
|
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 <AVFoundation/AVFoundation.h>
|
|
12
|
+
#import <Foundation/Foundation.h>
|
|
13
|
+
|
|
14
|
+
#import <WebRTC/RTCMacros.h>
|
|
15
|
+
#import <WebRTC/RTCVideoCapturer.h>
|
|
16
|
+
|
|
17
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
RTC_OBJC_EXPORT
|
|
20
|
+
// Camera capture that implements RTCVideoCapturer. Delivers frames to a
|
|
21
|
+
// RTCVideoCapturerDelegate (usually RTCVideoSource).
|
|
22
|
+
NS_EXTENSION_UNAVAILABLE_IOS("Camera not available in app extensions.")
|
|
23
|
+
@interface RTC_OBJC_TYPE (RTCCameraVideoCapturer) : RTC_OBJC_TYPE(RTCVideoCapturer)
|
|
24
|
+
|
|
25
|
+
// Capture session that is used for capturing. Valid from initialization to dealloc.
|
|
26
|
+
@property(readonly, nonatomic) AVCaptureSession *captureSession;
|
|
27
|
+
|
|
28
|
+
// Returns list of available capture devices that support video capture.
|
|
29
|
+
+ (NSArray<AVCaptureDevice *> *)captureDevices;
|
|
30
|
+
// Returns list of formats that are supported by this class for this device.
|
|
31
|
+
+ (NSArray<AVCaptureDeviceFormat *> *)supportedFormatsForDevice:(AVCaptureDevice *)device;
|
|
32
|
+
|
|
33
|
+
// Returns the most efficient supported output pixel format for this capturer.
|
|
34
|
+
- (FourCharCode)preferredOutputPixelFormat;
|
|
35
|
+
|
|
36
|
+
// Starts the capture session asynchronously and notifies callback on completion.
|
|
37
|
+
// The device will capture video in the format given in the `format` parameter. If the pixel format
|
|
38
|
+
// in `format` is supported by the WebRTC pipeline, the same pixel format will be used for the
|
|
39
|
+
// output. Otherwise, the format returned by `preferredOutputPixelFormat` will be used.
|
|
40
|
+
- (void)startCaptureWithDevice:(AVCaptureDevice *)device
|
|
41
|
+
format:(AVCaptureDeviceFormat *)format
|
|
42
|
+
fps:(NSInteger)fps
|
|
43
|
+
completionHandler:(nullable void (^)(NSError *_Nullable))completionHandler;
|
|
44
|
+
// Stops the capture session asynchronously and notifies callback on completion.
|
|
45
|
+
- (void)stopCaptureWithCompletionHandler:(nullable void (^)(void))completionHandler;
|
|
46
|
+
|
|
47
|
+
// Starts the capture session asynchronously.
|
|
48
|
+
- (void)startCaptureWithDevice:(AVCaptureDevice *)device
|
|
49
|
+
format:(AVCaptureDeviceFormat *)format
|
|
50
|
+
fps:(NSInteger)fps;
|
|
51
|
+
// Stops the capture session asynchronously.
|
|
52
|
+
- (void)stopCapture;
|
|
53
|
+
|
|
54
|
+
@end
|
|
55
|
+
|
|
56
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,44 @@
|
|
|
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 (RTCCertificate) : NSObject <NSCopying>
|
|
19
|
+
|
|
20
|
+
/** Private key in PEM. */
|
|
21
|
+
@property(nonatomic, readonly, copy) NSString *private_key;
|
|
22
|
+
|
|
23
|
+
/** Public key in an x509 cert encoded in PEM. */
|
|
24
|
+
@property(nonatomic, readonly, copy) NSString *certificate;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Initialize an RTCCertificate with PEM strings for private_key and certificate.
|
|
28
|
+
*/
|
|
29
|
+
- (instancetype)initWithPrivateKey:(NSString *)private_key
|
|
30
|
+
certificate:(NSString *)certificate NS_DESIGNATED_INITIALIZER;
|
|
31
|
+
|
|
32
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
33
|
+
|
|
34
|
+
/** Generate a new certificate for 're' use.
|
|
35
|
+
*
|
|
36
|
+
* Optional dictionary of parameters. Defaults to KeyType ECDSA if none are
|
|
37
|
+
* provided.
|
|
38
|
+
* - name: "ECDSA" or "RSASSA-PKCS1-v1_5"
|
|
39
|
+
*/
|
|
40
|
+
+ (nullable RTC_OBJC_TYPE(RTCCertificate) *)generateCertificateWithParams:(NSDictionary *)params;
|
|
41
|
+
|
|
42
|
+
@end
|
|
43
|
+
|
|
44
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,24 @@
|
|
|
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 <Foundation/Foundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCMacros.h>
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/** Implement this protocol to pass codec specific info from the encoder.
|
|
18
|
+
* Corresponds to webrtc::CodecSpecificInfo.
|
|
19
|
+
*/
|
|
20
|
+
RTC_OBJC_EXPORT
|
|
21
|
+
@protocol RTC_OBJC_TYPE
|
|
22
|
+
(RTCCodecSpecificInfo)<NSObject> @end
|
|
23
|
+
|
|
24
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,27 @@
|
|
|
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 <Foundation/Foundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCCodecSpecificInfo.h>
|
|
14
|
+
#import <WebRTC/RTCMacros.h>
|
|
15
|
+
|
|
16
|
+
/** Class for H264 specific config. */
|
|
17
|
+
typedef NS_ENUM(NSUInteger, RTCH264PacketizationMode) {
|
|
18
|
+
RTCH264PacketizationModeNonInterleaved = 0, // Mode 1 - STAP-A, FU-A is allowed
|
|
19
|
+
RTCH264PacketizationModeSingleNalUnit // Mode 0 - only single NALU allowed
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
RTC_OBJC_EXPORT
|
|
23
|
+
@interface RTC_OBJC_TYPE (RTCCodecSpecificInfoH264) : NSObject <RTC_OBJC_TYPE(RTCCodecSpecificInfo)>
|
|
24
|
+
|
|
25
|
+
@property(nonatomic, assign) RTCH264PacketizationMode packetizationMode;
|
|
26
|
+
|
|
27
|
+
@end
|
|
@@ -0,0 +1,262 @@
|
|
|
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/RTCCertificate.h>
|
|
14
|
+
#import <WebRTC/RTCCryptoOptions.h>
|
|
15
|
+
#import <WebRTC/RTCMacros.h>
|
|
16
|
+
|
|
17
|
+
@class RTC_OBJC_TYPE(RTCIceServer);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Represents the ice transport policy. This exposes the same states in C++,
|
|
21
|
+
* which include one more state than what exists in the W3C spec.
|
|
22
|
+
*/
|
|
23
|
+
typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) {
|
|
24
|
+
RTCIceTransportPolicyNone,
|
|
25
|
+
RTCIceTransportPolicyRelay,
|
|
26
|
+
RTCIceTransportPolicyNoHost,
|
|
27
|
+
RTCIceTransportPolicyAll
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** Represents the bundle policy. */
|
|
31
|
+
typedef NS_ENUM(NSInteger, RTCBundlePolicy) {
|
|
32
|
+
RTCBundlePolicyBalanced,
|
|
33
|
+
RTCBundlePolicyMaxCompat,
|
|
34
|
+
RTCBundlePolicyMaxBundle
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** Represents the rtcp mux policy. */
|
|
38
|
+
typedef NS_ENUM(NSInteger, RTCRtcpMuxPolicy) { RTCRtcpMuxPolicyNegotiate, RTCRtcpMuxPolicyRequire };
|
|
39
|
+
|
|
40
|
+
/** Represents the tcp candidate policy. */
|
|
41
|
+
typedef NS_ENUM(NSInteger, RTCTcpCandidatePolicy) {
|
|
42
|
+
RTCTcpCandidatePolicyEnabled,
|
|
43
|
+
RTCTcpCandidatePolicyDisabled
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** Represents the candidate network policy. */
|
|
47
|
+
typedef NS_ENUM(NSInteger, RTCCandidateNetworkPolicy) {
|
|
48
|
+
RTCCandidateNetworkPolicyAll,
|
|
49
|
+
RTCCandidateNetworkPolicyLowCost
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** Represents the continual gathering policy. */
|
|
53
|
+
typedef NS_ENUM(NSInteger, RTCContinualGatheringPolicy) {
|
|
54
|
+
RTCContinualGatheringPolicyGatherOnce,
|
|
55
|
+
RTCContinualGatheringPolicyGatherContinually
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** Represents the encryption key type. */
|
|
59
|
+
typedef NS_ENUM(NSInteger, RTCEncryptionKeyType) {
|
|
60
|
+
RTCEncryptionKeyTypeRSA,
|
|
61
|
+
RTCEncryptionKeyTypeECDSA,
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** Represents the chosen SDP semantics for the RTCPeerConnection. */
|
|
65
|
+
typedef NS_ENUM(NSInteger, RTCSdpSemantics) {
|
|
66
|
+
// TODO(https://crbug.com/webrtc/13528): Remove support for Plan B.
|
|
67
|
+
RTCSdpSemanticsPlanB,
|
|
68
|
+
RTCSdpSemanticsUnifiedPlan,
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
72
|
+
|
|
73
|
+
RTC_OBJC_EXPORT
|
|
74
|
+
@interface RTC_OBJC_TYPE (RTCConfiguration) : NSObject
|
|
75
|
+
|
|
76
|
+
/** If true, allows DSCP codes to be set on outgoing packets, configured using
|
|
77
|
+
* networkPriority field of RTCRtpEncodingParameters. Defaults to false.
|
|
78
|
+
*/
|
|
79
|
+
@property(nonatomic, assign) BOOL enableDscp;
|
|
80
|
+
|
|
81
|
+
/** An array of Ice Servers available to be used by ICE. */
|
|
82
|
+
@property(nonatomic, copy) NSArray<RTC_OBJC_TYPE(RTCIceServer) *> *iceServers;
|
|
83
|
+
|
|
84
|
+
/** An RTCCertificate for 're' use. */
|
|
85
|
+
@property(nonatomic, nullable) RTC_OBJC_TYPE(RTCCertificate) * certificate;
|
|
86
|
+
|
|
87
|
+
/** Which candidates the ICE agent is allowed to use. The W3C calls it
|
|
88
|
+
* `iceTransportPolicy`, while in C++ it is called `type`. */
|
|
89
|
+
@property(nonatomic, assign) RTCIceTransportPolicy iceTransportPolicy;
|
|
90
|
+
|
|
91
|
+
/** The media-bundling policy to use when gathering ICE candidates. */
|
|
92
|
+
@property(nonatomic, assign) RTCBundlePolicy bundlePolicy;
|
|
93
|
+
|
|
94
|
+
/** The rtcp-mux policy to use when gathering ICE candidates. */
|
|
95
|
+
@property(nonatomic, assign) RTCRtcpMuxPolicy rtcpMuxPolicy;
|
|
96
|
+
@property(nonatomic, assign) RTCTcpCandidatePolicy tcpCandidatePolicy;
|
|
97
|
+
@property(nonatomic, assign) RTCCandidateNetworkPolicy candidateNetworkPolicy;
|
|
98
|
+
@property(nonatomic, assign) RTCContinualGatheringPolicy continualGatheringPolicy;
|
|
99
|
+
|
|
100
|
+
/** If set to YES, don't gather IPv6 ICE candidates on Wi-Fi.
|
|
101
|
+
* Only intended to be used on specific devices. Certain phones disable IPv6
|
|
102
|
+
* when the screen is turned off and it would be better to just disable the
|
|
103
|
+
* IPv6 ICE candidates on Wi-Fi in those cases.
|
|
104
|
+
* Default is NO.
|
|
105
|
+
*/
|
|
106
|
+
@property(nonatomic, assign) BOOL disableIPV6OnWiFi;
|
|
107
|
+
|
|
108
|
+
/** By default, the PeerConnection will use a limited number of IPv6 network
|
|
109
|
+
* interfaces, in order to avoid too many ICE candidate pairs being created
|
|
110
|
+
* and delaying ICE completion.
|
|
111
|
+
*
|
|
112
|
+
* Can be set to INT_MAX to effectively disable the limit.
|
|
113
|
+
*/
|
|
114
|
+
@property(nonatomic, assign) int maxIPv6Networks;
|
|
115
|
+
|
|
116
|
+
/** Exclude link-local network interfaces
|
|
117
|
+
* from considertaion for gathering ICE candidates.
|
|
118
|
+
* Defaults to NO.
|
|
119
|
+
*/
|
|
120
|
+
@property(nonatomic, assign) BOOL disableLinkLocalNetworks;
|
|
121
|
+
|
|
122
|
+
@property(nonatomic, assign) int audioJitterBufferMaxPackets;
|
|
123
|
+
@property(nonatomic, assign) BOOL audioJitterBufferFastAccelerate;
|
|
124
|
+
@property(nonatomic, assign) int iceConnectionReceivingTimeout;
|
|
125
|
+
@property(nonatomic, assign) int iceBackupCandidatePairPingInterval;
|
|
126
|
+
|
|
127
|
+
/** Key type used to generate SSL identity. Default is ECDSA. */
|
|
128
|
+
@property(nonatomic, assign) RTCEncryptionKeyType keyType;
|
|
129
|
+
|
|
130
|
+
/** ICE candidate pool size as defined in JSEP. Default is 0. */
|
|
131
|
+
@property(nonatomic, assign) int iceCandidatePoolSize;
|
|
132
|
+
|
|
133
|
+
/** Prune turn ports on the same network to the same turn server.
|
|
134
|
+
* Default is NO.
|
|
135
|
+
*/
|
|
136
|
+
@property(nonatomic, assign) BOOL shouldPruneTurnPorts;
|
|
137
|
+
|
|
138
|
+
/** If set to YES, this means the ICE transport should presume TURN-to-TURN
|
|
139
|
+
* candidate pairs will succeed, even before a binding response is received.
|
|
140
|
+
*/
|
|
141
|
+
@property(nonatomic, assign) BOOL shouldPresumeWritableWhenFullyRelayed;
|
|
142
|
+
|
|
143
|
+
/* This flag is only effective when `continualGatheringPolicy` is
|
|
144
|
+
* RTCContinualGatheringPolicyGatherContinually.
|
|
145
|
+
*
|
|
146
|
+
* If YES, after the ICE transport type is changed such that new types of
|
|
147
|
+
* ICE candidates are allowed by the new transport type, e.g. from
|
|
148
|
+
* RTCIceTransportPolicyRelay to RTCIceTransportPolicyAll, candidates that
|
|
149
|
+
* have been gathered by the ICE transport but not matching the previous
|
|
150
|
+
* transport type and as a result not observed by PeerConnectionDelegateAdapter,
|
|
151
|
+
* will be surfaced to the delegate.
|
|
152
|
+
*/
|
|
153
|
+
@property(nonatomic, assign) BOOL shouldSurfaceIceCandidatesOnIceTransportTypeChanged;
|
|
154
|
+
|
|
155
|
+
/** If set to non-nil, controls the minimal interval between consecutive ICE
|
|
156
|
+
* check packets.
|
|
157
|
+
*/
|
|
158
|
+
@property(nonatomic, copy, nullable) NSNumber *iceCheckMinInterval;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Configure the SDP semantics used by this PeerConnection. By default, this
|
|
162
|
+
* is RTCSdpSemanticsUnifiedPlan which is compliant to the WebRTC 1.0
|
|
163
|
+
* specification. It is possible to overrwite this to the deprecated
|
|
164
|
+
* RTCSdpSemanticsPlanB SDP format, but note that RTCSdpSemanticsPlanB will be
|
|
165
|
+
* deleted at some future date, see https://crbug.com/webrtc/13528.
|
|
166
|
+
*
|
|
167
|
+
* RTCSdpSemanticsUnifiedPlan will cause RTCPeerConnection to create offers and
|
|
168
|
+
* answers with multiple m= sections where each m= section maps to one
|
|
169
|
+
* RTCRtpSender and one RTCRtpReceiver (an RTCRtpTransceiver), either both audio
|
|
170
|
+
* or both video. This will also cause RTCPeerConnection to ignore all but the
|
|
171
|
+
* first a=ssrc lines that form a Plan B stream.
|
|
172
|
+
*
|
|
173
|
+
* RTCSdpSemanticsPlanB will cause RTCPeerConnection to create offers and
|
|
174
|
+
* answers with at most one audio and one video m= section with multiple
|
|
175
|
+
* RTCRtpSenders and RTCRtpReceivers specified as multiple a=ssrc lines within
|
|
176
|
+
* the section. This will also cause RTCPeerConnection to ignore all but the
|
|
177
|
+
* first m= section of the same media type.
|
|
178
|
+
*/
|
|
179
|
+
@property(nonatomic, assign) RTCSdpSemantics sdpSemantics;
|
|
180
|
+
|
|
181
|
+
/** Actively reset the SRTP parameters when the DTLS transports underneath are
|
|
182
|
+
* changed after offer/answer negotiation. This is only intended to be a
|
|
183
|
+
* workaround for crbug.com/835958
|
|
184
|
+
*/
|
|
185
|
+
@property(nonatomic, assign) BOOL activeResetSrtpParams;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Defines advanced optional cryptographic settings related to SRTP and
|
|
189
|
+
* frame encryption for native WebRTC. Setting this will overwrite any
|
|
190
|
+
* options set through the PeerConnectionFactory (which is deprecated).
|
|
191
|
+
*/
|
|
192
|
+
@property(nonatomic, nullable) RTC_OBJC_TYPE(RTCCryptoOptions) * cryptoOptions;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* An optional string that will be attached to the TURN_ALLOCATE_REQUEST which
|
|
196
|
+
* which can be used to correlate client logs with backend logs.
|
|
197
|
+
*/
|
|
198
|
+
@property(nonatomic, nullable, copy) NSString *turnLoggingId;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Time interval between audio RTCP reports.
|
|
202
|
+
*/
|
|
203
|
+
@property(nonatomic, assign) int rtcpAudioReportIntervalMs;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Time interval between video RTCP reports.
|
|
207
|
+
*/
|
|
208
|
+
@property(nonatomic, assign) int rtcpVideoReportIntervalMs;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Allow implicit rollback of local description when remote description
|
|
212
|
+
* conflicts with local description.
|
|
213
|
+
* See: https://w3c.github.io/webrtc-pc/#dom-peerconnection-setremotedescription
|
|
214
|
+
*/
|
|
215
|
+
@property(nonatomic, assign) BOOL enableImplicitRollback;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Control if "a=extmap-allow-mixed" is included in the offer.
|
|
219
|
+
* See: https://www.chromestatus.com/feature/6269234631933952
|
|
220
|
+
*/
|
|
221
|
+
@property(nonatomic, assign) BOOL offerExtmapAllowMixed;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Defines the interval applied to ALL candidate pairs
|
|
225
|
+
* when ICE is strongly connected, and it overrides the
|
|
226
|
+
* default value of this interval in the ICE implementation;
|
|
227
|
+
*/
|
|
228
|
+
@property(nonatomic, copy, nullable) NSNumber *iceCheckIntervalStrongConnectivity;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Defines the counterpart for ALL pairs when ICE is
|
|
232
|
+
* weakly connected, and it overrides the default value of
|
|
233
|
+
* this interval in the ICE implementation
|
|
234
|
+
*/
|
|
235
|
+
@property(nonatomic, copy, nullable) NSNumber *iceCheckIntervalWeakConnectivity;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The min time period for which a candidate pair must wait for response to
|
|
239
|
+
* connectivity checks before it becomes unwritable. This parameter
|
|
240
|
+
* overrides the default value in the ICE implementation if set.
|
|
241
|
+
*/
|
|
242
|
+
@property(nonatomic, copy, nullable) NSNumber *iceUnwritableTimeout;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* The min number of connectivity checks that a candidate pair must sent
|
|
246
|
+
* without receiving response before it becomes unwritable. This parameter
|
|
247
|
+
* overrides the default value in the ICE implementation if set.
|
|
248
|
+
*/
|
|
249
|
+
@property(nonatomic, copy, nullable) NSNumber *iceUnwritableMinChecks;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The min time period for which a candidate pair must wait for response to
|
|
253
|
+
* connectivity checks it becomes inactive. This parameter overrides the
|
|
254
|
+
* default value in the ICE implementation if set.
|
|
255
|
+
*/
|
|
256
|
+
@property(nonatomic, copy, nullable) NSNumber *iceInactiveTimeout;
|
|
257
|
+
|
|
258
|
+
- (instancetype)init;
|
|
259
|
+
|
|
260
|
+
@end
|
|
261
|
+
|
|
262
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
/**
|
|
18
|
+
* Objective-C bindings for webrtc::CryptoOptions. This API had to be flattened
|
|
19
|
+
* as Objective-C doesn't support nested structures.
|
|
20
|
+
*/
|
|
21
|
+
RTC_OBJC_EXPORT
|
|
22
|
+
@interface RTC_OBJC_TYPE (RTCCryptoOptions) : NSObject
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Enable GCM crypto suites from RFC 7714 for SRTP. GCM will only be used
|
|
26
|
+
* if both sides enable it
|
|
27
|
+
*/
|
|
28
|
+
@property(nonatomic, assign) BOOL srtpEnableGcmCryptoSuites;
|
|
29
|
+
/**
|
|
30
|
+
* If set to true, the (potentially insecure) crypto cipher
|
|
31
|
+
* kSrtpAes128CmSha1_32 will be included in the list of supported ciphers
|
|
32
|
+
* during negotiation. It will only be used if both peers support it and no
|
|
33
|
+
* other ciphers get preferred.
|
|
34
|
+
*/
|
|
35
|
+
@property(nonatomic, assign) BOOL srtpEnableAes128Sha1_32CryptoCipher;
|
|
36
|
+
/**
|
|
37
|
+
* If set to true, encrypted RTP header extensions as defined in RFC 6904
|
|
38
|
+
* will be negotiated. They will only be used if both peers support them.
|
|
39
|
+
*/
|
|
40
|
+
@property(nonatomic, assign) BOOL srtpEnableEncryptedRtpHeaderExtensions;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* If set all RtpSenders must have an FrameEncryptor attached to them before
|
|
44
|
+
* they are allowed to send packets. All RtpReceivers must have a
|
|
45
|
+
* FrameDecryptor attached to them before they are able to receive packets.
|
|
46
|
+
*/
|
|
47
|
+
@property(nonatomic, assign) BOOL sframeRequireFrameEncryption;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Initializes CryptoOptions with all possible options set explicitly. This
|
|
51
|
+
* is done when converting from a native RTCConfiguration.crypto_options.
|
|
52
|
+
*/
|
|
53
|
+
- (instancetype)initWithSrtpEnableGcmCryptoSuites:(BOOL)srtpEnableGcmCryptoSuites
|
|
54
|
+
srtpEnableAes128Sha1_32CryptoCipher:(BOOL)srtpEnableAes128Sha1_32CryptoCipher
|
|
55
|
+
srtpEnableEncryptedRtpHeaderExtensions:(BOOL)srtpEnableEncryptedRtpHeaderExtensions
|
|
56
|
+
sframeRequireFrameEncryption:(BOOL)sframeRequireFrameEncryption
|
|
57
|
+
NS_DESIGNATED_INITIALIZER;
|
|
58
|
+
|
|
59
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
60
|
+
|
|
61
|
+
@end
|
|
62
|
+
|
|
63
|
+
NS_ASSUME_NONNULL_END
|