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

Side by Side Diff: talk/app/webrtc/peerconnection.h

Issue 1186083002: Ability to specify KeyType (RSA, ECDSA) in CreatePeerConnection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: PeerConnectionFactoryInterface::CreatePeerConnection without KeyType Created 5 years, 6 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 | « talk/app/webrtc/objc/RTCPeerConnection.mm ('k') | talk/app/webrtc/peerconnection.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 * 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 public rtc::MessageHandler, 55 public rtc::MessageHandler,
56 public sigslot::has_slots<> { 56 public sigslot::has_slots<> {
57 public: 57 public:
58 explicit PeerConnection(PeerConnectionFactory* factory); 58 explicit PeerConnection(PeerConnectionFactory* factory);
59 59
60 bool Initialize( 60 bool Initialize(
61 const PeerConnectionInterface::RTCConfiguration& configuration, 61 const PeerConnectionInterface::RTCConfiguration& configuration,
62 const MediaConstraintsInterface* constraints, 62 const MediaConstraintsInterface* constraints,
63 PortAllocatorFactoryInterface* allocator_factory, 63 PortAllocatorFactoryInterface* allocator_factory,
64 DTLSIdentityServiceInterface* dtls_identity_service, 64 DTLSIdentityServiceInterface* dtls_identity_service,
65 rtc::KeyType key_type,
65 PeerConnectionObserver* observer); 66 PeerConnectionObserver* observer);
66 virtual rtc::scoped_refptr<StreamCollectionInterface> local_streams(); 67 virtual rtc::scoped_refptr<StreamCollectionInterface> local_streams();
67 virtual rtc::scoped_refptr<StreamCollectionInterface> remote_streams(); 68 virtual rtc::scoped_refptr<StreamCollectionInterface> remote_streams();
68 virtual bool AddStream(MediaStreamInterface* local_stream); 69 virtual bool AddStream(MediaStreamInterface* local_stream);
69 virtual void RemoveStream(MediaStreamInterface* local_stream); 70 virtual void RemoveStream(MediaStreamInterface* local_stream);
70 71
71 virtual rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender( 72 virtual rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender(
72 AudioTrackInterface* track); 73 AudioTrackInterface* track);
73 74
74 virtual rtc::scoped_refptr<DataChannelInterface> CreateDataChannel( 75 virtual rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; 193 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_;
193 rtc::scoped_ptr<WebRtcSession> session_; 194 rtc::scoped_ptr<WebRtcSession> session_;
194 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; 195 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_;
195 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; 196 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_;
196 rtc::scoped_ptr<StatsCollector> stats_; 197 rtc::scoped_ptr<StatsCollector> stats_;
197 }; 198 };
198 199
199 } // namespace webrtc 200 } // namespace webrtc
200 201
201 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ 202 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/objc/RTCPeerConnection.mm ('k') | talk/app/webrtc/peerconnection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698