| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 | 531 |
| 532 // Sets the network types to ignore. For instance, calling this with | 532 // Sets the network types to ignore. For instance, calling this with |
| 533 // ADAPTER_TYPE_ETHERNET | ADAPTER_TYPE_LOOPBACK will ignore Ethernet and | 533 // ADAPTER_TYPE_ETHERNET | ADAPTER_TYPE_LOOPBACK will ignore Ethernet and |
| 534 // loopback interfaces. | 534 // loopback interfaces. |
| 535 int network_ignore_mask; | 535 int network_ignore_mask; |
| 536 | 536 |
| 537 // Sets the maximum supported protocol version. The highest version | 537 // Sets the maximum supported protocol version. The highest version |
| 538 // supported by both ends will be used for the connection, i.e. if one | 538 // supported by both ends will be used for the connection, i.e. if one |
| 539 // party supports DTLS 1.0 and the other DTLS 1.2, DTLS 1.0 will be used. | 539 // party supports DTLS 1.0 and the other DTLS 1.2, DTLS 1.0 will be used. |
| 540 rtc::SSLProtocolVersion ssl_max_version; | 540 rtc::SSLProtocolVersion ssl_max_version; |
| 541 |
| 542 // Sets crypto related options, e.g. enabled cipher suites. |
| 543 rtc::CryptoOptions crypto_options; |
| 541 }; | 544 }; |
| 542 | 545 |
| 543 virtual void SetOptions(const Options& options) = 0; | 546 virtual void SetOptions(const Options& options) = 0; |
| 544 | 547 |
| 545 virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( | 548 virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( |
| 546 const PeerConnectionInterface::RTCConfiguration& configuration, | 549 const PeerConnectionInterface::RTCConfiguration& configuration, |
| 547 const MediaConstraintsInterface* constraints, | 550 const MediaConstraintsInterface* constraints, |
| 548 rtc::scoped_ptr<cricket::PortAllocator> allocator, | 551 rtc::scoped_ptr<cricket::PortAllocator> allocator, |
| 549 rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, | 552 rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, |
| 550 PeerConnectionObserver* observer) = 0; | 553 PeerConnectionObserver* observer) = 0; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 CreatePeerConnectionFactory( | 624 CreatePeerConnectionFactory( |
| 622 rtc::Thread* worker_thread, | 625 rtc::Thread* worker_thread, |
| 623 rtc::Thread* signaling_thread, | 626 rtc::Thread* signaling_thread, |
| 624 AudioDeviceModule* default_adm, | 627 AudioDeviceModule* default_adm, |
| 625 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 628 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
| 626 cricket::WebRtcVideoDecoderFactory* decoder_factory); | 629 cricket::WebRtcVideoDecoderFactory* decoder_factory); |
| 627 | 630 |
| 628 } // namespace webrtc | 631 } // namespace webrtc |
| 629 | 632 |
| 630 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ | 633 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ |
| OLD | NEW |