• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #include "api/media_types.h"
13 
14 namespace webrtc {
15 
16 const char* const MediaStreamTrackInterface::kVideoKind =
17     cricket::kMediaTypeVideo;
18 const char* const MediaStreamTrackInterface::kAudioKind =
19     cricket::kMediaTypeAudio;
20 
content_hint() const21 VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
22   return ContentHint::kNone;
23 }
24 
GetSignalLevel(int * level)25 bool AudioTrackInterface::GetSignalLevel(int* level) {
26   return false;
27 }
28 
29 rtc::scoped_refptr<AudioProcessorInterface>
GetAudioProcessor()30 AudioTrackInterface::GetAudioProcessor() {
31   return nullptr;
32 }
33 
options() const34 const cricket::AudioOptions AudioSourceInterface::options() const {
35   return {};
36 }
37 
38 }  // namespace webrtc
39