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

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

Issue 1974453002: Add a parameter to set a maximum filesize when starting an RTC event log on the PeerConnectionFacto… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed typo in JNI code. Created 4 years, 7 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack( 77 rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack(
78 const std::string& id, 78 const std::string& id,
79 VideoTrackSourceInterface* video_source) override; 79 VideoTrackSourceInterface* video_source) override;
80 80
81 rtc::scoped_refptr<AudioTrackInterface> 81 rtc::scoped_refptr<AudioTrackInterface>
82 CreateAudioTrack(const std::string& id, 82 CreateAudioTrack(const std::string& id,
83 AudioSourceInterface* audio_source) override; 83 AudioSourceInterface* audio_source) override;
84 84
85 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) override; 85 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) override;
86 void StopAecDump() override; 86 void StopAecDump() override;
87 bool StartRtcEventLog(rtc::PlatformFile file) override; 87 bool StartRtcEventLog(rtc::PlatformFile file) override {
88 return StartRtcEventLog(file, -1);
89 }
90 bool StartRtcEventLog(rtc::PlatformFile file,
91 int64_t max_size_bytes) override;
88 void StopRtcEventLog() override; 92 void StopRtcEventLog() override;
89 93
90 virtual webrtc::MediaControllerInterface* CreateMediaController( 94 virtual webrtc::MediaControllerInterface* CreateMediaController(
91 const cricket::MediaConfig& config) const; 95 const cricket::MediaConfig& config) const;
92 virtual rtc::Thread* signaling_thread(); 96 virtual rtc::Thread* signaling_thread();
93 virtual rtc::Thread* worker_thread(); 97 virtual rtc::Thread* worker_thread();
94 const Options& options() const { return options_; } 98 const Options& options() const { return options_; }
95 99
96 protected: 100 protected:
97 PeerConnectionFactory(); 101 PeerConnectionFactory();
(...skipping 24 matching lines...) Expand all
122 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_; 126 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> video_decoder_factory_;
123 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_; 127 std::unique_ptr<rtc::BasicNetworkManager> default_network_manager_;
124 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; 128 std::unique_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_;
125 129
126 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; 130 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_;
127 }; 131 };
128 132
129 } // namespace webrtc 133 } // namespace webrtc
130 134
131 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ 135 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_
OLDNEW
« no previous file with comments | « webrtc/api/java/src/org/webrtc/PeerConnectionFactory.java ('k') | webrtc/api/peerconnectionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698