phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 1 | /* |
ossu | 7bb87ee | 2017-01-23 12:56:25 | [diff] [blame] | 2 | * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 3 | * |
kjellander | b24317b | 2016-02-10 15:54:43 | [diff] [blame] | 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. |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 9 | */ |
| 10 | |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 11 | #include "api/media_stream_interface.h" |
Jared Siskin | bceec84 | 2023-04-20 21:10:51 | [diff] [blame] | 12 | |
Dor Hen | 28ce65c | 2024-09-04 11:55:22 | [diff] [blame] | 13 | #include "api/audio_options.h" |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 14 | #include "api/media_types.h" |
Dor Hen | 28ce65c | 2024-09-04 11:55:22 | [diff] [blame] | 15 | #include "api/scoped_refptr.h" |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 16 | |
| 17 | namespace webrtc { |
| 18 | |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 19 | const char* const MediaStreamTrackInterface::kVideoKind = |
| 20 | cricket::kMediaTypeVideo; |
| 21 | const char* const MediaStreamTrackInterface::kAudioKind = |
| 22 | cricket::kMediaTypeAudio; |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 23 | |
Danil Chapovalov | 2a5ce2b | 2018-02-07 08:38:31 | [diff] [blame] | 24 | VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const { |
| 25 | return ContentHint::kNone; |
| 26 | } |
| 27 | |
Dor Hen | ca07d54 | 2024-10-22 09:41:05 | [diff] [blame] | 28 | bool AudioTrackInterface::GetSignalLevel(int* /* level */) { |
Danil Chapovalov | 2a5ce2b | 2018-02-07 08:38:31 | [diff] [blame] | 29 | return false; |
| 30 | } |
| 31 | |
| 32 | rtc::scoped_refptr<AudioProcessorInterface> |
| 33 | AudioTrackInterface::GetAudioProcessor() { |
| 34 | return nullptr; |
| 35 | } |
| 36 | |
Piotr (Peter) Slatala | 95ca6e1 | 2018-11-13 15:57:07 | [diff] [blame] | 37 | const cricket::AudioOptions AudioSourceInterface::options() const { |
| 38 | return {}; |
| 39 | } |
| 40 | |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 41 | } // namespace webrtc |