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 25 matching lines...) Expand all Loading... | |
36 rtc::Thread* network_thread, | 36 rtc::Thread* network_thread, |
37 rtc::Thread* signaling_thread, | 37 rtc::Thread* signaling_thread, |
38 rtc::NetworkManager* network_manager, | 38 rtc::NetworkManager* network_manager, |
39 rtc::PacketSocketFactory* socket_factory, | 39 rtc::PacketSocketFactory* socket_factory, |
40 AudioDeviceModule* adm, | 40 AudioDeviceModule* adm, |
41 std::unique_ptr<cricket::MediaEngineInterface> media_engine); | 41 std::unique_ptr<cricket::MediaEngineInterface> media_engine); |
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<RtpTransportControllerInterface>> | |
47 CreateRtpTransportController(const RtpTransportParameters& parameters); | |
Taylor Brandstetter
2017/08/03 01:18:03
We shouldn't add this method; the fact that RtpTra
sprang_webrtc
2017/08/03 13:08:14
True, that's why I didn't add it to the interface.
Taylor Brandstetter
2017/08/03 16:50:36
I don't see that allowing setting the call config
| |
48 | |
46 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport( | 49 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport( |
47 const RtcpParameters& rtcp_parameters, | 50 const RtpTransportParameters& parameters, |
48 PacketTransportInterface* rtp, | 51 PacketTransportInterface* rtp, |
49 PacketTransportInterface* rtcp, | 52 PacketTransportInterface* rtcp, |
50 RtpTransportControllerInterface* transport_controller) override; | 53 RtpTransportControllerInterface* transport_controller) override; |
51 | 54 |
52 RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> CreateSrtpTransport( | 55 RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> CreateSrtpTransport( |
53 const RtcpParameters& rtcp_parameters, | 56 const RtpTransportParameters& parameters, |
54 PacketTransportInterface* rtp, | 57 PacketTransportInterface* rtp, |
55 PacketTransportInterface* rtcp, | 58 PacketTransportInterface* rtcp, |
56 RtpTransportControllerInterface* transport_controller) override; | 59 RtpTransportControllerInterface* transport_controller) override; |
57 | 60 |
58 RtpCapabilities GetRtpSenderCapabilities( | 61 RtpCapabilities GetRtpSenderCapabilities( |
59 cricket::MediaType kind) const override; | 62 cricket::MediaType kind) const override; |
60 | 63 |
61 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( | 64 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( |
62 rtc::scoped_refptr<MediaStreamTrackInterface> track, | 65 rtc::scoped_refptr<MediaStreamTrackInterface> track, |
63 RtpTransportInterface* transport) override; | 66 RtpTransportInterface* transport) override; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
142 std::string default_cname_; | 145 std::string default_cname_; |
143 | 146 |
144 friend class OrtcFactoryInterface; | 147 friend class OrtcFactoryInterface; |
145 | 148 |
146 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); | 149 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); |
147 }; | 150 }; |
148 | 151 |
149 } // namespace webrtc | 152 } // namespace webrtc |
150 | 153 |
151 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ | 154 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ |
OLD | NEW |