You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. #include "api/media_stream_interface.h"
  11. #include "api/media_types.h"
  12. namespace webrtc {
  13. const char* const MediaStreamTrackInterface::kVideoKind =
  14. cricket::kMediaTypeVideo;
  15. const char* const MediaStreamTrackInterface::kAudioKind =
  16. cricket::kMediaTypeAudio;
  17. VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
  18. return ContentHint::kNone;
  19. }
  20. bool AudioTrackInterface::GetSignalLevel(int* level) {
  21. return false;
  22. }
  23. rtc::scoped_refptr<AudioProcessorInterface>
  24. AudioTrackInterface::GetAudioProcessor() {
  25. return nullptr;
  26. }
  27. const cricket::AudioOptions AudioSourceInterface::options() const {
  28. return {};
  29. }
  30. } // namespace webrtc