OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 size_t len, | 215 size_t len, |
216 const rtc::PacketTime& packet_time, | 216 const rtc::PacketTime& packet_time, |
217 int flags); | 217 int flags); |
218 void OnReadyToSend(TransportChannel* channel); | 218 void OnReadyToSend(TransportChannel* channel); |
219 | 219 |
220 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); | 220 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); |
221 | 221 |
222 void OnSelectedCandidatePairChanged( | 222 void OnSelectedCandidatePairChanged( |
223 TransportChannel* channel, | 223 TransportChannel* channel, |
224 CandidatePairInterface* selected_candidate_pair, | 224 CandidatePairInterface* selected_candidate_pair, |
225 int last_sent_packet_id); | 225 int last_sent_packet_id, |
| 226 bool ready_to_send); |
226 | 227 |
227 bool PacketIsRtcp(const TransportChannel* channel, const char* data, | 228 bool PacketIsRtcp(const TransportChannel* channel, const char* data, |
228 size_t len); | 229 size_t len); |
229 bool SendPacket(bool rtcp, | 230 bool SendPacket(bool rtcp, |
230 rtc::CopyOnWriteBuffer* packet, | 231 rtc::CopyOnWriteBuffer* packet, |
231 const rtc::PacketOptions& options); | 232 const rtc::PacketOptions& options); |
232 | 233 |
233 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); | 234 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); |
234 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, | 235 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, |
235 const rtc::PacketTime& packet_time); | 236 const rtc::PacketTime& packet_time); |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 // SetSendParameters. | 680 // SetSendParameters. |
680 DataSendParameters last_send_params_; | 681 DataSendParameters last_send_params_; |
681 // Last DataRecvParameters sent down to the media_channel() via | 682 // Last DataRecvParameters sent down to the media_channel() via |
682 // SetRecvParameters. | 683 // SetRecvParameters. |
683 DataRecvParameters last_recv_params_; | 684 DataRecvParameters last_recv_params_; |
684 }; | 685 }; |
685 | 686 |
686 } // namespace cricket | 687 } // namespace cricket |
687 | 688 |
688 #endif // WEBRTC_PC_CHANNEL_H_ | 689 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |