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" |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 12 | #include "api/media_types.h" |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 13 | |
| 14 | namespace webrtc { |
| 15 | |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 16 | const char* const MediaStreamTrackInterface::kVideoKind = |
| 17 | cricket::kMediaTypeVideo; |
| 18 | const char* const MediaStreamTrackInterface::kAudioKind = |
| 19 | cricket::kMediaTypeAudio; |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 20 | |
Danil Chapovalov | 2a5ce2b | 2018-02-07 08:38:31 | [diff] [blame] | 21 | VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const { |
| 22 | return ContentHint::kNone; |
| 23 | } |
| 24 | |
| 25 | bool AudioTrackInterface::GetSignalLevel(int* level) { |
| 26 | return false; |
| 27 | } |
| 28 | |
| 29 | rtc::scoped_refptr<AudioProcessorInterface> |
| 30 | AudioTrackInterface::GetAudioProcessor() { |
| 31 | return nullptr; |
| 32 | } |
| 33 | |
Piotr (Peter) Slatala | 95ca6e1 | 2018-11-13 15:57:07 | [diff] [blame] | 34 | const cricket::AudioOptions AudioSourceInterface::options() const { |
| 35 | return {}; |
| 36 | } |
| 37 | |
phoglund | 37ebcf0 | 2016-01-08 13:04:57 | [diff] [blame] | 38 | } // namespace webrtc |