@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,28 @@
|
|
|
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/RTCYUVPlanarBuffer.h>
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/** Extension of the YUV planar data buffer with mutable data access */
|
|
18
|
+
RTC_OBJC_EXPORT
|
|
19
|
+
@protocol RTC_OBJC_TYPE
|
|
20
|
+
(RTCMutableYUVPlanarBuffer)<RTC_OBJC_TYPE(RTCYUVPlanarBuffer)>
|
|
21
|
+
|
|
22
|
+
@property(nonatomic, readonly) uint8_t *mutableDataY;
|
|
23
|
+
@property(nonatomic, readonly) uint8_t *mutableDataU;
|
|
24
|
+
@property(nonatomic, readonly) uint8_t *mutableDataV;
|
|
25
|
+
|
|
26
|
+
@end
|
|
27
|
+
|
|
28
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by a BSD-style license
|
|
5
|
+
* that can be found in the LICENSE file in the root of the source
|
|
6
|
+
* tree. An additional intellectual property rights grant can be found
|
|
7
|
+
* in the file PATENTS. All contributing project authors may
|
|
8
|
+
* be found in the AUTHORS file in the root of the source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#import <AVFoundation/AVFoundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCI420Buffer.h>
|
|
14
|
+
#import <WebRTC/RTCMacros.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
/** RTCI420Buffer implements the RTCI420Buffer protocol */
|
|
19
|
+
RTC_OBJC_EXPORT
|
|
20
|
+
@interface RTC_OBJC_TYPE (RTCI420Buffer) : NSObject<RTC_OBJC_TYPE(RTCI420Buffer)>
|
|
21
|
+
@end
|
|
22
|
+
|
|
23
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,24 @@
|
|
|
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/RTCMutableI420Buffer.h>
|
|
15
|
+
#import <WebRTC/RTCNativeI420Buffer.h>
|
|
16
|
+
|
|
17
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
/** Mutable version of RTCI420Buffer */
|
|
20
|
+
RTC_OBJC_EXPORT
|
|
21
|
+
@interface RTC_OBJC_TYPE (RTCMutableI420Buffer) : RTC_OBJC_TYPE(RTCI420Buffer)<RTC_OBJC_TYPE(RTCMutableI420Buffer)>
|
|
22
|
+
@end
|
|
23
|
+
|
|
24
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by a BSD-style license
|
|
5
|
+
* that can be found in the LICENSE file in the root of the source
|
|
6
|
+
* tree. An additional intellectual property rights grant can be found
|
|
7
|
+
* in the file PATENTS. All contributing project authors may
|
|
8
|
+
* be found in the AUTHORS file in the root of the source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#import <Foundation/Foundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCMacros.h>
|
|
14
|
+
|
|
15
|
+
@class RTC_OBJC_TYPE(RTCConfiguration);
|
|
16
|
+
@class RTC_OBJC_TYPE(RTCDataChannel);
|
|
17
|
+
@class RTC_OBJC_TYPE(RTCDataChannelConfiguration);
|
|
18
|
+
@class RTC_OBJC_TYPE(RTCIceCandidate);
|
|
19
|
+
@class RTC_OBJC_TYPE(RTCIceCandidateErrorEvent);
|
|
20
|
+
@class RTC_OBJC_TYPE(RTCMediaConstraints);
|
|
21
|
+
@class RTC_OBJC_TYPE(RTCMediaStream);
|
|
22
|
+
@class RTC_OBJC_TYPE(RTCMediaStreamTrack);
|
|
23
|
+
@class RTC_OBJC_TYPE(RTCPeerConnectionFactory);
|
|
24
|
+
@class RTC_OBJC_TYPE(RTCRtpReceiver);
|
|
25
|
+
@class RTC_OBJC_TYPE(RTCRtpSender);
|
|
26
|
+
@class RTC_OBJC_TYPE(RTCRtpTransceiver);
|
|
27
|
+
@class RTC_OBJC_TYPE(RTCRtpTransceiverInit);
|
|
28
|
+
@class RTC_OBJC_TYPE(RTCSessionDescription);
|
|
29
|
+
@class RTC_OBJC_TYPE(RTCStatisticsReport);
|
|
30
|
+
@class RTC_OBJC_TYPE(RTCLegacyStatsReport);
|
|
31
|
+
|
|
32
|
+
typedef NS_ENUM(NSInteger, RTCRtpMediaType);
|
|
33
|
+
|
|
34
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
35
|
+
|
|
36
|
+
extern NSString *const kRTCPeerConnectionErrorDomain;
|
|
37
|
+
extern int const kRTCSessionDescriptionErrorCode;
|
|
38
|
+
|
|
39
|
+
/** Represents the signaling state of the peer connection. */
|
|
40
|
+
typedef NS_ENUM(NSInteger, RTCSignalingState) {
|
|
41
|
+
RTCSignalingStateStable,
|
|
42
|
+
RTCSignalingStateHaveLocalOffer,
|
|
43
|
+
RTCSignalingStateHaveLocalPrAnswer,
|
|
44
|
+
RTCSignalingStateHaveRemoteOffer,
|
|
45
|
+
RTCSignalingStateHaveRemotePrAnswer,
|
|
46
|
+
// Not an actual state, represents the total number of states.
|
|
47
|
+
RTCSignalingStateClosed,
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** Represents the ice connection state of the peer connection. */
|
|
51
|
+
typedef NS_ENUM(NSInteger, RTCIceConnectionState) {
|
|
52
|
+
RTCIceConnectionStateNew,
|
|
53
|
+
RTCIceConnectionStateChecking,
|
|
54
|
+
RTCIceConnectionStateConnected,
|
|
55
|
+
RTCIceConnectionStateCompleted,
|
|
56
|
+
RTCIceConnectionStateFailed,
|
|
57
|
+
RTCIceConnectionStateDisconnected,
|
|
58
|
+
RTCIceConnectionStateClosed,
|
|
59
|
+
RTCIceConnectionStateCount,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** Represents the combined ice+dtls connection state of the peer connection. */
|
|
63
|
+
typedef NS_ENUM(NSInteger, RTCPeerConnectionState) {
|
|
64
|
+
RTCPeerConnectionStateNew,
|
|
65
|
+
RTCPeerConnectionStateConnecting,
|
|
66
|
+
RTCPeerConnectionStateConnected,
|
|
67
|
+
RTCPeerConnectionStateDisconnected,
|
|
68
|
+
RTCPeerConnectionStateFailed,
|
|
69
|
+
RTCPeerConnectionStateClosed,
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** Represents the ice gathering state of the peer connection. */
|
|
73
|
+
typedef NS_ENUM(NSInteger, RTCIceGatheringState) {
|
|
74
|
+
RTCIceGatheringStateNew,
|
|
75
|
+
RTCIceGatheringStateGathering,
|
|
76
|
+
RTCIceGatheringStateComplete,
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** Represents the stats output level. */
|
|
80
|
+
typedef NS_ENUM(NSInteger, RTCStatsOutputLevel) {
|
|
81
|
+
RTCStatsOutputLevelStandard,
|
|
82
|
+
RTCStatsOutputLevelDebug,
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
typedef void (^RTCCreateSessionDescriptionCompletionHandler)(
|
|
86
|
+
RTC_OBJC_TYPE(RTCSessionDescription) *_Nullable sdp, NSError *_Nullable error);
|
|
87
|
+
|
|
88
|
+
typedef void (^RTCSetSessionDescriptionCompletionHandler)(NSError *_Nullable error);
|
|
89
|
+
|
|
90
|
+
@class RTC_OBJC_TYPE(RTCPeerConnection);
|
|
91
|
+
|
|
92
|
+
RTC_OBJC_EXPORT
|
|
93
|
+
@protocol RTC_OBJC_TYPE
|
|
94
|
+
(RTCPeerConnectionDelegate)<NSObject>
|
|
95
|
+
|
|
96
|
+
/** Called when the SignalingState changed. */
|
|
97
|
+
- (void)peerConnection
|
|
98
|
+
: (RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection didChangeSignalingState
|
|
99
|
+
: (RTCSignalingState)stateChanged;
|
|
100
|
+
|
|
101
|
+
/** Called when media is received on a new stream from remote peer. */
|
|
102
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
103
|
+
didAddStream:(RTC_OBJC_TYPE(RTCMediaStream) *)stream;
|
|
104
|
+
|
|
105
|
+
/** Called when a remote peer closes a stream.
|
|
106
|
+
* This is not called when RTCSdpSemanticsUnifiedPlan is specified.
|
|
107
|
+
*/
|
|
108
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
109
|
+
didRemoveStream:(RTC_OBJC_TYPE(RTCMediaStream) *)stream;
|
|
110
|
+
|
|
111
|
+
/** Called when negotiation is needed, for example ICE has restarted. */
|
|
112
|
+
- (void)peerConnectionShouldNegotiate:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection;
|
|
113
|
+
|
|
114
|
+
/** Called any time the IceConnectionState changes. */
|
|
115
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
116
|
+
didChangeIceConnectionState:(RTCIceConnectionState)newState;
|
|
117
|
+
|
|
118
|
+
/** Called any time the IceGatheringState changes. */
|
|
119
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
120
|
+
didChangeIceGatheringState:(RTCIceGatheringState)newState;
|
|
121
|
+
|
|
122
|
+
/** New ice candidate has been found. */
|
|
123
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
124
|
+
didGenerateIceCandidate:(RTC_OBJC_TYPE(RTCIceCandidate) *)candidate;
|
|
125
|
+
|
|
126
|
+
/** Called when a group of local Ice candidates have been removed. */
|
|
127
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
128
|
+
didRemoveIceCandidates:(NSArray<RTC_OBJC_TYPE(RTCIceCandidate) *> *)candidates;
|
|
129
|
+
|
|
130
|
+
/** New data channel has been opened. */
|
|
131
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
132
|
+
didOpenDataChannel:(RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel;
|
|
133
|
+
|
|
134
|
+
/** Called when signaling indicates a transceiver will be receiving media from
|
|
135
|
+
* the remote endpoint.
|
|
136
|
+
* This is only called with RTCSdpSemanticsUnifiedPlan specified.
|
|
137
|
+
*/
|
|
138
|
+
@optional
|
|
139
|
+
/** Called any time the IceConnectionState changes following standardized
|
|
140
|
+
* transition. */
|
|
141
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
142
|
+
didChangeStandardizedIceConnectionState:(RTCIceConnectionState)newState;
|
|
143
|
+
|
|
144
|
+
/** Called any time the PeerConnectionState changes. */
|
|
145
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
146
|
+
didChangeConnectionState:(RTCPeerConnectionState)newState;
|
|
147
|
+
|
|
148
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
149
|
+
didStartReceivingOnTransceiver:(RTC_OBJC_TYPE(RTCRtpTransceiver) *)transceiver;
|
|
150
|
+
|
|
151
|
+
/** Called when a receiver and its track are created. */
|
|
152
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
153
|
+
didAddReceiver:(RTC_OBJC_TYPE(RTCRtpReceiver) *)rtpReceiver
|
|
154
|
+
streams:(NSArray<RTC_OBJC_TYPE(RTCMediaStream) *> *)mediaStreams;
|
|
155
|
+
|
|
156
|
+
/** Called when the receiver and its track are removed. */
|
|
157
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
158
|
+
didRemoveReceiver:(RTC_OBJC_TYPE(RTCRtpReceiver) *)rtpReceiver;
|
|
159
|
+
|
|
160
|
+
/** Called when the selected ICE candidate pair is changed. */
|
|
161
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
162
|
+
didChangeLocalCandidate:(RTC_OBJC_TYPE(RTCIceCandidate) *)local
|
|
163
|
+
remoteCandidate:(RTC_OBJC_TYPE(RTCIceCandidate) *)remote
|
|
164
|
+
lastReceivedMs:(int)lastDataReceivedMs
|
|
165
|
+
changeReason:(NSString *)reason;
|
|
166
|
+
|
|
167
|
+
/** Called when gathering of an ICE candidate failed. */
|
|
168
|
+
- (void)peerConnection:(RTC_OBJC_TYPE(RTCPeerConnection) *)peerConnection
|
|
169
|
+
didFailToGatherIceCandidate:(RTC_OBJC_TYPE(RTCIceCandidateErrorEvent) *)event;
|
|
170
|
+
|
|
171
|
+
@end
|
|
172
|
+
|
|
173
|
+
RTC_OBJC_EXPORT
|
|
174
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnection) : NSObject
|
|
175
|
+
|
|
176
|
+
/** The object that will be notifed about events such as state changes and
|
|
177
|
+
* streams being added or removed.
|
|
178
|
+
*/
|
|
179
|
+
@property(nonatomic, weak, nullable) id<RTC_OBJC_TYPE(RTCPeerConnectionDelegate)> delegate;
|
|
180
|
+
/** This property is not available with RTCSdpSemanticsUnifiedPlan. Please use
|
|
181
|
+
* `senders` instead.
|
|
182
|
+
*/
|
|
183
|
+
@property(nonatomic, readonly) NSArray<RTC_OBJC_TYPE(RTCMediaStream) *> *localStreams;
|
|
184
|
+
@property(nonatomic, readonly, nullable) RTC_OBJC_TYPE(RTCSessionDescription) * localDescription;
|
|
185
|
+
@property(nonatomic, readonly, nullable) RTC_OBJC_TYPE(RTCSessionDescription) * remoteDescription;
|
|
186
|
+
@property(nonatomic, readonly) RTCSignalingState signalingState;
|
|
187
|
+
@property(nonatomic, readonly) RTCIceConnectionState iceConnectionState;
|
|
188
|
+
@property(nonatomic, readonly) RTCPeerConnectionState connectionState;
|
|
189
|
+
@property(nonatomic, readonly) RTCIceGatheringState iceGatheringState;
|
|
190
|
+
@property(nonatomic, readonly, copy) RTC_OBJC_TYPE(RTCConfiguration) * configuration;
|
|
191
|
+
|
|
192
|
+
/** Gets all RTCRtpSenders associated with this peer connection.
|
|
193
|
+
* Note: reading this property returns different instances of RTCRtpSender.
|
|
194
|
+
* Use isEqual: instead of == to compare RTCRtpSender instances.
|
|
195
|
+
*/
|
|
196
|
+
@property(nonatomic, readonly) NSArray<RTC_OBJC_TYPE(RTCRtpSender) *> *senders;
|
|
197
|
+
|
|
198
|
+
/** Gets all RTCRtpReceivers associated with this peer connection.
|
|
199
|
+
* Note: reading this property returns different instances of RTCRtpReceiver.
|
|
200
|
+
* Use isEqual: instead of == to compare RTCRtpReceiver instances.
|
|
201
|
+
*/
|
|
202
|
+
@property(nonatomic, readonly) NSArray<RTC_OBJC_TYPE(RTCRtpReceiver) *> *receivers;
|
|
203
|
+
|
|
204
|
+
/** Gets all RTCRtpTransceivers associated with this peer connection.
|
|
205
|
+
* Note: reading this property returns different instances of
|
|
206
|
+
* RTCRtpTransceiver. Use isEqual: instead of == to compare
|
|
207
|
+
* RTCRtpTransceiver instances. This is only available with
|
|
208
|
+
* RTCSdpSemanticsUnifiedPlan specified.
|
|
209
|
+
*/
|
|
210
|
+
@property(nonatomic, readonly) NSArray<RTC_OBJC_TYPE(RTCRtpTransceiver) *> *transceivers;
|
|
211
|
+
|
|
212
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
213
|
+
|
|
214
|
+
/** Sets the PeerConnection's global configuration to `configuration`.
|
|
215
|
+
* Any changes to STUN/TURN servers or ICE candidate policy will affect the
|
|
216
|
+
* next gathering phase, and cause the next call to createOffer to generate
|
|
217
|
+
* new ICE credentials. Note that the BUNDLE and RTCP-multiplexing policies
|
|
218
|
+
* cannot be changed with this method.
|
|
219
|
+
*/
|
|
220
|
+
- (BOOL)setConfiguration:(RTC_OBJC_TYPE(RTCConfiguration) *)configuration;
|
|
221
|
+
|
|
222
|
+
/** Terminate all media and close the transport. */
|
|
223
|
+
- (void)close;
|
|
224
|
+
|
|
225
|
+
/** Provide a remote candidate to the ICE Agent. */
|
|
226
|
+
- (void)addIceCandidate:(RTC_OBJC_TYPE(RTCIceCandidate) *)candidate
|
|
227
|
+
DEPRECATED_MSG_ATTRIBUTE("Please use addIceCandidate:completionHandler: instead");
|
|
228
|
+
|
|
229
|
+
/** Provide a remote candidate to the ICE Agent. */
|
|
230
|
+
- (void)addIceCandidate:(RTC_OBJC_TYPE(RTCIceCandidate) *)candidate
|
|
231
|
+
completionHandler:(void (^)(NSError *_Nullable error))completionHandler;
|
|
232
|
+
|
|
233
|
+
/** Remove a group of remote candidates from the ICE Agent. */
|
|
234
|
+
- (void)removeIceCandidates:(NSArray<RTC_OBJC_TYPE(RTCIceCandidate) *> *)candidates;
|
|
235
|
+
|
|
236
|
+
/** Add a new media stream to be sent on this peer connection.
|
|
237
|
+
* This method is not supported with RTCSdpSemanticsUnifiedPlan. Please use
|
|
238
|
+
* addTrack instead.
|
|
239
|
+
*/
|
|
240
|
+
- (void)addStream:(RTC_OBJC_TYPE(RTCMediaStream) *)stream;
|
|
241
|
+
|
|
242
|
+
/** Remove the given media stream from this peer connection.
|
|
243
|
+
* This method is not supported with RTCSdpSemanticsUnifiedPlan. Please use
|
|
244
|
+
* removeTrack instead.
|
|
245
|
+
*/
|
|
246
|
+
- (void)removeStream:(RTC_OBJC_TYPE(RTCMediaStream) *)stream;
|
|
247
|
+
|
|
248
|
+
/** Add a new media stream track to be sent on this peer connection, and return
|
|
249
|
+
* the newly created RTCRtpSender. The RTCRtpSender will be
|
|
250
|
+
* associated with the streams specified in the `streamIds` list.
|
|
251
|
+
*
|
|
252
|
+
* Errors: If an error occurs, returns nil. An error can occur if:
|
|
253
|
+
* - A sender already exists for the track.
|
|
254
|
+
* - The peer connection is closed.
|
|
255
|
+
*/
|
|
256
|
+
- (nullable RTC_OBJC_TYPE(RTCRtpSender) *)addTrack:(RTC_OBJC_TYPE(RTCMediaStreamTrack) *)track
|
|
257
|
+
streamIds:(NSArray<NSString *> *)streamIds;
|
|
258
|
+
|
|
259
|
+
/** With PlanB semantics, removes an RTCRtpSender from this peer connection.
|
|
260
|
+
*
|
|
261
|
+
* With UnifiedPlan semantics, sets sender's track to null and removes the
|
|
262
|
+
* send component from the associated RTCRtpTransceiver's direction.
|
|
263
|
+
*
|
|
264
|
+
* Returns YES on success.
|
|
265
|
+
*/
|
|
266
|
+
- (BOOL)removeTrack:(RTC_OBJC_TYPE(RTCRtpSender) *)sender;
|
|
267
|
+
|
|
268
|
+
/** addTransceiver creates a new RTCRtpTransceiver and adds it to the set of
|
|
269
|
+
* transceivers. Adding a transceiver will cause future calls to CreateOffer
|
|
270
|
+
* to add a media description for the corresponding transceiver.
|
|
271
|
+
*
|
|
272
|
+
* The initial value of `mid` in the returned transceiver is nil. Setting a
|
|
273
|
+
* new session description may change it to a non-nil value.
|
|
274
|
+
*
|
|
275
|
+
* https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtransceiver
|
|
276
|
+
*
|
|
277
|
+
* Optionally, an RtpTransceiverInit structure can be specified to configure
|
|
278
|
+
* the transceiver from construction. If not specified, the transceiver will
|
|
279
|
+
* default to having a direction of kSendRecv and not be part of any streams.
|
|
280
|
+
*
|
|
281
|
+
* These methods are only available when Unified Plan is enabled (see
|
|
282
|
+
* RTCConfiguration).
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
/** Adds a transceiver with a sender set to transmit the given track. The kind
|
|
286
|
+
* of the transceiver (and sender/receiver) will be derived from the kind of
|
|
287
|
+
* the track.
|
|
288
|
+
*/
|
|
289
|
+
- (nullable RTC_OBJC_TYPE(RTCRtpTransceiver) *)addTransceiverWithTrack:
|
|
290
|
+
(RTC_OBJC_TYPE(RTCMediaStreamTrack) *)track;
|
|
291
|
+
- (nullable RTC_OBJC_TYPE(RTCRtpTransceiver) *)
|
|
292
|
+
addTransceiverWithTrack:(RTC_OBJC_TYPE(RTCMediaStreamTrack) *)track
|
|
293
|
+
init:(RTC_OBJC_TYPE(RTCRtpTransceiverInit) *)init;
|
|
294
|
+
|
|
295
|
+
/** Adds a transceiver with the given kind. Can either be RTCRtpMediaTypeAudio
|
|
296
|
+
* or RTCRtpMediaTypeVideo.
|
|
297
|
+
*/
|
|
298
|
+
- (nullable RTC_OBJC_TYPE(RTCRtpTransceiver) *)addTransceiverOfType:(RTCRtpMediaType)mediaType;
|
|
299
|
+
- (nullable RTC_OBJC_TYPE(RTCRtpTransceiver) *)
|
|
300
|
+
addTransceiverOfType:(RTCRtpMediaType)mediaType
|
|
301
|
+
init:(RTC_OBJC_TYPE(RTCRtpTransceiverInit) *)init;
|
|
302
|
+
|
|
303
|
+
/** Tells the PeerConnection that ICE should be restarted. This triggers a need
|
|
304
|
+
* for negotiation and subsequent offerForConstraints:completionHandler call will act as if
|
|
305
|
+
* RTCOfferAnswerOptions::ice_restart is true.
|
|
306
|
+
*/
|
|
307
|
+
- (void)restartIce;
|
|
308
|
+
|
|
309
|
+
/** Generate an SDP offer. */
|
|
310
|
+
- (void)offerForConstraints:(RTC_OBJC_TYPE(RTCMediaConstraints) *)constraints
|
|
311
|
+
completionHandler:(RTCCreateSessionDescriptionCompletionHandler)completionHandler;
|
|
312
|
+
|
|
313
|
+
/** Generate an SDP answer. */
|
|
314
|
+
- (void)answerForConstraints:(RTC_OBJC_TYPE(RTCMediaConstraints) *)constraints
|
|
315
|
+
completionHandler:(RTCCreateSessionDescriptionCompletionHandler)completionHandler;
|
|
316
|
+
|
|
317
|
+
/** Apply the supplied RTCSessionDescription as the local description. */
|
|
318
|
+
- (void)setLocalDescription:(RTC_OBJC_TYPE(RTCSessionDescription) *)sdp
|
|
319
|
+
completionHandler:(RTCSetSessionDescriptionCompletionHandler)completionHandler;
|
|
320
|
+
|
|
321
|
+
/** Creates an offer or answer (depending on current signaling state) and sets
|
|
322
|
+
* it as the local session description. */
|
|
323
|
+
- (void)setLocalDescriptionWithCompletionHandler:
|
|
324
|
+
(RTCSetSessionDescriptionCompletionHandler)completionHandler;
|
|
325
|
+
|
|
326
|
+
/** Apply the supplied RTCSessionDescription as the remote description. */
|
|
327
|
+
- (void)setRemoteDescription:(RTC_OBJC_TYPE(RTCSessionDescription) *)sdp
|
|
328
|
+
completionHandler:(RTCSetSessionDescriptionCompletionHandler)completionHandler;
|
|
329
|
+
|
|
330
|
+
/** Limits the bandwidth allocated for all RTP streams sent by this
|
|
331
|
+
* PeerConnection. Nil parameters will be unchanged. Setting
|
|
332
|
+
* `currentBitrateBps` will force the available bitrate estimate to the given
|
|
333
|
+
* value. Returns YES if the parameters were successfully updated.
|
|
334
|
+
*/
|
|
335
|
+
- (BOOL)setBweMinBitrateBps:(nullable NSNumber *)minBitrateBps
|
|
336
|
+
currentBitrateBps:(nullable NSNumber *)currentBitrateBps
|
|
337
|
+
maxBitrateBps:(nullable NSNumber *)maxBitrateBps;
|
|
338
|
+
|
|
339
|
+
/** Start or stop recording an Rtc EventLog. */
|
|
340
|
+
- (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath maxSizeInBytes:(int64_t)maxSizeInBytes;
|
|
341
|
+
- (void)stopRtcEventLog;
|
|
342
|
+
|
|
343
|
+
@end
|
|
344
|
+
|
|
345
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnection)
|
|
346
|
+
(Media)
|
|
347
|
+
|
|
348
|
+
/** Create an RTCRtpSender with the specified kind and media stream ID.
|
|
349
|
+
* See RTCMediaStreamTrack.h for available kinds.
|
|
350
|
+
* This method is not supported with RTCSdpSemanticsUnifiedPlan. Please use
|
|
351
|
+
* addTransceiver instead.
|
|
352
|
+
*/
|
|
353
|
+
- (RTC_OBJC_TYPE(RTCRtpSender) *)senderWithKind : (NSString *)kind streamId
|
|
354
|
+
: (NSString *)streamId;
|
|
355
|
+
|
|
356
|
+
@end
|
|
357
|
+
|
|
358
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnection)
|
|
359
|
+
(DataChannel)
|
|
360
|
+
|
|
361
|
+
/** Create a new data channel with the given label and configuration. */
|
|
362
|
+
- (nullable RTC_OBJC_TYPE(RTCDataChannel) *)dataChannelForLabel
|
|
363
|
+
: (NSString *)label configuration : (RTC_OBJC_TYPE(RTCDataChannelConfiguration) *)configuration;
|
|
364
|
+
|
|
365
|
+
@end
|
|
366
|
+
|
|
367
|
+
typedef void (^RTCStatisticsCompletionHandler)(RTC_OBJC_TYPE(RTCStatisticsReport) *);
|
|
368
|
+
|
|
369
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnection)
|
|
370
|
+
(Stats)
|
|
371
|
+
|
|
372
|
+
/** Gather stats for the given RTCMediaStreamTrack. If `mediaStreamTrack` is nil
|
|
373
|
+
* statistics are gathered for all tracks.
|
|
374
|
+
*/
|
|
375
|
+
- (void)statsForTrack
|
|
376
|
+
: (nullable RTC_OBJC_TYPE(RTCMediaStreamTrack) *)mediaStreamTrack statsOutputLevel
|
|
377
|
+
: (RTCStatsOutputLevel)statsOutputLevel completionHandler
|
|
378
|
+
: (nullable void (^)(NSArray<RTC_OBJC_TYPE(RTCLegacyStatsReport) *> *stats))completionHandler;
|
|
379
|
+
|
|
380
|
+
/** Gather statistic through the v2 statistics API. */
|
|
381
|
+
- (void)statisticsWithCompletionHandler:(RTCStatisticsCompletionHandler)completionHandler;
|
|
382
|
+
|
|
383
|
+
/** Spec-compliant getStats() performing the stats selection algorithm with the
|
|
384
|
+
* sender.
|
|
385
|
+
*/
|
|
386
|
+
- (void)statisticsForSender:(RTC_OBJC_TYPE(RTCRtpSender) *)sender
|
|
387
|
+
completionHandler:(RTCStatisticsCompletionHandler)completionHandler;
|
|
388
|
+
|
|
389
|
+
/** Spec-compliant getStats() performing the stats selection algorithm with the
|
|
390
|
+
* receiver.
|
|
391
|
+
*/
|
|
392
|
+
- (void)statisticsForReceiver:(RTC_OBJC_TYPE(RTCRtpReceiver) *)receiver
|
|
393
|
+
completionHandler:(RTCStatisticsCompletionHandler)completionHandler;
|
|
394
|
+
|
|
395
|
+
@end
|
|
396
|
+
|
|
397
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by a BSD-style license
|
|
5
|
+
* that can be found in the LICENSE file in the root of the source
|
|
6
|
+
* tree. An additional intellectual property rights grant can be found
|
|
7
|
+
* in the file PATENTS. All contributing project authors may
|
|
8
|
+
* be found in the AUTHORS file in the root of the source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#import <Foundation/Foundation.h>
|
|
12
|
+
|
|
13
|
+
#import <WebRTC/RTCMacros.h>
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
@class RTC_OBJC_TYPE(RTCAudioSource);
|
|
18
|
+
@class RTC_OBJC_TYPE(RTCAudioTrack);
|
|
19
|
+
@class RTC_OBJC_TYPE(RTCConfiguration);
|
|
20
|
+
@class RTC_OBJC_TYPE(RTCMediaConstraints);
|
|
21
|
+
@class RTC_OBJC_TYPE(RTCMediaStream);
|
|
22
|
+
@class RTC_OBJC_TYPE(RTCPeerConnection);
|
|
23
|
+
@class RTC_OBJC_TYPE(RTCVideoSource);
|
|
24
|
+
@class RTC_OBJC_TYPE(RTCVideoTrack);
|
|
25
|
+
@class RTC_OBJC_TYPE(RTCPeerConnectionFactoryOptions);
|
|
26
|
+
@protocol RTC_OBJC_TYPE
|
|
27
|
+
(RTCPeerConnectionDelegate);
|
|
28
|
+
@protocol RTC_OBJC_TYPE
|
|
29
|
+
(RTCVideoDecoderFactory);
|
|
30
|
+
@protocol RTC_OBJC_TYPE
|
|
31
|
+
(RTCVideoEncoderFactory);
|
|
32
|
+
@protocol RTC_OBJC_TYPE
|
|
33
|
+
(RTCSSLCertificateVerifier);
|
|
34
|
+
@protocol RTC_OBJC_TYPE
|
|
35
|
+
(RTCAudioDevice);
|
|
36
|
+
|
|
37
|
+
RTC_OBJC_EXPORT
|
|
38
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnectionFactory) : NSObject
|
|
39
|
+
|
|
40
|
+
/* Initialize object with default H264 video encoder/decoder factories and default ADM */
|
|
41
|
+
- (instancetype)init;
|
|
42
|
+
|
|
43
|
+
/* Initialize object with injectable video encoder/decoder factories and default ADM */
|
|
44
|
+
- (instancetype)
|
|
45
|
+
initWithEncoderFactory:(nullable id<RTC_OBJC_TYPE(RTCVideoEncoderFactory)>)encoderFactory
|
|
46
|
+
decoderFactory:(nullable id<RTC_OBJC_TYPE(RTCVideoDecoderFactory)>)decoderFactory;
|
|
47
|
+
|
|
48
|
+
/* Initialize object with injectable video encoder/decoder factories and injectable ADM */
|
|
49
|
+
- (instancetype)
|
|
50
|
+
initWithEncoderFactory:(nullable id<RTC_OBJC_TYPE(RTCVideoEncoderFactory)>)encoderFactory
|
|
51
|
+
decoderFactory:(nullable id<RTC_OBJC_TYPE(RTCVideoDecoderFactory)>)decoderFactory
|
|
52
|
+
audioDevice:(nullable id<RTC_OBJC_TYPE(RTCAudioDevice)>)audioDevice;
|
|
53
|
+
|
|
54
|
+
/** Initialize an RTCAudioSource with constraints. */
|
|
55
|
+
- (RTC_OBJC_TYPE(RTCAudioSource) *)audioSourceWithConstraints:
|
|
56
|
+
(nullable RTC_OBJC_TYPE(RTCMediaConstraints) *)constraints;
|
|
57
|
+
|
|
58
|
+
/** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio source
|
|
59
|
+
* with no constraints.
|
|
60
|
+
*/
|
|
61
|
+
- (RTC_OBJC_TYPE(RTCAudioTrack) *)audioTrackWithTrackId:(NSString *)trackId;
|
|
62
|
+
|
|
63
|
+
/** Initialize an RTCAudioTrack with a source and an id. */
|
|
64
|
+
- (RTC_OBJC_TYPE(RTCAudioTrack) *)audioTrackWithSource:(RTC_OBJC_TYPE(RTCAudioSource) *)source
|
|
65
|
+
trackId:(NSString *)trackId;
|
|
66
|
+
|
|
67
|
+
/** Initialize a generic RTCVideoSource. The RTCVideoSource should be
|
|
68
|
+
* passed to a RTCVideoCapturer implementation, e.g.
|
|
69
|
+
* RTCCameraVideoCapturer, in order to produce frames.
|
|
70
|
+
*/
|
|
71
|
+
- (RTC_OBJC_TYPE(RTCVideoSource) *)videoSource;
|
|
72
|
+
|
|
73
|
+
/** Initialize a generic RTCVideoSource with he posibility of marking
|
|
74
|
+
* it as usable for screen sharing. The RTCVideoSource should be
|
|
75
|
+
* passed to a RTCVideoCapturer implementation, e.g.
|
|
76
|
+
* RTCCameraVideoCapturer, in order to produce frames.
|
|
77
|
+
*/
|
|
78
|
+
- (RTC_OBJC_TYPE(RTCVideoSource) *)videoSourceForScreenCast:(BOOL)forScreenCast;
|
|
79
|
+
|
|
80
|
+
/** Initialize an RTCVideoTrack with a source and an id. */
|
|
81
|
+
- (RTC_OBJC_TYPE(RTCVideoTrack) *)videoTrackWithSource:(RTC_OBJC_TYPE(RTCVideoSource) *)source
|
|
82
|
+
trackId:(NSString *)trackId;
|
|
83
|
+
|
|
84
|
+
/** Initialize an RTCMediaStream with an id. */
|
|
85
|
+
- (RTC_OBJC_TYPE(RTCMediaStream) *)mediaStreamWithStreamId:(NSString *)streamId;
|
|
86
|
+
|
|
87
|
+
/** Initialize an RTCPeerConnection with a configuration, constraints, and
|
|
88
|
+
* delegate.
|
|
89
|
+
*/
|
|
90
|
+
- (nullable RTC_OBJC_TYPE(RTCPeerConnection) *)
|
|
91
|
+
peerConnectionWithConfiguration:(RTC_OBJC_TYPE(RTCConfiguration) *)configuration
|
|
92
|
+
constraints:(RTC_OBJC_TYPE(RTCMediaConstraints) *)constraints
|
|
93
|
+
delegate:(nullable id<RTC_OBJC_TYPE(RTCPeerConnectionDelegate)>)delegate;
|
|
94
|
+
|
|
95
|
+
- (nullable RTC_OBJC_TYPE(RTCPeerConnection) *)
|
|
96
|
+
peerConnectionWithConfiguration:(RTC_OBJC_TYPE(RTCConfiguration) *)configuration
|
|
97
|
+
constraints:(RTC_OBJC_TYPE(RTCMediaConstraints) *)constraints
|
|
98
|
+
certificateVerifier:
|
|
99
|
+
(id<RTC_OBJC_TYPE(RTCSSLCertificateVerifier)>)certificateVerifier
|
|
100
|
+
delegate:(nullable id<RTC_OBJC_TYPE(RTCPeerConnectionDelegate)>)delegate;
|
|
101
|
+
|
|
102
|
+
/** Set the options to be used for subsequently created RTCPeerConnections */
|
|
103
|
+
- (void)setOptions:(nonnull RTC_OBJC_TYPE(RTCPeerConnectionFactoryOptions) *)options;
|
|
104
|
+
|
|
105
|
+
/** Start an AecDump recording. This API call will likely change in the future. */
|
|
106
|
+
- (BOOL)startAecDumpWithFilePath:(NSString *)filePath maxSizeInBytes:(int64_t)maxSizeInBytes;
|
|
107
|
+
|
|
108
|
+
/* Stop an active AecDump recording */
|
|
109
|
+
- (void)stopAecDump;
|
|
110
|
+
|
|
111
|
+
@end
|
|
112
|
+
|
|
113
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
RTC_OBJC_EXPORT
|
|
18
|
+
@interface RTC_OBJC_TYPE (RTCPeerConnectionFactoryOptions) : NSObject
|
|
19
|
+
|
|
20
|
+
@property(nonatomic, assign) BOOL disableEncryption;
|
|
21
|
+
|
|
22
|
+
@property(nonatomic, assign) BOOL disableNetworkMonitor;
|
|
23
|
+
|
|
24
|
+
@property(nonatomic, assign) BOOL ignoreLoopbackNetworkAdapter;
|
|
25
|
+
|
|
26
|
+
@property(nonatomic, assign) BOOL ignoreVPNNetworkAdapter;
|
|
27
|
+
|
|
28
|
+
@property(nonatomic, assign) BOOL ignoreCellularNetworkAdapter;
|
|
29
|
+
|
|
30
|
+
@property(nonatomic, assign) BOOL ignoreWiFiNetworkAdapter;
|
|
31
|
+
|
|
32
|
+
@property(nonatomic, assign) BOOL ignoreEthernetNetworkAdapter;
|
|
33
|
+
|
|
34
|
+
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
35
|
+
|
|
36
|
+
@end
|
|
37
|
+
|
|
38
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,30 @@
|
|
|
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 (RTCRtcpParameters) : NSObject
|
|
19
|
+
|
|
20
|
+
/** The Canonical Name used by RTCP. */
|
|
21
|
+
@property(nonatomic, readonly, copy) NSString *cname;
|
|
22
|
+
|
|
23
|
+
/** Whether reduced size RTCP is configured or compound RTCP. */
|
|
24
|
+
@property(nonatomic, assign) BOOL isReducedSize;
|
|
25
|
+
|
|
26
|
+
- (instancetype)init;
|
|
27
|
+
|
|
28
|
+
@end
|
|
29
|
+
|
|
30
|
+
NS_ASSUME_NONNULL_END
|