OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 int32_t SendRTCPPacketTo(const int8_t* data, | 109 int32_t SendRTCPPacketTo(const int8_t* data, |
110 size_t length, | 110 size_t length, |
111 const SocketAddress& to) override; | 111 const SocketAddress& to) override; |
112 int32_t SendRTPPacketTo(const int8_t* data, | 112 int32_t SendRTPPacketTo(const int8_t* data, |
113 size_t length, | 113 size_t length, |
114 uint16_t rtpPort) override; | 114 uint16_t rtpPort) override; |
115 int32_t SendRTCPPacketTo(const int8_t* data, | 115 int32_t SendRTCPPacketTo(const int8_t* data, |
116 size_t length, | 116 size_t length, |
117 uint16_t rtcpPort) override; | 117 uint16_t rtcpPort) override; |
118 // Transport functions | 118 // Transport functions |
119 bool SendRtp(const uint8_t* data, size_t length) override; | 119 bool SendRtp(const uint8_t* data, |
| 120 size_t length, |
| 121 const PacketOptions& packet_options) override; |
120 bool SendRtcp(const uint8_t* data, size_t length) override; | 122 bool SendRtcp(const uint8_t* data, size_t length) override; |
121 | 123 |
122 // UdpTransport functions continue. | 124 // UdpTransport functions continue. |
123 int32_t SetSendIP(const char* ipaddr) override; | 125 int32_t SetSendIP(const char* ipaddr) override; |
124 int32_t SetSendPorts(const uint16_t rtpPort, | 126 int32_t SetSendPorts(const uint16_t rtpPort, |
125 const uint16_t rtcpPort = 0) override; | 127 const uint16_t rtcpPort = 0) override; |
126 | 128 |
127 ErrorCode LastError() const override; | 129 ErrorCode LastError() const override; |
128 | 130 |
129 int32_t IPAddressCached(const SocketAddress& address, | 131 int32_t IPAddressCached(const SocketAddress& address, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 uint16_t _rtpFilterPort; | 250 uint16_t _rtpFilterPort; |
249 uint16_t _rtcpFilterPort; | 251 uint16_t _rtcpFilterPort; |
250 | 252 |
251 UdpTransportData* _packetCallback; | 253 UdpTransportData* _packetCallback; |
252 }; | 254 }; |
253 | 255 |
254 } // namespace test | 256 } // namespace test |
255 } // namespace webrtc | 257 } // namespace webrtc |
256 | 258 |
257 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_IMPL_H_ | 259 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_IMPL_H_ |
OLD | NEW |