blob: 185b72f46e51bfbdb3aefaeda9cdecf8a6bb59b7 [file] [log] [blame]
phoglund37ebcf02016-01-08 13:04:571/*
ossu7bb87ee2017-01-23 12:56:252 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
phoglund37ebcf02016-01-08 13:04:573 *
kjellanderb24317b2016-02-10 15:54:434 * 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.
phoglund37ebcf02016-01-08 13:04:579 */
10
Steve Anton10542f22019-01-11 17:11:0011#include "api/media_stream_interface.h"
Jared Siskinbceec842023-04-20 21:10:5112
Dor Hen28ce65c2024-09-04 11:55:2213#include "api/audio_options.h"
Niels Möller6dcd4dc2019-08-26 08:45:2814#include "api/media_types.h"
Dor Hen28ce65c2024-09-04 11:55:2215#include "api/scoped_refptr.h"
phoglund37ebcf02016-01-08 13:04:5716
17namespace webrtc {
18
Niels Möller6dcd4dc2019-08-26 08:45:2819const char* const MediaStreamTrackInterface::kVideoKind =
20 cricket::kMediaTypeVideo;
21const char* const MediaStreamTrackInterface::kAudioKind =
22 cricket::kMediaTypeAudio;
phoglund37ebcf02016-01-08 13:04:5723
Danil Chapovalov2a5ce2b2018-02-07 08:38:3124VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
25 return ContentHint::kNone;
26}
27
Dor Henca07d542024-10-22 09:41:0528bool AudioTrackInterface::GetSignalLevel(int* /* level */) {
Danil Chapovalov2a5ce2b2018-02-07 08:38:3129 return false;
30}
31
32rtc::scoped_refptr<AudioProcessorInterface>
33AudioTrackInterface::GetAudioProcessor() {
34 return nullptr;
35}
36
Piotr (Peter) Slatala95ca6e12018-11-13 15:57:0737const cricket::AudioOptions AudioSourceInterface::options() const {
38 return {};
39}
40
phoglund37ebcf02016-01-08 13:04:5741} // namespace webrtc