OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface>> | 43 RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface>> |
44 CreateRtpTransportController() override; | 44 CreateRtpTransportController() override; |
45 | 45 |
46 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport( | 46 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport( |
47 const RtcpParameters& rtcp_parameters, | 47 const RtcpParameters& rtcp_parameters, |
48 PacketTransportInterface* rtp, | 48 PacketTransportInterface* rtp, |
49 PacketTransportInterface* rtcp, | 49 PacketTransportInterface* rtcp, |
50 RtpTransportControllerInterface* transport_controller) override; | 50 RtpTransportControllerInterface* transport_controller) override; |
51 | 51 |
| 52 RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> CreateSrtpTransport( |
| 53 const RtcpParameters& rtcp_parameters, |
| 54 PacketTransportInterface* rtp, |
| 55 PacketTransportInterface* rtcp, |
| 56 RtpTransportControllerInterface* transport_controller) override; |
| 57 |
52 RtpCapabilities GetRtpSenderCapabilities( | 58 RtpCapabilities GetRtpSenderCapabilities( |
53 cricket::MediaType kind) const override; | 59 cricket::MediaType kind) const override; |
54 | 60 |
55 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( | 61 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( |
56 rtc::scoped_refptr<MediaStreamTrackInterface> track, | 62 rtc::scoped_refptr<MediaStreamTrackInterface> track, |
57 RtpTransportInterface* transport) override; | 63 RtpTransportInterface* transport) override; |
58 | 64 |
59 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( | 65 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( |
60 cricket::MediaType kind, | 66 cricket::MediaType kind, |
61 RtpTransportInterface* transport) override; | 67 RtpTransportInterface* transport) override; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 std::string default_cname_; | 141 std::string default_cname_; |
136 | 142 |
137 friend class OrtcFactoryInterface; | 143 friend class OrtcFactoryInterface; |
138 | 144 |
139 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); | 145 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); |
140 }; | 146 }; |
141 | 147 |
142 } // namespace webrtc | 148 } // namespace webrtc |
143 | 149 |
144 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ | 150 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ |
OLD | NEW |