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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, | 92 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, |
93 const MediaConstraintsInterface* constraints); | 93 const MediaConstraintsInterface* constraints); |
94 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, | 94 virtual void CreateOffer(CreateSessionDescriptionObserver* observer, |
95 const RTCOfferAnswerOptions& options); | 95 const RTCOfferAnswerOptions& options); |
96 virtual void CreateAnswer(CreateSessionDescriptionObserver* observer, | 96 virtual void CreateAnswer(CreateSessionDescriptionObserver* observer, |
97 const MediaConstraintsInterface* constraints); | 97 const MediaConstraintsInterface* constraints); |
98 virtual void SetLocalDescription(SetSessionDescriptionObserver* observer, | 98 virtual void SetLocalDescription(SetSessionDescriptionObserver* observer, |
99 SessionDescriptionInterface* desc); | 99 SessionDescriptionInterface* desc); |
100 virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer, | 100 virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer, |
101 SessionDescriptionInterface* desc); | 101 SessionDescriptionInterface* desc); |
| 102 virtual void SetIceConnectionReceivingTimeout(int timeout_ms); |
102 // TODO(mallinath) : Deprecated version, remove after all clients are updated. | 103 // TODO(mallinath) : Deprecated version, remove after all clients are updated. |
103 virtual bool UpdateIce(const IceServers& configuration, | 104 virtual bool UpdateIce(const IceServers& configuration, |
104 const MediaConstraintsInterface* constraints); | 105 const MediaConstraintsInterface* constraints); |
105 virtual bool UpdateIce( | 106 virtual bool UpdateIce( |
106 const PeerConnectionInterface::RTCConfiguration& config); | 107 const PeerConnectionInterface::RTCConfiguration& config); |
107 virtual bool AddIceCandidate(const IceCandidateInterface* candidate); | 108 virtual bool AddIceCandidate(const IceCandidateInterface* candidate); |
108 | 109 |
109 virtual void RegisterUMAObserver(UMAObserver* observer); | 110 virtual void RegisterUMAObserver(UMAObserver* observer); |
110 | 111 |
111 virtual void Close(); | 112 virtual void Close(); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; | 194 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; |
194 rtc::scoped_ptr<WebRtcSession> session_; | 195 rtc::scoped_ptr<WebRtcSession> session_; |
195 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; | 196 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; |
196 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; | 197 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; |
197 rtc::scoped_ptr<StatsCollector> stats_; | 198 rtc::scoped_ptr<StatsCollector> stats_; |
198 }; | 199 }; |
199 | 200 |
200 } // namespace webrtc | 201 } // namespace webrtc |
201 | 202 |
202 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ | 203 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ |
OLD | NEW |