| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 void StopAecDump() override; | 82 void StopAecDump() override; |
| 83 bool StartRtcEventLog(rtc::PlatformFile file) override { | 83 bool StartRtcEventLog(rtc::PlatformFile file) override { |
| 84 return StartRtcEventLog(file, -1); | 84 return StartRtcEventLog(file, -1); |
| 85 } | 85 } |
| 86 bool StartRtcEventLog(rtc::PlatformFile file, | 86 bool StartRtcEventLog(rtc::PlatformFile file, |
| 87 int64_t max_size_bytes) override; | 87 int64_t max_size_bytes) override; |
| 88 void StopRtcEventLog() override; | 88 void StopRtcEventLog() override; |
| 89 | 89 |
| 90 virtual webrtc::MediaControllerInterface* CreateMediaController( | 90 virtual webrtc::MediaControllerInterface* CreateMediaController( |
| 91 const cricket::MediaConfig& config) const; | 91 const cricket::MediaConfig& config) const; |
| 92 virtual cricket::TransportController* CreateTransportController( |
| 93 cricket::PortAllocator* port_allocator); |
| 92 virtual rtc::Thread* signaling_thread(); | 94 virtual rtc::Thread* signaling_thread(); |
| 93 virtual rtc::Thread* worker_thread(); | 95 virtual rtc::Thread* worker_thread(); |
| 94 virtual rtc::Thread* network_thread(); | 96 virtual rtc::Thread* network_thread(); |
| 95 const Options& options() const { return options_; } | 97 const Options& options() const { return options_; } |
| 96 | 98 |
| 97 protected: | 99 protected: |
| 98 PeerConnectionFactory(); | 100 PeerConnectionFactory(); |
| 99 PeerConnectionFactory( | 101 PeerConnectionFactory( |
| 100 rtc::Thread* network_thread, | 102 rtc::Thread* network_thread, |
| 101 rtc::Thread* worker_thread, | 103 rtc::Thread* worker_thread, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 123 // External Video decoder factory. This can be NULL if the client has not | 125 // External Video decoder factory. This can be NULL if the client has not |
| 124 // injected any. In that case, video engine will use the internal SW decoder. | 126 // injected any. In that case, video engine will use the internal SW decoder. |
| 125 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_; | 127 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_; |
| 126 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_; | 128 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_; |
| 127 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; | 129 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; |
| 128 }; | 130 }; |
| 129 | 131 |
| 130 } // namespace webrtc | 132 } // namespace webrtc |
| 131 | 133 |
| 132 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ | 134 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ |
| OLD | NEW |