1 Star 0 Fork 62

greatitman/webrtc-src

forked from egege/webrtc-src 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
media_stream_interface.cc 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "api/media_stream_interface.h"
#include "api/media_types.h"
namespace webrtc {
const char* const MediaStreamTrackInterface::kVideoKind =
cricket::kMediaTypeVideo;
const char* const MediaStreamTrackInterface::kAudioKind =
cricket::kMediaTypeAudio;
VideoTrackInterface::ContentHint VideoTrackInterface::content_hint() const {
return ContentHint::kNone;
}
bool AudioTrackInterface::GetSignalLevel(int* level) {
return false;
}
rtc::scoped_refptr<AudioProcessorInterface>
AudioTrackInterface::GetAudioProcessor() {
return nullptr;
}
const cricket::AudioOptions AudioSourceInterface::options() const {
return {};
}
} // namespace webrtc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/greatitman/webrtc-src.git
git@gitee.com:greatitman/webrtc-src.git
greatitman
webrtc-src
webrtc-src
master

搜索帮助