mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00

This CL takes away all usages except for Android code. Low-Coverage-Reason: Refactoring old code Bug: webrtc:15410 Change-Id: I66bed6a4a2787b4177a82e599b48623ca67cd235 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/315940 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40554}
29 lines
873 B
C++
29 lines
873 B
C++
/*
|
|
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
#ifndef TEST_NULL_TRANSPORT_H_
|
|
#define TEST_NULL_TRANSPORT_H_
|
|
|
|
#include "api/call/transport.h"
|
|
|
|
namespace webrtc {
|
|
|
|
class PacketReceiver;
|
|
|
|
namespace test {
|
|
class NullTransport : public Transport {
|
|
public:
|
|
bool SendRtp(rtc::ArrayView<const uint8_t> packet,
|
|
const PacketOptions& options) override;
|
|
bool SendRtcp(rtc::ArrayView<const uint8_t> packet) override;
|
|
};
|
|
} // namespace test
|
|
} // namespace webrtc
|
|
|
|
#endif // TEST_NULL_TRANSPORT_H_
|