blob: f264e7b45a7e66e8208c380259a1caad46307928 [file] [log] [blame]
pbos@webrtc.org119a1cc2013-08-20 13:14:071/*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
Mirko Bonadei92ea95e2017-09-15 04:47:3110#ifndef TEST_NULL_TRANSPORT_H_
11#define TEST_NULL_TRANSPORT_H_
pbos@webrtc.org119a1cc2013-08-20 13:14:0712
Mirko Bonadei92ea95e2017-09-15 04:47:3113#include "api/call/transport.h"
pbos@webrtc.org119a1cc2013-08-20 13:14:0714
15namespace webrtc {
16
pbos@webrtc.org119a1cc2013-08-20 13:14:0717class PacketReceiver;
pbos@webrtc.org119a1cc2013-08-20 13:14:0718
19namespace test {
pbos2d566682015-09-28 16:59:3120class NullTransport : public Transport {
pbos@webrtc.org119a1cc2013-08-20 13:14:0721 public:
stefan1d8a5062015-10-02 10:39:3322 bool SendRtp(const uint8_t* packet,
23 size_t length,
24 const PacketOptions& options) override;
kjellander@webrtc.org14665ff2015-03-04 12:58:3525 bool SendRtcp(const uint8_t* packet, size_t length) override;
pbos@webrtc.org119a1cc2013-08-20 13:14:0726};
27} // namespace test
28} // namespace webrtc
29
Mirko Bonadei92ea95e2017-09-15 04:47:3130#endif // TEST_NULL_TRANSPORT_H_