| 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 OnNetworkChanged(TransportChannel* channel, |
| 211 int local_network_id, |
| 212 int remote_network_id); |
| 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::Buffer* packet, | 217 rtc::Buffer* packet, |
| 214 const rtc::PacketOptions& options); | 218 const rtc::PacketOptions& options); |
| 215 virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet); | 219 virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet); |
| 216 void HandlePacket(bool rtcp, rtc::Buffer* packet, | 220 void HandlePacket(bool rtcp, rtc::Buffer* packet, |
| 217 const rtc::PacketTime& packet_time); | 221 const rtc::PacketTime& packet_time); |
| 218 | 222 |
| 219 void EnableMedia_w(); | 223 void EnableMedia_w(); |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 // SetSendParameters. | 602 // SetSendParameters. |
| 599 DataSendParameters last_send_params_; | 603 DataSendParameters last_send_params_; |
| 600 // Last DataRecvParameters sent down to the media_channel() via | 604 // Last DataRecvParameters sent down to the media_channel() via |
| 601 // SetRecvParameters. | 605 // SetRecvParameters. |
| 602 DataRecvParameters last_recv_params_; | 606 DataRecvParameters last_recv_params_; |
| 603 }; | 607 }; |
| 604 | 608 |
| 605 } // namespace cricket | 609 } // namespace cricket |
| 606 | 610 |
| 607 #endif // WEBRTC_PC_CHANNEL_H_ | 611 #endif // WEBRTC_PC_CHANNEL_H_ |
| OLD | NEW |