Index: webrtc/ortc/ortcfactory.cc |
diff --git a/webrtc/ortc/ortcfactory.cc b/webrtc/ortc/ortcfactory.cc |
index be1c4c7a76c8ce60c776af006875ad23a4d54cb5..d8b117bd2e659d22bbefadb9b47ae22ab351dc5c 100644 |
--- a/webrtc/ortc/ortcfactory.cc |
+++ b/webrtc/ortc/ortcfactory.cc |
@@ -76,14 +76,14 @@ PROXY_METHOD0(RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface>>, |
CreateRtpTransportController) |
PROXY_METHOD4(RTCErrorOr<std::unique_ptr<RtpTransportInterface>>, |
CreateRtpTransport, |
- const RtcpParameters&, |
+ const RtpTransportParameters&, |
PacketTransportInterface*, |
PacketTransportInterface*, |
RtpTransportControllerInterface*) |
PROXY_METHOD4(RTCErrorOr<std::unique_ptr<SrtpTransportInterface>>, |
CreateSrtpTransport, |
- const RtcpParameters&, |
+ const RtpTransportParameters&, |
PacketTransportInterface*, |
PacketTransportInterface*, |
RtpTransportControllerInterface*) |
@@ -226,14 +226,14 @@ OrtcFactory::CreateRtpTransportController() { |
RTCErrorOr<std::unique_ptr<RtpTransportInterface>> |
OrtcFactory::CreateRtpTransport( |
- const RtcpParameters& rtcp_parameters, |
+ const RtpTransportParameters& parameters, |
PacketTransportInterface* rtp, |
PacketTransportInterface* rtcp, |
RtpTransportControllerInterface* transport_controller) { |
RTC_DCHECK_RUN_ON(signaling_thread_); |
- RtcpParameters copied_parameters = rtcp_parameters; |
- if (copied_parameters.cname.empty()) { |
- copied_parameters.cname = default_cname_; |
+ RtpTransportParameters copied_parameters = parameters; |
+ if (copied_parameters.rtcp.cname.empty()) { |
+ copied_parameters.rtcp.cname = default_cname_; |
} |
if (transport_controller) { |
return transport_controller->GetInternal()->CreateProxiedRtpTransport( |
@@ -263,14 +263,14 @@ OrtcFactory::CreateRtpTransport( |
RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> |
OrtcFactory::CreateSrtpTransport( |
- const RtcpParameters& rtcp_parameters, |
+ const RtpTransportParameters& parameters, |
PacketTransportInterface* rtp, |
PacketTransportInterface* rtcp, |
RtpTransportControllerInterface* transport_controller) { |
RTC_DCHECK_RUN_ON(signaling_thread_); |
- RtcpParameters copied_parameters = rtcp_parameters; |
- if (copied_parameters.cname.empty()) { |
- copied_parameters.cname = default_cname_; |
+ RtpTransportParameters copied_parameters = parameters; |
+ if (copied_parameters.rtcp.cname.empty()) { |
+ copied_parameters.rtcp.cname = default_cname_; |
} |
if (transport_controller) { |
return transport_controller->GetInternal()->CreateProxiedSrtpTransport( |