This change generated using mostly search and replace: - MakeArrayView replaced with std::span - ArrayView replaced with std::span - Run include cleaner - Removed dependency on array_view target Bug: webrtc:439801349 Change-Id: Id3b440e8f86559fcb596a7896a62c395fb40496c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/453860 Reviewed-by: Evan Shrubsole <eshr@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47068}
32 lines
877 B
C++
32 lines
877 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.
|
|
*/
|
|
#include "test/null_transport.h"
|
|
|
|
#include <cstdint>
|
|
#include <span>
|
|
|
|
#include "api/call/transport.h"
|
|
|
|
namespace webrtc {
|
|
namespace test {
|
|
|
|
bool NullTransport::SendRtp(std::span<const uint8_t> packet,
|
|
const PacketOptions& options) {
|
|
return true;
|
|
}
|
|
|
|
bool NullTransport::SendRtcp(std::span<const uint8_t> packet,
|
|
const PacketOptions& options) {
|
|
return true;
|
|
}
|
|
|
|
} // namespace test
|
|
} // namespace webrtc
|