Chromium Code Reviews| Index: webrtc/api/ortc/ortcfactoryinterface.h |
| diff --git a/webrtc/api/ortc/ortcfactoryinterface.h b/webrtc/api/ortc/ortcfactoryinterface.h |
| index 855e3b0b585f00a8caf66e7d30aeb8584b88fb1c..9d08c1c86b2abf9a83105f8baa569542f9ae282d 100644 |
| --- a/webrtc/api/ortc/ortcfactoryinterface.h |
| +++ b/webrtc/api/ortc/ortcfactoryinterface.h |
| @@ -23,6 +23,7 @@ |
| #include "webrtc/api/ortc/packettransportinterface.h" |
| #include "webrtc/api/ortc/rtptransportcontrollerinterface.h" |
| #include "webrtc/api/ortc/rtptransportinterface.h" |
| +#include "webrtc/api/ortc/srtptransportinterface.h" |
| #include "webrtc/api/ortc/udptransportinterface.h" |
| #include "webrtc/api/rtcerror.h" |
| #include "webrtc/api/rtpparameters.h" |
| @@ -126,6 +127,14 @@ class OrtcFactoryInterface { |
| PacketTransportInterface* rtcp, |
| RtpTransportControllerInterface* transport_controller) = 0; |
| + // Creates a SrtpTransport which is an RTP transport that uses SRTP. |
|
pthatcher1
2017/03/03 06:28:37
an SrtpTransport
Zhi Huang
2017/03/03 22:34:47
Done.
|
| + virtual RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> |
| + CreateSrtpTransport( |
| + const RtcpParameters& rtcp_parameters, |
| + PacketTransportInterface* rtp, |
| + PacketTransportInterface* rtcp, |
| + RtpTransportControllerInterface* transport_controller) = 0; |
| + |
| // Returns the capabilities of an RTP sender of type |kind|. These |
| // capabilities can be used to determine what RtpParameters to use to create |
| // an RtpSender. |