| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |