OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2011 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void StopAecDump() override; | 85 void StopAecDump() override; |
86 bool StartRtcEventLog(rtc::PlatformFile file) override { | 86 bool StartRtcEventLog(rtc::PlatformFile file) override { |
87 return StartRtcEventLog(file, -1); | 87 return StartRtcEventLog(file, -1); |
88 } | 88 } |
89 bool StartRtcEventLog(rtc::PlatformFile file, | 89 bool StartRtcEventLog(rtc::PlatformFile file, |
90 int64_t max_size_bytes) override; | 90 int64_t max_size_bytes) override; |
91 void StopRtcEventLog() override; | 91 void StopRtcEventLog() override; |
92 | 92 |
93 virtual webrtc::MediaControllerInterface* CreateMediaController( | 93 virtual webrtc::MediaControllerInterface* CreateMediaController( |
94 const cricket::MediaConfig& config) const; | 94 const cricket::MediaConfig& config) const; |
| 95 virtual cricket::TransportController* CreateTransportController( |
| 96 cricket::PortAllocator* port_allocator); |
95 virtual rtc::Thread* signaling_thread(); | 97 virtual rtc::Thread* signaling_thread(); |
96 virtual rtc::Thread* worker_thread(); | 98 virtual rtc::Thread* worker_thread(); |
97 virtual rtc::Thread* network_thread(); | 99 virtual rtc::Thread* network_thread(); |
98 const Options& options() const { return options_; } | 100 const Options& options() const { return options_; } |
99 | 101 |
100 protected: | 102 protected: |
101 PeerConnectionFactory(); | 103 PeerConnectionFactory(); |
102 PeerConnectionFactory( | 104 PeerConnectionFactory( |
103 rtc::Thread* network_thread, | 105 rtc::Thread* network_thread, |
104 rtc::Thread* worker_thread, | 106 rtc::Thread* worker_thread, |
(...skipping 23 matching lines...) Expand all Loading... |
128 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_; | 130 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_; |
129 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_; | 131 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_; |
130 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; | 132 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; |
131 | 133 |
132 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; | 134 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; |
133 }; | 135 }; |
134 | 136 |
135 } // namespace webrtc | 137 } // namespace webrtc |
136 | 138 |
137 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ | 139 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ |
OLD | NEW |