webrtc/api/media_stream_interface.cc
Evan Shrubsole ee5ab349f3 Use webrtc name specifier instead of rtc/cricket in api
WebRTC has unified all namespaces to webrtc, and the rtc:: and cricket::
name specifiers need to be replaced with webrtc::. This was generated using
a combination of clang AST rewriting tools and sed.

This CL was uploaded by git cl split.

Bug: webrtc:42232595
Change-Id: Ie05cf23955a3417937fc1dd56d00dda679d1a59e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/386641
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Auto-Submit: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#44384}
2025-04-15 22:17:02 -07:00

40 lines
1.1 KiB
C++

/*
* Copyright 2017 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 "api/media_stream_interface.h"
#include "api/audio_options.h"
#include "api/media_types.h"
#include "api/scoped_refptr.h"
namespace webrtc {
const char* const MediaStreamTrackInterface::kVideoKind = kMediaTypeVideo;
const char* const MediaStreamTrackInterface::kAudioKind = kMediaTypeAudio;
VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
return ContentHint::kNone;
}
bool AudioTrackInterface::GetSignalLevel(int* /* level */) {
return false;
}
scoped_refptr<AudioProcessorInterface>
AudioTrackInterface::GetAudioProcessor() {
return nullptr;
}
const AudioOptions AudioSourceInterface::options() const {
return {};
}
} // namespace webrtc