代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/multimedia_player_framework 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (C) 2022-2022 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() {
multimedia_player_framework_support_player = true
multimedia_player_framework_support_recorder = true
multimedia_player_framework_support_player_js_api9 = true
multimedia_player_framework_support_recorder_js_api9 = true
multimedia_player_framework_support_codec = true
multimedia_player_framework_support_codec_js = false
multimedia_player_framework_support_metadata = true
multimedia_player_framework_support_gstreamer = true
multimedia_player_framework_support_histreamer = true
multimedia_player_framework_support_video = true
multimedia_player_framework_support_jsapi = true
multimedia_player_framework_support_capi = true
multimedia_player_framework_support_test = true
multimedia_player_framework_support_xcollie = true
multimedia_player_framework_support_jsstack = true
multimedia_player_framework_support_seccomp = false
if (defined(build_seccomp) && build_seccomp) {
multimedia_player_framework_support_seccomp = true
}
multimedia_player_framework_support_monitor = true
use_memmgr_plugin = false
if (defined(global_parts_info) &&
defined(global_parts_info.resourceschedule_memmgr_plugin)) {
use_memmgr_plugin = true
}
use_memmgr = false
if (defined(global_parts_info) &&
defined(global_parts_info.resourceschedule_memmgr)) {
use_memmgr = true
}
multimedia_player_framework_support_avsession_background = false
if (defined(global_parts_info) &&
defined(global_parts_info.multimedia_multimedia_av_session)) {
multimedia_player_framework_support_avsession_background = true
}
}
player_framework_defines = []
if (multimedia_player_framework_support_player) {
player_framework_defines += [ "SUPPORT_PLAYER" ]
} else {
player_framework_defines += [ "UNSUPPORT_PLAYER" ]
}
if (multimedia_player_framework_support_player_js_api9) {
player_framework_defines += [ "SUPPORT_PLAYER_API9" ]
}
if (multimedia_player_framework_support_avsession_background) {
player_framework_defines += [ "SUPPORT_AVSESSION" ]
}
if (multimedia_player_framework_support_recorder_js_api9) {
player_framework_defines += [ "SUPPORT_RECORDER_API9" ]
}
if (multimedia_player_framework_support_recorder) {
player_framework_defines += [ "SUPPORT_RECORDER" ]
} else {
player_framework_defines += [ "UNSUPPORT_RECORDER" ]
}
if (multimedia_player_framework_support_codec) {
player_framework_defines += [ "SUPPORT_CODEC" ]
} else {
player_framework_defines += [ "UNSUPPORT_CODEC" ]
}
if (multimedia_player_framework_support_codec_js) {
player_framework_defines += [ "SUPPORT_CODEC_JS" ]
}
if (multimedia_player_framework_support_metadata) {
player_framework_defines += [ "SUPPORT_METADATA" ]
} else {
player_framework_defines += [ "UNSUPPORT_METADATA" ]
}
if (multimedia_player_framework_support_video) {
player_framework_defines += [ "SUPPORT_VIDEO" ]
} else {
player_framework_defines += [ "SUPPORT_AUDIO_ONLY" ]
}
if (multimedia_player_framework_support_histreamer) {
player_framework_defines += [ "SUPPORT_HISTREAMER" ]
}
if (multimedia_player_framework_support_xcollie) {
player_framework_defines += [ "HICOLLIE_ENABLE" ]
}
if (multimedia_player_framework_support_jsstack) {
player_framework_defines += [ "SUPPORT_JSSTACK" ]
}
if (use_memmgr_plugin || use_memmgr) {
player_framework_defines += [ "PLAYER_USE_MEMORY_MANAGE" ]
}
if (multimedia_player_framework_support_monitor) {
player_framework_defines += [ "USE_MONITOR" ]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。