phoglund | 37ebcf0 | 2016-01-08 05:04:57 -0800 | [diff] [blame] | 1 | /* |
ossu | 7bb87ee | 2017-01-23 04:56:25 -0800 | [diff] [blame] | 2 | * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
phoglund | 37ebcf0 | 2016-01-08 05:04:57 -0800 | [diff] [blame] | 3 | * |
kjellander | b24317b | 2016-02-10 07:54:43 -0800 | [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 05:04:57 -0800 | [diff] [blame] | 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #include "api/mediastreaminterface.h" |
Ivo Creusen | 21eb9fc | 2017-12-12 10:45:51 +0100 | [diff] [blame] | 12 | #include "rtc_base/checks.h" |
| 13 | #include "rtc_base/logging.h" |
phoglund | 37ebcf0 | 2016-01-08 05:04:57 -0800 | [diff] [blame] | 14 | |
| 15 | namespace webrtc { |
| 16 | |
ossu | 7bb87ee | 2017-01-23 04:56:25 -0800 | [diff] [blame] | 17 | const char MediaStreamTrackInterface::kVideoKind[] = "video"; |
| 18 | const char MediaStreamTrackInterface::kAudioKind[] = "audio"; |
phoglund | 37ebcf0 | 2016-01-08 05:04:57 -0800 | [diff] [blame] | 19 | |
Danil Chapovalov | 2a5ce2b | 2018-02-07 09:38:31 +0100 | [diff] [blame] | 20 | VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const { |
| 21 | return ContentHint::kNone; |
| 22 | } |
| 23 | |
| 24 | bool AudioTrackInterface::GetSignalLevel(int* level) { |
| 25 | return false; |
| 26 | } |
| 27 | |
| 28 | rtc::scoped_refptr<AudioProcessorInterface> |
| 29 | AudioTrackInterface::GetAudioProcessor() { |
| 30 | return nullptr; |
| 31 | } |
| 32 | |
Piotr (Peter) Slatala | 95ca6e1 | 2018-11-13 07:57:07 -0800 | [diff] [blame^] | 33 | const cricket::AudioOptions AudioSourceInterface::options() const { |
| 34 | return {}; |
| 35 | } |
| 36 | |
phoglund | 37ebcf0 | 2016-01-08 05:04:57 -0800 | [diff] [blame] | 37 | } // namespace webrtc |