blob: e8d4d10275ef1de4814477a40e97a06f45c79627 [file] [log] [blame]
pbos@webrtc.org8a9739d2013-08-20 13:14:07 +00001/*
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 */
10#ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_
11#define WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_
12
pbos@webrtc.orgb581c902013-10-28 16:32:01 +000013#include "webrtc/transport.h"
pbos@webrtc.org8a9739d2013-08-20 13:14:07 +000014
15namespace webrtc {
16
pbos@webrtc.org8a9739d2013-08-20 13:14:07 +000017class PacketReceiver;
pbos@webrtc.org8a9739d2013-08-20 13:14:07 +000018
19namespace test {
20class NullTransport : public newapi::Transport {
21 public:
pbos@webrtc.orgf3b46022013-11-20 12:17:04 +000022 virtual bool SendRtp(const uint8_t* packet, size_t length) OVERRIDE;
23 virtual bool SendRtcp(const uint8_t* packet, size_t length) OVERRIDE;
pbos@webrtc.org8a9739d2013-08-20 13:14:07 +000024};
25} // namespace test
26} // namespace webrtc
27
28#endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_NULL_TRANSPORT_H_