blob: cf994cbeaab17569df00c4682942530d22bbd1f9 [file] [log] [blame]
phoglund37ebcf02016-01-08 05:04:57 -08001/*
ossu7bb87ee2017-01-23 04:56:25 -08002 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
phoglund37ebcf02016-01-08 05:04:57 -08003 *
kjellanderb24317b2016-02-10 07:54:43 -08004 * 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 05:04:57 -08009 */
10
Steve Anton10542f22019-01-11 09:11:00 -080011#include "api/media_stream_interface.h"
phoglund37ebcf02016-01-08 05:04:57 -080012
13namespace webrtc {
14
ossu7bb87ee2017-01-23 04:56:25 -080015const char MediaStreamTrackInterface::kVideoKind[] = "video";
16const char MediaStreamTrackInterface::kAudioKind[] = "audio";
phoglund37ebcf02016-01-08 05:04:57 -080017
Danil Chapovalov2a5ce2b2018-02-07 09:38:31 +010018VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
19 return ContentHint::kNone;
20}
21
22bool AudioTrackInterface::GetSignalLevel(int* level) {
23 return false;
24}
25
26rtc::scoped_refptr<AudioProcessorInterface>
27AudioTrackInterface::GetAudioProcessor() {
28 return nullptr;
29}
30
Piotr (Peter) Slatala95ca6e12018-11-13 07:57:07 -080031const cricket::AudioOptions AudioSourceInterface::options() const {
32 return {};
33}
34
Ruslan Burakov493a6502019-02-27 15:32:48 +010035double MediaSourceInterface::GetLatency() const {
Ruslan Burakov7ea46052019-02-16 02:07:05 +010036 return 0.0;
37}
38
phoglund37ebcf02016-01-08 05:04:57 -080039} // namespace webrtc