@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,21 @@
|
|
|
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
|
+
RTC_EXTERN void RTCSetupInternalTracer(void);
|
|
16
|
+
/** Starts capture to specified file. Must be a valid writable path.
|
|
17
|
+
* Returns YES if capture starts.
|
|
18
|
+
*/
|
|
19
|
+
RTC_EXTERN BOOL RTCStartInternalCapture(NSString* filePath);
|
|
20
|
+
RTC_EXTERN void RTCStopInternalCapture(void);
|
|
21
|
+
RTC_EXTERN void RTCShutdownInternalTracer(void);
|
|
@@ -0,0 +1,35 @@
|
|
|
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 <WebRTC/RTCVideoFrame.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCMacros.h>
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
@class RTC_OBJC_TYPE(RTCVideoCapturer);
|
|
18
|
+
|
|
19
|
+
RTC_OBJC_EXPORT
|
|
20
|
+
@protocol RTC_OBJC_TYPE
|
|
21
|
+
(RTCVideoCapturerDelegate)<NSObject> -
|
|
22
|
+
(void)capturer : (RTC_OBJC_TYPE(RTCVideoCapturer) *)capturer didCaptureVideoFrame
|
|
23
|
+
: (RTC_OBJC_TYPE(RTCVideoFrame) *)frame;
|
|
24
|
+
@end
|
|
25
|
+
|
|
26
|
+
RTC_OBJC_EXPORT
|
|
27
|
+
@interface RTC_OBJC_TYPE (RTCVideoCapturer) : NSObject
|
|
28
|
+
|
|
29
|
+
@property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCVideoCapturerDelegate)> delegate;
|
|
30
|
+
|
|
31
|
+
- (instancetype)initWithDelegate:(id<RTC_OBJC_TYPE(RTCVideoCapturerDelegate)>)delegate;
|
|
32
|
+
|
|
33
|
+
@end
|
|
34
|
+
|
|
35
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/** Holds information to identify a codec. Corresponds to webrtc::SdpVideoFormat. */
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@interface RTC_OBJC_TYPE (RTCVideoCodecInfo) : NSObject <NSCoding>
|
|
20
|
+
|
|
21
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
22
|
+
|
|
23
|
+
- (instancetype)initWithName:(NSString *)name;
|
|
24
|
+
|
|
25
|
+
- (instancetype)initWithName:(NSString *)name
|
|
26
|
+
parameters:(nullable NSDictionary<NSString *, NSString *> *)parameters
|
|
27
|
+
NS_DESIGNATED_INITIALIZER;
|
|
28
|
+
|
|
29
|
+
- (BOOL)isEqualToCodecInfo:(RTC_OBJC_TYPE(RTCVideoCodecInfo) *)info;
|
|
30
|
+
|
|
31
|
+
@property(nonatomic, readonly) NSString *name;
|
|
32
|
+
@property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *parameters;
|
|
33
|
+
|
|
34
|
+
@end
|
|
35
|
+
|
|
36
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,41 @@
|
|
|
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/RTCEncodedImage.h>
|
|
15
|
+
#import <WebRTC/RTCMacros.h>
|
|
16
|
+
#import <WebRTC/RTCVideoEncoderSettings.h>
|
|
17
|
+
#import <WebRTC/RTCVideoFrame.h>
|
|
18
|
+
|
|
19
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
20
|
+
|
|
21
|
+
/** Callback block for decoder. */
|
|
22
|
+
typedef void (^RTCVideoDecoderCallback)(RTC_OBJC_TYPE(RTCVideoFrame) * frame);
|
|
23
|
+
|
|
24
|
+
/** Protocol for decoder implementations. */
|
|
25
|
+
RTC_OBJC_EXPORT
|
|
26
|
+
@protocol RTC_OBJC_TYPE
|
|
27
|
+
(RTCVideoDecoder)<NSObject>
|
|
28
|
+
|
|
29
|
+
- (void)setCallback : (RTCVideoDecoderCallback)callback;
|
|
30
|
+
- (NSInteger)startDecodeWithNumberOfCores:(int)numberOfCores;
|
|
31
|
+
- (NSInteger)releaseDecoder;
|
|
32
|
+
// TODO(bugs.webrtc.org/15444): Remove obsolete missingFrames param.
|
|
33
|
+
- (NSInteger)decode:(RTC_OBJC_TYPE(RTCEncodedImage) *)encodedImage
|
|
34
|
+
missingFrames:(BOOL)missingFrames
|
|
35
|
+
codecSpecificInfo:(nullable id<RTC_OBJC_TYPE(RTCCodecSpecificInfo)>)info
|
|
36
|
+
renderTimeMs:(int64_t)renderTimeMs;
|
|
37
|
+
- (NSString *)implementationName;
|
|
38
|
+
|
|
39
|
+
@end
|
|
40
|
+
|
|
41
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 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
|
+
#import <WebRTC/RTCVideoDecoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoDecoderAV1) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a AV1 decoder that can be returned from a RTCVideoDecoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoDecoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoDecoder)>)av1Decoder;
|
|
24
|
+
|
|
25
|
+
@end
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoCodecInfo.h>
|
|
15
|
+
#import <WebRTC/RTCVideoDecoder.h>
|
|
16
|
+
|
|
17
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
/** RTCVideoDecoderFactory is an Objective-C version of webrtc::VideoDecoderFactory.
|
|
20
|
+
*/
|
|
21
|
+
RTC_OBJC_EXPORT
|
|
22
|
+
@protocol RTC_OBJC_TYPE
|
|
23
|
+
(RTCVideoDecoderFactory)<NSObject>
|
|
24
|
+
|
|
25
|
+
- (nullable id<RTC_OBJC_TYPE(RTCVideoDecoder)>)createDecoder
|
|
26
|
+
: (RTC_OBJC_TYPE(RTCVideoCodecInfo) *)info;
|
|
27
|
+
- (NSArray<RTC_OBJC_TYPE(RTCVideoCodecInfo) *> *)
|
|
28
|
+
supportedCodecs; // TODO(andersc): "supportedFormats" instead?
|
|
29
|
+
|
|
30
|
+
@end
|
|
31
|
+
|
|
32
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoDecoderFactory.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoDecoderFactoryH264) : NSObject <RTC_OBJC_TYPE(RTCVideoDecoderFactory)>
|
|
18
|
+
@end
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoDecoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoDecoderH264) : NSObject <RTC_OBJC_TYPE(RTCVideoDecoder)>
|
|
18
|
+
@end
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoDecoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoDecoderVP8) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a VP8 decoder that can be returned from a RTCVideoDecoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoDecoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoDecoder)>)vp8Decoder;
|
|
24
|
+
|
|
25
|
+
@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/RTCMacros.h>
|
|
14
|
+
#import <WebRTC/RTCVideoDecoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoDecoderVP9) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a VP9 decoder that can be returned from a RTCVideoDecoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoDecoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoDecoder)>)vp9Decoder;
|
|
24
|
+
|
|
25
|
+
+ (bool)isSupported;
|
|
26
|
+
|
|
27
|
+
@end
|
|
@@ -0,0 +1,59 @@
|
|
|
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/RTCEncodedImage.h>
|
|
15
|
+
#import <WebRTC/RTCMacros.h>
|
|
16
|
+
#import <WebRTC/RTCVideoEncoderQpThresholds.h>
|
|
17
|
+
#import <WebRTC/RTCVideoEncoderSettings.h>
|
|
18
|
+
#import <WebRTC/RTCVideoFrame.h>
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
+
|
|
22
|
+
/** Callback block for encoder. */
|
|
23
|
+
typedef BOOL (^RTCVideoEncoderCallback)(RTC_OBJC_TYPE(RTCEncodedImage) * frame,
|
|
24
|
+
id<RTC_OBJC_TYPE(RTCCodecSpecificInfo)> info);
|
|
25
|
+
|
|
26
|
+
/** Protocol for encoder implementations. */
|
|
27
|
+
RTC_OBJC_EXPORT
|
|
28
|
+
@protocol RTC_OBJC_TYPE
|
|
29
|
+
(RTCVideoEncoder)<NSObject>
|
|
30
|
+
|
|
31
|
+
- (void)setCallback : (nullable RTCVideoEncoderCallback)callback;
|
|
32
|
+
- (NSInteger)startEncodeWithSettings:(RTC_OBJC_TYPE(RTCVideoEncoderSettings) *)settings
|
|
33
|
+
numberOfCores:(int)numberOfCores;
|
|
34
|
+
- (NSInteger)releaseEncoder;
|
|
35
|
+
- (NSInteger)encode:(RTC_OBJC_TYPE(RTCVideoFrame) *)frame
|
|
36
|
+
codecSpecificInfo:(nullable id<RTC_OBJC_TYPE(RTCCodecSpecificInfo)>)info
|
|
37
|
+
frameTypes:(NSArray<NSNumber *> *)frameTypes;
|
|
38
|
+
- (int)setBitrate:(uint32_t)bitrateKbit framerate:(uint32_t)framerate;
|
|
39
|
+
- (NSString *)implementationName;
|
|
40
|
+
|
|
41
|
+
/** Returns QP scaling settings for encoder. The quality scaler adjusts the resolution in order to
|
|
42
|
+
* keep the QP from the encoded images within the given range. Returning nil from this function
|
|
43
|
+
* disables quality scaling. */
|
|
44
|
+
- (nullable RTC_OBJC_TYPE(RTCVideoEncoderQpThresholds) *)scalingSettings;
|
|
45
|
+
|
|
46
|
+
/** Resolutions should be aligned to this value. */
|
|
47
|
+
@property(nonatomic, readonly) NSInteger resolutionAlignment;
|
|
48
|
+
|
|
49
|
+
/** If enabled, resolution alignment is applied to all simulcast layers simultaneously so that when
|
|
50
|
+
scaled, all resolutions comply with 'resolutionAlignment'. */
|
|
51
|
+
@property(nonatomic, readonly) BOOL applyAlignmentToAllSimulcastLayers;
|
|
52
|
+
|
|
53
|
+
/** If YES, the receiver is expected to resample/scale the source texture to the expected output
|
|
54
|
+
size. */
|
|
55
|
+
@property(nonatomic, readonly) BOOL supportsNativeHandle;
|
|
56
|
+
|
|
57
|
+
@end
|
|
58
|
+
|
|
59
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 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
|
+
#import <WebRTC/RTCVideoEncoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderAV1) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a AV1 encoder that can be returned from a RTCVideoEncoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoEncoder)>)av1Encoder;
|
|
24
|
+
|
|
25
|
+
+ (bool)isSupported;
|
|
26
|
+
|
|
27
|
+
@end
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoCodecInfo.h>
|
|
15
|
+
#import <WebRTC/RTCVideoEncoder.h>
|
|
16
|
+
|
|
17
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
/** RTCVideoEncoderFactory is an Objective-C version of
|
|
20
|
+
webrtc::VideoEncoderFactory::VideoEncoderSelector.
|
|
21
|
+
*/
|
|
22
|
+
RTC_OBJC_EXPORT
|
|
23
|
+
@protocol RTC_OBJC_TYPE
|
|
24
|
+
(RTCVideoEncoderSelector)<NSObject>
|
|
25
|
+
|
|
26
|
+
- (void)registerCurrentEncoderInfo : (RTC_OBJC_TYPE(RTCVideoCodecInfo) *)info;
|
|
27
|
+
- (nullable RTC_OBJC_TYPE(RTCVideoCodecInfo) *)encoderForBitrate:(NSInteger)bitrate;
|
|
28
|
+
- (nullable RTC_OBJC_TYPE(RTCVideoCodecInfo) *)encoderForBrokenEncoder;
|
|
29
|
+
|
|
30
|
+
@optional
|
|
31
|
+
- (nullable RTC_OBJC_TYPE(RTCVideoCodecInfo) *)encoderForResolutionChangeBySize:(CGSize)size;
|
|
32
|
+
|
|
33
|
+
@end
|
|
34
|
+
|
|
35
|
+
/** RTCVideoEncoderFactory is an Objective-C version of webrtc::VideoEncoderFactory.
|
|
36
|
+
*/
|
|
37
|
+
RTC_OBJC_EXPORT
|
|
38
|
+
@protocol RTC_OBJC_TYPE
|
|
39
|
+
(RTCVideoEncoderFactory)<NSObject>
|
|
40
|
+
|
|
41
|
+
- (nullable id<RTC_OBJC_TYPE(RTCVideoEncoder)>)createEncoder
|
|
42
|
+
: (RTC_OBJC_TYPE(RTCVideoCodecInfo) *)info;
|
|
43
|
+
- (NSArray<RTC_OBJC_TYPE(RTCVideoCodecInfo) *> *)
|
|
44
|
+
supportedCodecs; // TODO(andersc): "supportedFormats" instead?
|
|
45
|
+
|
|
46
|
+
@optional
|
|
47
|
+
- (NSArray<RTC_OBJC_TYPE(RTCVideoCodecInfo) *> *)implementations;
|
|
48
|
+
- (nullable id<RTC_OBJC_TYPE(RTCVideoEncoderSelector)>)encoderSelector;
|
|
49
|
+
|
|
50
|
+
@end
|
|
51
|
+
|
|
52
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoEncoderFactory.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderFactoryH264) : NSObject <RTC_OBJC_TYPE(RTCVideoEncoderFactory)>
|
|
18
|
+
@end
|
|
@@ -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 <Foundation/Foundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCMacros.h>
|
|
14
|
+
#import <WebRTC/RTCVideoCodecInfo.h>
|
|
15
|
+
#import <WebRTC/RTCVideoEncoder.h>
|
|
16
|
+
|
|
17
|
+
RTC_OBJC_EXPORT
|
|
18
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderH264) : NSObject <RTC_OBJC_TYPE(RTCVideoEncoder)>
|
|
19
|
+
|
|
20
|
+
- (instancetype)initWithCodecInfo:(RTC_OBJC_TYPE(RTCVideoCodecInfo) *)codecInfo;
|
|
21
|
+
|
|
22
|
+
@end
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
/** QP thresholds for encoder. Corresponds to webrtc::VideoEncoder::QpThresholds. */
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderQpThresholds) : NSObject
|
|
20
|
+
|
|
21
|
+
- (instancetype)initWithThresholdsLow:(NSInteger)low high:(NSInteger)high;
|
|
22
|
+
|
|
23
|
+
@property(nonatomic, readonly) NSInteger low;
|
|
24
|
+
@property(nonatomic, readonly) NSInteger high;
|
|
25
|
+
|
|
26
|
+
@end
|
|
27
|
+
|
|
28
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
typedef NS_ENUM(NSUInteger, RTCVideoCodecMode) {
|
|
18
|
+
RTCVideoCodecModeRealtimeVideo,
|
|
19
|
+
RTCVideoCodecModeScreensharing,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** Settings for encoder. Corresponds to webrtc::VideoCodec. */
|
|
23
|
+
RTC_OBJC_EXPORT
|
|
24
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderSettings) : NSObject
|
|
25
|
+
|
|
26
|
+
@property(nonatomic, strong) NSString *name;
|
|
27
|
+
|
|
28
|
+
@property(nonatomic, assign) unsigned short width;
|
|
29
|
+
@property(nonatomic, assign) unsigned short height;
|
|
30
|
+
|
|
31
|
+
@property(nonatomic, assign) unsigned int startBitrate; // kilobits/sec.
|
|
32
|
+
@property(nonatomic, assign) unsigned int maxBitrate;
|
|
33
|
+
@property(nonatomic, assign) unsigned int minBitrate;
|
|
34
|
+
|
|
35
|
+
@property(nonatomic, assign) uint32_t maxFramerate;
|
|
36
|
+
|
|
37
|
+
@property(nonatomic, assign) unsigned int qpMax;
|
|
38
|
+
@property(nonatomic, assign) RTCVideoCodecMode mode;
|
|
39
|
+
|
|
40
|
+
@end
|
|
41
|
+
|
|
42
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
#import <WebRTC/RTCVideoEncoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderVP8) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a VP8 encoder that can be returned from a RTCVideoEncoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoEncoder)>)vp8Encoder;
|
|
24
|
+
|
|
25
|
+
@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/RTCMacros.h>
|
|
14
|
+
#import <WebRTC/RTCVideoEncoder.h>
|
|
15
|
+
|
|
16
|
+
RTC_OBJC_EXPORT
|
|
17
|
+
@interface RTC_OBJC_TYPE (RTCVideoEncoderVP9) : NSObject
|
|
18
|
+
|
|
19
|
+
/* This returns a VP9 encoder that can be returned from a RTCVideoEncoderFactory injected into
|
|
20
|
+
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
|
|
21
|
+
* used independently from the RTCPeerConnectionFactory.
|
|
22
|
+
*/
|
|
23
|
+
+ (id<RTC_OBJC_TYPE(RTCVideoEncoder)>)vp9Encoder;
|
|
24
|
+
|
|
25
|
+
+ (bool)isSupported;
|
|
26
|
+
|
|
27
|
+
@end
|