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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 const char* data, | 202 const char* data, |
203 size_t len, | 203 size_t len, |
204 const rtc::PacketTime& packet_time, | 204 const rtc::PacketTime& packet_time, |
205 int flags); | 205 int flags); |
206 void OnReadyToSend(TransportChannel* channel); | 206 void OnReadyToSend(TransportChannel* channel); |
207 | 207 |
208 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); | 208 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); |
209 | 209 |
210 void OnSelectedCandidatePairChanged( | 210 void OnSelectedCandidatePairChanged( |
211 TransportChannel* channel, | 211 TransportChannel* channel, |
212 CandidatePairInterface* selected_candidate_pair); | 212 CandidatePairInterface* selected_candidate_pair, |
| 213 int last_sent_packet_id); |
213 | 214 |
214 bool PacketIsRtcp(const TransportChannel* channel, const char* data, | 215 bool PacketIsRtcp(const TransportChannel* channel, const char* data, |
215 size_t len); | 216 size_t len); |
216 bool SendPacket(bool rtcp, | 217 bool SendPacket(bool rtcp, |
217 rtc::CopyOnWriteBuffer* packet, | 218 rtc::CopyOnWriteBuffer* packet, |
218 const rtc::PacketOptions& options); | 219 const rtc::PacketOptions& options); |
219 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); | 220 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); |
220 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, | 221 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, |
221 const rtc::PacketTime& packet_time); | 222 const rtc::PacketTime& packet_time); |
222 | 223 |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 // SetSendParameters. | 611 // SetSendParameters. |
611 DataSendParameters last_send_params_; | 612 DataSendParameters last_send_params_; |
612 // Last DataRecvParameters sent down to the media_channel() via | 613 // Last DataRecvParameters sent down to the media_channel() via |
613 // SetRecvParameters. | 614 // SetRecvParameters. |
614 DataRecvParameters last_recv_params_; | 615 DataRecvParameters last_recv_params_; |
615 }; | 616 }; |
616 | 617 |
617 } // namespace cricket | 618 } // namespace cricket |
618 | 619 |
619 #endif // WEBRTC_PC_CHANNEL_H_ | 620 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |