webrtc/sdk/objc/api/peerconnection
Benjamin Wright ac2f3d14e4 Move CryptoOptions to api/crypto from rtc_base/sslstreamadapter.h
Promotes rtc::CryptoOptions to webrtc::CryptoOptions converting it from class
that only handles SRTP configuration to a more generic structure that can be
used and extended for all per peer connection CryptoOptions that can be on a
given PeerConnection.

Now all SRTP related options are under webrtc::CryptoOptions::Srtp and can be
accessed as crypto_options.srtp.whatever_option_name. This is more inline with
other structures we have in WebRTC such as VideoConfig. As additional features
are added over time this will allow the structure to remain compartmentalized
and concerned components can only request a subset of the overall configuration
structure e.g:

void MySrtpFunction(const webrtc::CryptoOptions::Srtp& srtp_config);

In addition to this it made little sense for sslstreamadapter.h to hold all
Srtp related configuration options. The header has become loo large and takes on
too many responsibilities and spilting this up will lead to more maintainable
code going forward.

This will be used in a future CL to enable configuration options for the newly
supported Frame Crypto.

Change-Id: I99d1be36740c59548c8e62db52d68d738649707f
Bug: webrtc:9681
Reviewed-on: https://webrtc-review.googlesource.com/c/105180
Reviewed-by: Emad Omara <emadomara@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Benjamin Wright <benwright@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25130}
2018-10-11 19:14:42 +00:00
..
RTCAudioSource+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCAudioSource.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCAudioSource.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCAudioTrack+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCAudioTrack.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCAudioTrack.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCCertificate.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCCertificate.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCConfiguration+Native.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCConfiguration+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCConfiguration.h Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCConfiguration.mm Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCDataChannel+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCDataChannel.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCDataChannel.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCDataChannelConfiguration+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCDataChannelConfiguration.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCDataChannelConfiguration.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCDtmfSender+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCDtmfSender.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCDtmfSender.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCEncodedImage+Private.h Move EncodedImage class to api/video/ 2018-10-08 07:37:10 +00:00
RTCEncodedImage+Private.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCFieldTrials.h Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
RTCFieldTrials.mm Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
RTCFileLogger.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCFileLogger.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIceCandidate+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIceCandidate.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCIceCandidate.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIceServer+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIceServer.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCIceServer.mm Revert "Add SSLConfig object to IceServer." 2018-09-12 10:46:04 +00:00
RTCIntervalRange+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIntervalRange.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCIntervalRange.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCLegacyStatsReport+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCLegacyStatsReport.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCLegacyStatsReport.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaConstraints+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaConstraints.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCMediaConstraints.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaSource+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaSource.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCMediaSource.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaStream+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaStream.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCMediaStream.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaStreamTrack+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMediaStreamTrack.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCMediaStreamTrack.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMetrics.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMetrics.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCMetricsSampleInfo+Private.h Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
RTCMetricsSampleInfo.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCMetricsSampleInfo.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnection+DataChannel.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnection+Native.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnection+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnection+Stats.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnection.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCPeerConnection.mm Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCPeerConnectionFactory+Native.h Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCPeerConnectionFactory+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnectionFactory.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCPeerConnectionFactory.mm Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCPeerConnectionFactoryBuilder+DefaultComponents.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnectionFactoryBuilder+DefaultComponents.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnectionFactoryBuilder.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnectionFactoryBuilder.mm Pass MediaTransportFactory to PeerConnectionFactory. 2018-10-08 18:11:06 +00:00
RTCPeerConnectionFactoryOptions+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCPeerConnectionFactoryOptions.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCPeerConnectionFactoryOptions.mm Move CryptoOptions to api/crypto from rtc_base/sslstreamadapter.h 2018-10-11 19:14:42 +00:00
RTCRtcpParameters+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtcpParameters.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtcpParameters.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpCodecParameters+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpCodecParameters.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpCodecParameters.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpEncodingParameters+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpEncodingParameters.h iOS: Add numTemporalLayers to RtpEncodingParameters. 2018-10-03 11:45:58 +00:00
RTCRtpEncodingParameters.mm iOS: Add numTemporalLayers to RtpEncodingParameters. 2018-10-03 11:45:58 +00:00
RTCRtpFragmentationHeader+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpFragmentationHeader+Private.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpHeaderExtension+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpHeaderExtension.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpHeaderExtension.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpParameters+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpParameters.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpParameters.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpReceiver+Native.h Add missing headers to new objective-c API. 2018-10-03 15:56:36 +00:00
RTCRtpReceiver+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpReceiver.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpReceiver.mm Add FrameEncryptor/FrameDecryptor support to Objective C API for WebRTC. 2018-10-02 18:34:32 +00:00
RTCRtpSender+Native.h Add missing headers to new objective-c API. 2018-10-03 15:56:36 +00:00
RTCRtpSender+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpSender.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpSender.mm Add FrameEncryptor/FrameDecryptor support to Objective C API for WebRTC. 2018-10-02 18:34:32 +00:00
RTCRtpTransceiver+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCRtpTransceiver.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCRtpTransceiver.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCSessionDescription+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCSessionDescription.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCSessionDescription.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCSSLAdapter.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCSSLAdapter.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCTracing.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCTracing.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoCodecInfo+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoCodecInfo+Private.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoEncoderSettings+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoEncoderSettings+Private.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoSource+Private.h Reland "[cleanup] Remove useless includes." 2018-10-08 07:44:19 +00:00
RTCVideoSource.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCVideoSource.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoTrack+Private.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoTrack.h Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCVideoTrack.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00