OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #import "RTCPeerConnection.h" | 28 #import "RTCPeerConnection.h" |
29 | 29 |
30 #import "RTCPeerConnectionDelegate.h" | 30 #import "RTCPeerConnectionDelegate.h" |
31 | 31 |
32 #include "talk/app/webrtc/peerconnectioninterface.h" | 32 #include "webrtc/api/peerconnectioninterface.h" |
33 | 33 |
34 @interface RTCPeerConnection (Internal) | 34 @interface RTCPeerConnection (Internal) |
35 | 35 |
36 @property(nonatomic, assign, readonly) | 36 @property(nonatomic, assign, readonly) |
37 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peerConnection; | 37 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peerConnection; |
38 | 38 |
39 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factor
y | 39 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factor
y |
40 iceServers:(const webrtc::PeerConnectionInterface::IceServe
rs &)iceServers | 40 iceServers:(const webrtc::PeerConnectionInterface::IceServe
rs &)iceServers |
41 constraints:(const webrtc::MediaConstraintsInterface *)const
raints; | 41 constraints:(const webrtc::MediaConstraintsInterface *)const
raints; |
42 | 42 |
43 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factor
y | 43 - (instancetype)initWithFactory:(webrtc::PeerConnectionFactoryInterface *)factor
y |
44 config:(const webrtc::PeerConnectionInterface::RTCConfi
guration &)config | 44 config:(const webrtc::PeerConnectionInterface::RTCConfi
guration &)config |
45 constraints:(const webrtc::MediaConstraintsInterface *)const
raints | 45 constraints:(const webrtc::MediaConstraintsInterface *)const
raints |
46 delegate:(id<RTCPeerConnectionDelegate>)delegate; | 46 delegate:(id<RTCPeerConnectionDelegate>)delegate; |
47 | 47 |
48 @end | 48 @end |
OLD | NEW |