media_stream_interface.cc (1104B)
1 /* 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 3 * 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. 9 */ 10 11 #include "api/media_stream_interface.h" 12 13 #include "api/audio_options.h" 14 #include "api/media_types.h" 15 #include "api/scoped_refptr.h" 16 17 namespace webrtc { 18 19 const char* const MediaStreamTrackInterface::kVideoKind = kMediaTypeVideo; 20 const char* const MediaStreamTrackInterface::kAudioKind = kMediaTypeAudio; 21 22 VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const { 23 return ContentHint::kNone; 24 } 25 26 bool AudioTrackInterface::GetSignalLevel(int* /* level */) { 27 return false; 28 } 29 30 scoped_refptr<AudioProcessorInterface> 31 AudioTrackInterface::GetAudioProcessor() { 32 return nullptr; 33 } 34 35 const AudioOptions AudioSourceInterface::options() const { 36 return {}; 37 } 38 39 } // namespace webrtc