| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 void OnWritableState(TransportChannel* channel); | 200 void OnWritableState(TransportChannel* channel); |
| 201 virtual void OnChannelRead(TransportChannel* channel, | 201 virtual void OnChannelRead(TransportChannel* channel, |
| 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( |
| 211 TransportChannel* channel, |
| 212 CandidatePairInterface* selected_candidate_pair); |
| 213 |
| 210 bool PacketIsRtcp(const TransportChannel* channel, const char* data, | 214 bool PacketIsRtcp(const TransportChannel* channel, const char* data, |
| 211 size_t len); | 215 size_t len); |
| 212 bool SendPacket(bool rtcp, | 216 bool SendPacket(bool rtcp, |
| 213 rtc::CopyOnWriteBuffer* packet, | 217 rtc::CopyOnWriteBuffer* packet, |
| 214 const rtc::PacketOptions& options); | 218 const rtc::PacketOptions& options); |
| 215 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); | 219 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); |
| 216 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, | 220 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, |
| 217 const rtc::PacketTime& packet_time); | 221 const rtc::PacketTime& packet_time); |
| 218 | 222 |
| 219 void EnableMedia_w(); | 223 void EnableMedia_w(); |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 // SetSendParameters. | 610 // SetSendParameters. |
| 607 DataSendParameters last_send_params_; | 611 DataSendParameters last_send_params_; |
| 608 // Last DataRecvParameters sent down to the media_channel() via | 612 // Last DataRecvParameters sent down to the media_channel() via |
| 609 // SetRecvParameters. | 613 // SetRecvParameters. |
| 610 DataRecvParameters last_recv_params_; | 614 DataRecvParameters last_recv_params_; |
| 611 }; | 615 }; |
| 612 | 616 |
| 613 } // namespace cricket | 617 } // namespace cricket |
| 614 | 618 |
| 615 #endif // WEBRTC_PC_CHANNEL_H_ | 619 #endif // WEBRTC_PC_CHANNEL_H_ |
| OLD | NEW |