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

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

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed test nit; use reference. Created 4 years, 10 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 rtc::scoped_refptr<AudioTrackInterface> 64 rtc::scoped_refptr<AudioTrackInterface>
65 CreateAudioTrack(const std::string& id, 65 CreateAudioTrack(const std::string& id,
66 AudioSourceInterface* audio_source) override; 66 AudioSourceInterface* audio_source) override;
67 67
68 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) override; 68 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) override;
69 void StopAecDump() override; 69 void StopAecDump() override;
70 bool StartRtcEventLog(rtc::PlatformFile file) override; 70 bool StartRtcEventLog(rtc::PlatformFile file) override;
71 void StopRtcEventLog() override; 71 void StopRtcEventLog() override;
72 72
73 virtual webrtc::MediaControllerInterface* CreateMediaController() const; 73 virtual webrtc::MediaControllerInterface* CreateMediaController(
74 const cricket::MediaConfig& config) const;
74 virtual rtc::Thread* signaling_thread(); 75 virtual rtc::Thread* signaling_thread();
75 virtual rtc::Thread* worker_thread(); 76 virtual rtc::Thread* worker_thread();
76 const Options& options() const { return options_; } 77 const Options& options() const { return options_; }
77 78
78 protected: 79 protected:
79 PeerConnectionFactory(); 80 PeerConnectionFactory();
80 PeerConnectionFactory( 81 PeerConnectionFactory(
81 rtc::Thread* worker_thread, 82 rtc::Thread* worker_thread,
82 rtc::Thread* signaling_thread, 83 rtc::Thread* signaling_thread,
83 AudioDeviceModule* default_adm, 84 AudioDeviceModule* default_adm,
(...skipping 22 matching lines...) Expand all
106 video_decoder_factory_; 107 video_decoder_factory_;
107 rtc::scoped_ptr<rtc::BasicNetworkManager> default_network_manager_; 108 rtc::scoped_ptr<rtc::BasicNetworkManager> default_network_manager_;
108 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_; 109 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_;
109 110
110 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; 111 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_;
111 }; 112 };
112 113
113 } // namespace webrtc 114 } // namespace webrtc
114 115
115 #endif // WEBRTC_API_PEERCONNECTIONFACTORY_H_ 116 #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