OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #ifndef WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 51 #ifndef WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
52 #define WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 52 #define WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
53 | 53 |
54 #include <memory> | 54 #include <memory> |
55 #include <string> | 55 #include <string> |
56 #include <utility> | 56 #include <utility> |
57 #include <vector> | 57 #include <vector> |
58 | 58 |
59 #include "webrtc/api/datachannelinterface.h" | 59 #include "webrtc/api/datachannelinterface.h" |
60 #include "webrtc/api/dtlsidentitystore.h" | 60 #include "webrtc/api/dtlsidentitystore.h" |
61 #include "webrtc/api/dtlsidentitystore.h" | |
62 #include "webrtc/api/dtmfsenderinterface.h" | 61 #include "webrtc/api/dtmfsenderinterface.h" |
63 #include "webrtc/api/jsep.h" | 62 #include "webrtc/api/jsep.h" |
64 #include "webrtc/api/mediastreaminterface.h" | 63 #include "webrtc/api/mediastreaminterface.h" |
65 #include "webrtc/api/rtpreceiverinterface.h" | 64 #include "webrtc/api/rtpreceiverinterface.h" |
66 #include "webrtc/api/rtpsenderinterface.h" | 65 #include "webrtc/api/rtpsenderinterface.h" |
67 #include "webrtc/api/statstypes.h" | 66 #include "webrtc/api/statstypes.h" |
68 #include "webrtc/api/umametrics.h" | 67 #include "webrtc/api/umametrics.h" |
69 #include "webrtc/base/fileutils.h" | 68 #include "webrtc/base/fileutils.h" |
70 #include "webrtc/base/network.h" | 69 #include "webrtc/base/network.h" |
71 #include "webrtc/base/rtccertificate.h" | 70 #include "webrtc/base/rtccertificate.h" |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 rtc::scoped_refptr<PeerConnectionFactoryInterface> | 683 rtc::scoped_refptr<PeerConnectionFactoryInterface> |
685 CreatePeerConnectionFactory(); | 684 CreatePeerConnectionFactory(); |
686 | 685 |
687 // Create a new instance of PeerConnectionFactoryInterface. | 686 // Create a new instance of PeerConnectionFactoryInterface. |
688 // | 687 // |
689 // |worker_thread| and |signaling_thread| are the only mandatory | 688 // |worker_thread| and |signaling_thread| are the only mandatory |
690 // parameters. | 689 // parameters. |
691 // | 690 // |
692 // If non-null, ownership of |default_adm|, |encoder_factory| and | 691 // If non-null, ownership of |default_adm|, |encoder_factory| and |
693 // |decoder_factory| are transferred to the returned factory. | 692 // |decoder_factory| are transferred to the returned factory. |
694 rtc::scoped_refptr<PeerConnectionFactoryInterface> | 693 rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( |
695 CreatePeerConnectionFactory( | 694 rtc::Thread* network_thread, |
696 rtc::Thread* worker_thread, | 695 rtc::Thread* worker_thread, |
697 rtc::Thread* signaling_thread, | 696 rtc::Thread* signaling_thread, |
698 AudioDeviceModule* default_adm, | 697 AudioDeviceModule* default_adm, |
699 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 698 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
700 cricket::WebRtcVideoDecoderFactory* decoder_factory); | 699 cricket::WebRtcVideoDecoderFactory* decoder_factory); |
701 | 700 |
702 } // namespace webrtc | 701 } // namespace webrtc |
703 | 702 |
704 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 703 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |