1 Star 0 Fork 398

BruceXuXu/multimedia_histreamer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.gni 3.11 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2021-2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
declare_args() {
# build histreamer plugin feature ability
# only for small and std (mini device does not support dynamic libraries)
multimedia_histreamer_enable_plugin_ffmpeg_adapter = true
# only tested on std device
multimedia_histreamer_enable_plugin_http_source = true
# depends on lite audio hdi interface (small device)
multimedia_histreamer_enable_plugin_hdi_adapter = false
# depends on lite media api
multimedia_histreamer_enable_plugin_stream_source = false
# only support mini device bes2600 tech (L0)
multimedia_histreamer_enable_plugin_lite_aac_decoder = false
multimedia_histreamer_enable_plugin_http_lite_source = false
# no external dependence
multimedia_histreamer_enable_plugin_file_source = true
multimedia_histreamer_enable_plugin_file_fd_source = true
multimedia_histreamer_enable_plugin_file_fd_sink = false
multimedia_histreamer_enable_plugin_aac_demuxer = false
multimedia_histreamer_enable_plugin_wav_demuxer = false
# no release (https://gitee.com/histreamer/minimp3)
multimedia_histreamer_enable_plugin_minimp3_adapter = false
multimedia_histreamer_enable_plugin_minimp4_demuxer = false
# depends on std media api
multimedia_histreamer_enable_plugin_std_stream_source = false
# depends on std audio service
multimedia_histreamer_enable_plugin_std_audio_capture = false
multimedia_histreamer_enable_plugin_audio_server_sink = false
# depends on std surface
multimedia_histreamer_enable_plugin_std_video_surface_sink = false
multimedia_histreamer_enable_plugin_std_video_capture = false
multimedia_histreamer_enable_plugin_avs3_audio_decoder = false
multimedia_histreamer_enable_recorder = false
multimedia_histreamer_enable_video = false
multimedia_histreamer_enable_avs3da = false
# configuration for histreamer created thread's stack size.
# 0 means using system default thread stack size, other positive values will be accepted.
config_ohos_multimedia_histreamer_stack_size = 0
hst_is_lite_sys = false
}
if (!defined(ohos_lite) || !ohos_lite) {
hst_is_lite_sys = false
multimedia_histreamer_enable_plugin_audio_server_sink = true
multimedia_histreamer_enable_recorder = true
multimedia_histreamer_enable_plugin_file_fd_sink = true
multimedia_histreamer_enable_plugin_std_audio_capture = true
multimedia_histreamer_enable_plugin_std_stream_source = true
multimedia_histreamer_enable_video = true
multimedia_histreamer_enable_plugin_std_video_surface_sink = true
} else {
hst_is_lite_sys = true
multimedia_histreamer_enable_plugin_hdi_adapter = true
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/BruceXuXu/multimedia_histreamer.git
git@gitee.com:BruceXuXu/multimedia_histreamer.git
BruceXuXu
multimedia_histreamer
multimedia_histreamer
master

搜索帮助