Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: webrtc/api/peerconnectionfactory.h

Issue 1975453002: Add PeerConnection IsClosed check. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Make it an unique_ptr when passing the TransportController to WebRtcSession. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionfactory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 24 matching lines...) Expand all
126 // External Video decoder factory. This can be NULL if the client has not 128 // External Video decoder factory. This can be NULL if the client has not
127 // injected any. In that case, video engine will use the internal SW decoder. 129 // injected any. In that case, video engine will use the internal SW decoder.
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 134
133 } // namespace webrtc 135 } // namespace webrtc
134 136
135 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ 137 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698