* Copyright (c) 2021-2025 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.
*/
#ifndef MEDIA_FOUNDATION_META_KEY_H
#define MEDIA_FOUNDATION_META_KEY_H
#include "meta/any.h"
namespace OHOS {
namespace Media {
class Tag {
public:
static constexpr const char REGULAR_TRACK_ID[] = "track_index";
static constexpr const char STREAM_ID_FOR_REPORT[] = "stream_id_for_report";
static constexpr const char MEDIA_CHANGE_SEQ[] = "media_change_seq";
static constexpr const char MEDIA_CHANGE_STREAM_TYPE[] = "media_change_stream_type";
static constexpr const char REQUIRED_IN_BUFFER_CNT[] =
"max_input_buffer_count";
static constexpr const char REQUIRED_IN_BUFFER_SIZE[] =
"max_input_size";
static constexpr const char REQUIRED_OUT_BUFFER_CNT[] =
"max_output_buffer_count";
static constexpr const char REQUIRED_OUT_BUFFER_SIZE[] =
"regular.required.out.buffer.size";
static constexpr const char BUFFER_ALLOCATOR[] =
"regular.buffer.allocator";
static constexpr const char BUFFERING_SIZE[] = "regular.buffering.size";
static constexpr const char WATERLINE_HIGH[] = "regular.waterline.high";
static constexpr const char WATERLINE_LOW[] = "regular.waterline.low";
static constexpr const char SRC_INPUT_TYPE[] = "regular.src.input.type";
static constexpr const char APP_TOKEN_ID[] = "regular.app.token.id";
static constexpr const char APP_FULL_TOKEN_ID[] = "regular.app.full.token.id";
static constexpr const char APP_UID[] = "regular.app.uid";
static constexpr const char APP_PID[] = "regular.app.pid";
static constexpr const char AUDIO_RENDER_INFO[] =
"regular.audio.render.info";
static constexpr const char AUDIO_INTERRUPT_MODE[] =
"regular.audio.interrupt.mode";
static constexpr const char VIDEO_SCALE_TYPE[] = "scale_type";
static constexpr const char INPUT_MEMORY_TYPE[] = "regular.input.memory.type";
static constexpr const char OUTPUT_MEMORY_TYPE[] = "regular.output.memory.type";
static constexpr const char PROCESS_NAME[] = "process_name";
static constexpr const char AUDIO_RENDER_SET_FLAG[] =
"regular.audio.render.set.flag";
static constexpr const char STALLING_TIMESTAMP[] = "regular.stalling.timestamp";
static constexpr const char MIME_TYPE[] = "codec_mime";
static constexpr const char ORIGINAL_CODEC_NAME[] = "original_codec_name";
static constexpr const char MEDIA_CODEC_NAME[] = "codec_name";
static constexpr const char MEDIA_IS_HARDWARE[] = "is_hardware";
static constexpr const char MEDIA_TITLE[] = "title";
static constexpr const char MEDIA_ARTIST[] = "artist";
static constexpr const char MEDIA_LYRICIST[] = "media.lyricist";
static constexpr const char MEDIA_ALBUM[] = "album";
static constexpr const char MEDIA_ALBUM_ARTIST[] = "album_artist";
static constexpr const char MEDIA_DATE[] = "date";
static constexpr const char MEDIA_COMMENT[] = "comment";
static constexpr const char MEDIA_GENRE[] = "genre";
static constexpr const char MEDIA_COPYRIGHT[] = "copyright";
static constexpr const char MEDIA_LANGUAGE[] = "language";
static constexpr const char MEDIA_DESCRIPTION[] = "description";
static constexpr const char MEDIA_LYRICS[] = "lyrics";
static constexpr const char MEDIA_AUTHOR[] = "author";
static constexpr const char MEDIA_COMPOSER[] = "composer";
static constexpr const char MEDIA_CREATION_TIME[] =
"creation_time";
static constexpr const char MEDIA_LATITUDE[] = "latitude";
static constexpr const char MEDIA_LONGITUDE[] = "longitude";
static constexpr const char MEDIA_ALTITUDE[] = "altitude";
static constexpr const char MEDIA_DURATION[] = "duration";
static constexpr const char MEDIA_FILE_SIZE[] = "media.file.size";
static constexpr const char MEDIA_BITRATE[] = "bitrate";
static constexpr const char VIDEOCALL_LOWPOWER_MODE[] = "videocall.lowpower,mode";
static constexpr const char MEDIA_FILE_URI[] = "media.file.uri";
static constexpr const char MEDIA_CODEC_CONFIG[] =
"codec_config";
static constexpr const char MEDIA_CODEC_MODE[] = "media.codec.mode";
static constexpr const char MEDIA_POSITION[] = "media.position";
static constexpr const char MEDIA_START_TIME[] = "track_start_time";
static constexpr const char MEDIA_CONTAINER_START_TIME[] = "start_time";
static constexpr const char MEDIA_SEEKABLE[] = "media.seekable";
static constexpr const char MEDIA_PLAYBACK_SPEED[] = "media.playback.speed";
static constexpr const char MEDIA_TYPE[] =
"track_type";
static constexpr const char MEDIA_TRACK_COUNT[] = "track_count";
static constexpr const char MEDIA_TIME_SCALE[] = "time_scale";
static constexpr const char MEDIA_FILE_TYPE[] = "file_type";
static constexpr const char MEDIA_STREAM_TYPE[] = "media.stream.type";
static constexpr const char MEDIA_HAS_VIDEO[] = "has_video";
static constexpr const char MEDIA_HAS_AUDIO[] = "has_audio";
static constexpr const char MEDIA_HAS_SUBTITLE[] = "has_subtitle";
static constexpr const char MEDIA_HAS_TIMEDMETA[] = "has_timed_meta";
static constexpr const char MEDIA_HAS_AUXILIARY[] = "has_auxiliary";
static constexpr const char MEDIA_COVER[] = "cover";
static constexpr const char MEDIA_PROTOCOL_TYPE[] = "media.protocol.type";
static constexpr const char MEDIA_PROFILE[] = "codec_profile";
static constexpr const char MEDIA_LEVEL[] = "codec_level";
static constexpr const char MEDIA_TIME_STAMP[] = "timeStamp";
static constexpr const char MEDIA_END_OF_STREAM[] = "endOfStream";
static constexpr const char MEDIA_AVAILABLE_BITRATES[] = "available_bitRates";
static constexpr const char MEDIA_EDITLIST[] = "use_editlist";
static constexpr const char MEDIA_ENABLE_MOOV_FRONT[] = "fast_start";
static constexpr const char MEDIA_AIGC[] = "aigc";
static constexpr const char MEDIA_GLTF_VERSION[] = "gltf_version";
static constexpr const char MEDIA_GLTF_ITEM_NAME[] = "gltf_item_name";
static constexpr const char MEDIA_GLTF_CONTENT_TYPE[] = "gltf_content_type";
static constexpr const char MEDIA_GLTF_CONTENT_ENCODING[] = "gltf_content_encoding";
static constexpr const char MEDIA_GLTF_DATA[] = "gltf_data";
static constexpr const char MEDIA_GLTF_ITEM_TYPE[] = "gltf_item_type";
static constexpr const char MEDIA_ENCODER[] = "encoder";
static constexpr const char MEDIA_DEMUXER_MODE[] = "demuxer_mode";
static constexpr const char BUFFER_DECODING_TIMESTAMP[] = "decoding_timestamp";
static constexpr const char BUFFER_DURATION[] = "buffer_duration";
static constexpr const char BUFFER_INDEX[] = "private_buffer_index";
static constexpr const char BUFFER_SKIP_SAMPLES_INFO[] = "buffer_skip_samples_info";
static constexpr const char ENABLE_BUFFER_SKIP_SAMPLES[] =
"enable_buffer_skip_samples";
static constexpr const char VIDEO_STATIC_METADATA_SMPT2086[] =
"video_static_metadata_smpt2086";
static constexpr const char VIDEO_STATIC_METADATA_CTA861[] =
"video_static_metadata_cta861";
static constexpr const char CHECK_CODEC_CHANGE[] =
"check_codec_change";
static constexpr const char TIMED_METADATA_SRC_TRACK_MIME[] =
"timed_metadata_src_track_mime";
static constexpr const char TIMED_METADATA_SRC_TRACK[] =
"timed_metadata_track_id";
static constexpr const char TIMED_METADATA_KEY[] = "timed_metadata_key";
static constexpr const char TIMED_METADATA_LOCALE[] = "locale_timed_metadata";
static constexpr const char TIMED_METADATA_SETUP[] = "setup_of_timed_metadata";
static constexpr const char REFERENCE_TRACK_IDS[] = "reference_track_ids";
static constexpr const char TRACK_REFERENCE_TYPE[] = "track_reference_type";
static constexpr const char TRACK_DESCRIPTION[] = "track_description";
static constexpr const char REF_TRACK_IDS[] = "ref_track_ids";
static constexpr const char TRACK_REF_TYPE[] = "track_ref_type";
static constexpr const char IS_GLTF[] = "is_gltf";
static constexpr const char GLTF_OFFSET[] = "gltf_offset";
static constexpr const char AUDIO_CHANNEL_COUNT[] = "channel_count";
static constexpr const char AUDIO_CHANNEL_LAYOUT[] =
"channel_layout";
static constexpr const char AUDIO_SAMPLE_RATE[] = "sample_rate";
static constexpr const char AUDIO_SAMPLE_FORMAT[] = "audio_sample_format";
static constexpr const char AUDIO_RAW_SAMPLE_FORMAT[] = "audio.raw.sample.format";
static constexpr const char AUDIO_SAMPLE_PER_FRAME[] = "audio_samples_per_frame";
static constexpr const char AUDIO_OUTPUT_CHANNELS[] = "audio.output.channels";
static constexpr const char AUDIO_OUTPUT_CHANNEL_LAYOUT[] =
"audio.output.channel.layout";
static constexpr const char AUDIO_BLOCK_ALIGN[] = "audio_block_align";
static constexpr const char AUDIO_SOUNDBED_LAYOUT[] = "audio_soundbed_layout";
static constexpr const char AUDIO_SOUNDBED_BITRATE[] = "audio_soundbed_bitrate";
static constexpr const char AUDIO_OBJECT_BITRATE[] = "audio_object_bitrate";
static constexpr const char AUDIO_VIVID_SIGNAL_FORMAT[] = "audio_vivid_signal_format";
static constexpr const char AUDIO_COMPRESSION_LEVEL[] = "audio_compression_level";
static constexpr const char AUDIO_MAX_INPUT_SIZE[] = "audio.max.input.size";
static constexpr const char AUDIO_MAX_OUTPUT_SIZE[] = "audio.max.output.size";
static constexpr const char AUDIO_BITS_PER_CODED_SAMPLE[] = "bits_per_coded_sample";
static constexpr const char AUDIO_BITS_PER_RAW_SAMPLE[] = "bits_per_raw_sample";
static constexpr const char AUDIO_BITRATE_MODE[] = "audio_bitrate_mode";
static constexpr const char AUDIO_L2HC_VERSION[] = "audio_l2hc_version";
static constexpr const char AUDIO_ENCODER_ENABLE_SAMPLE_FORMAT_CONVERT[] =
"audio_encoder_enable_sample_format_convert";
static constexpr const char AUDIO_MPEG_VERSION[] = "audio.mpeg.version";
static constexpr const char AUDIO_MPEG_LAYER[] = "audio.mpeg.layer";
static constexpr const char AUDIO_AAC_PROFILE[] = "audio.aac.profile";
static constexpr const char AUDIO_AAC_LEVEL[] = "audio.aac.level";
static constexpr const char AUDIO_AAC_STREAM_FORMAT[] = "audio.aac.stream.format";
static constexpr const char AUDIO_AAC_IS_ADTS[] = "aac_is_adts";
static constexpr const char AUDIO_VIVID_METADATA[] = "audio.vivid.metadata";
static constexpr const char AUDIO_OBJECT_NUMBER[] = "audio.object.number";
static constexpr const char AUDIO_AAC_SBR[] = "sbr";
static constexpr const char AUDIO_FLAC_COMPLIANCE_LEVEL[] = "compliance_level";
static constexpr const char AUDIO_VORBIS_IDENTIFICATION_HEADER[] =
"identification_header";
static constexpr const char AUDIO_VORBIS_SETUP_HEADER[] = "setup_header";
static constexpr const char OH_MD_KEY_AUDIO_OBJECT_NUMBER[] =
"audio_object_number_key";
static constexpr const char OH_MD_KEY_AUDIO_VIVID_METADATA[] =
"audio_vivid_metadata_key";
static constexpr const char AUDIO_SOUNDBED_CHANNELS_NUMBER[] =
"audio.soundbed.channels.number";
static constexpr const char AUDIO_HOA_ORDER[] =
"audio.hoa.order";
static constexpr const char AUDIO_ENCODE_PTS_MODE[] = "audio_encode_pts_mode";
static constexpr const char AUDIO_MAX_INPUT_BUFFER_SIZE[] = "audio_max_input_buffer_size";
static constexpr const char VIDEO_WIDTH[] = "width";
static constexpr const char VIDEO_HEIGHT[] = "height";
static constexpr const char VIDEO_PIXEL_FORMAT[] = "pixel_format";
static constexpr const char VIDEO_RAWVIDEO_INPUT_PIXEL_FORMAT[] = "rawvideo_input_pix_fmt";
static constexpr const char VIDEO_FRAME_RATE[] = "frame_rate";
static constexpr const char VIDEO_SURFACE[] = "video.surface";
static constexpr const char VIDEO_MAX_SURFACE_NUM[] = "video.max.surface_num";
static constexpr const char VIDEO_CAPTURE_RATE[] = "capture_rate";
static constexpr const char VIDEO_BIT_STREAM_FORMAT[] = "video.bit.stream.format";
static constexpr const char VIDEO_ROTATION[] = "rotation_angle";
static constexpr const char VIDEO_ORIENTATION_TYPE[] = "video_orientation_type";
static constexpr const char VIDEO_HDR_METADATA[] = "video_hdr_metadata";
static constexpr const char VIDEO_COLOR_PRIMARIES[] = "color_primaries";
static constexpr const char VIDEO_COLOR_TRC[] = "transfer_characteristics";
static constexpr const char VIDEO_COLOR_MATRIX_COEFF[] = "matrix_coefficients";
static constexpr const char VIDEO_COLOR_RANGE[] = "range_flag";
static constexpr const char VIDEO_IS_HDR_VIVID[] = "video_is_hdr_vivid";
static constexpr const char VIDEO_HDR_TYPE[] = "video_hdr_type";
static constexpr const char VIDEO_TYPE[] = "video_type";
static constexpr const char VIDEO_HDR_COMPATIBILITY[] = "video_hdr_compatibility";
static constexpr const char VIDEO_STRIDE[] = "stride";
static constexpr const char VIDEO_DISPLAY_WIDTH[] = "display_width";
static constexpr const char VIDEO_DISPLAY_HEIGHT[] = "display_height";
static constexpr const char VIDEO_PIC_WIDTH[] = "video_picture_width";
static constexpr const char VIDEO_PIC_HEIGHT[] = "video_picture_height";
static constexpr const char VIDEO_SAR[] = "video_sar";
static constexpr const char VIDEO_FRAME_RATE_ADAPTIVE_MODE[] =
"frame_rate_adaptive_mode";
static constexpr const char VIDEO_DELAY[] = "video_delay";
static constexpr const char VIDEO_I_FRAME_INTERVAL[] = "i_frame_interval";
static constexpr const char VIDEO_REQUEST_I_FRAME[] =
"req_i_frame";
static constexpr const char VIDEO_ENCODE_BITRATE_MODE[] =
"video_encode_bitrate_mode";
static constexpr const char VIDEO_ENCODE_B_FRAME_GOP_MODE[] =
"video_encode_b_frame_gop_mode";
static constexpr const char VIDEO_ENCODE_SET_FRAME_PTS[] =
"video_encode_set_frame_pts";
static constexpr const char VIDEO_CODEC_SCENARIO[] =
"video_codec_scenario";
static constexpr const char VIDEO_ENCODER_ENABLE_B_FRAME[] =
"video_encoder_enable_b_frame";
static constexpr const char VIDEO_ENCODER_MAX_B_FRAME[] =
"video_encoder_max_b_frame";
static constexpr const char VIDEO_ENCODE_QUALITY[] =
"quality";
static constexpr const char VIDEO_ENCODER_ENABLE_TEMPORAL_SCALABILITY[] =
"video_encoder_enable_temporal_scalability";
static constexpr const char VIDEO_ENCODER_TEMPORAL_GOP_SIZE[] =
"video_encoder_temporal_gop_size";
static constexpr const char VIDEO_ENCODER_TEMPORAL_GOP_REFERENCE_MODE[] =
"video_encoder_temporal_gop_reference_mode";
static constexpr const char VIDEO_ENCODER_LTR_FRAME_COUNT[] =
"video_encoder_ltr_frame_count";
static constexpr const char VIDEO_ENCODER_ENABLE_PARAMS_FEEDBACK[] =
"video_encoder_enable_params_feedback";
static constexpr const char VIDEO_ENCODER_PER_FRAME_MARK_LTR[] =
"video_encoder_per_frame_mark_ltr";
static constexpr const char VIDEO_ENCODER_PER_FRAME_USE_LTR[] =
"video_encoder_per_frame_use_ltr";
static constexpr const char VIDEO_PER_FRAME_IS_LTR[] =
"video_per_frame_is_ltr";
static constexpr const char VIDEO_PER_FRAME_IS_SKIP[] =
"video_per_frame_is_skip";
static constexpr const char VIDEO_PER_FRAME_POC[] =
"video_per_frame_poc";
static constexpr const char VIDEO_CROP_TOP[] =
"video_crop_top";
static constexpr const char VIDEO_CROP_BOTTOM[] =
"video_crop_bottom";
static constexpr const char VIDEO_CROP_LEFT[] =
"video_crop_left";
static constexpr const char VIDEO_CROP_RIGHT[] =
"video_crop_right";
static constexpr const char VIDEO_SLICE_HEIGHT[] =
"video_slice_height";
static constexpr const char VIDEO_ENABLE_LOW_LATENCY[] =
"video_enable_low_latency";
static constexpr const char VIDEO_OPERATING_RATE[] =
"video_operating_rate";
static constexpr const char VIDEO_ENCODER_QP_MAX[] =
"video_encoder_qp_max";
static constexpr const char VIDEO_ENCODER_QP_MIN[] =
"video_encoder_qp_min";
static constexpr const char VIDEO_ENCODER_QP_START[] =
"video_encoder_qp_start";
static constexpr const char VIDEO_ENCODER_ROI_PARAMS[] =
"video_encoder_roi_params";
static constexpr const char VIDEO_ENCODER_TARGET_QP[] =
"video_encoder_target_qp";
static constexpr const char VIDEO_ENCODER_ENABLE_SURFACE_INPUT_CALLBACK[] =
"video_encoder_enable_surface_input_callback";
static constexpr const char VIDEO_DECODER_RATE_UPPER_LIMIT[] =
"video_decoder_rate_upper_limit";
static constexpr const char VIDEO_BUFFER_CAN_DROP[] =
"video_buffer_can_drop";
static constexpr const char VIDEO_ENCODER_FRAME_I_RATIO[] =
"video_encoder_frame_I_ratio";
static constexpr const char VIDEO_ENCODER_FRAME_MADI[] =
"video_encoder_frame_madi";
static constexpr const char VIDEO_ENCODER_FRAME_MADP[] =
"video_encoder_frame_madp";
static constexpr const char VIDEO_ENCODER_SUM_MADI[] =
"video_encoder_sum_madi";
static constexpr const char VIDEO_ENCODER_REAL_BITRATE[] =
"video_encoder_real_bit_rate";
static constexpr const char VIDEO_ENCODER_FRAME_QP[] =
"video_encoder_frame_qp";
static constexpr const char VIDEO_ENCODER_QP_AVERAGE[] =
"video_encoder_qp_average";
static constexpr const char VIDEO_ENCODER_MSE[] =
"video_encoder_mse";
static constexpr const char VIDEO_ENCODER_PER_FRAME_DISCARD[] =
"video_encoder_per_frame_discard";
static constexpr const char VIDEO_ENCODER_ENABLE_WATERMARK[] =
"video_encoder_enable_watermark";
static constexpr const char VIDEO_COORDINATE_X[] =
"video_coordinate_x";
static constexpr const char VIDEO_COORDINATE_Y[] =
"video_coordinate_y";
static constexpr const char VIDEO_COORDINATE_W[] =
"video_coordinate_w";
static constexpr const char VIDEO_COORDINATE_H[] =
"video_coordinate_h";
static constexpr const char VIDEO_ENCODER_REPEAT_PREVIOUS_FRAME_AFTER[] =
"video_encoder_repeat_previous_frame_after";
static constexpr const char VIDEO_ENCODER_REPEAT_PREVIOUS_MAX_COUNT[] =
"video_encoder_repeat_previous_max_count";
static constexpr const char VIDEO_DECODER_OUTPUT_COLOR_SPACE[] =
"video_decoder_output_colorspace";
static constexpr const char VIDEO_ENCODER_FRAME_TEMPORAL_ID[] =
"video_encoder_frame_temporal_id";
static constexpr const char VIDEO_DECODER_DESIRED_PRESENT_TIMESTAMP[] =
"video_decoder_desired_present_timestamp";
static constexpr const char VIDEO_ENCODER_MAX_BITRATE[] = "max_bitrate";
static constexpr const char VIDEO_ENCODER_SQR_FACTOR[] =
"sqr_factor";
static constexpr const char VIDEO_ENCODER_ENABLE_QP_MAP[] =
"video_encoder_enable_qp_map";
static constexpr const char VIDEO_ENCODER_PER_FRAME_ABS_QP_MAP[] =
"video_encoder_frame_abs_block_qp";
static constexpr const char VIDEO_ENCODER_PER_FRAME_QP_MAP[] =
"video_encoder_frame_block_qp";
static constexpr const char VIDEO_ENCODER_ENABLE_PTS_BASED_RATECONTROL[] =
"video_encoder_enable_pts_based_ratecontrol";
static constexpr const char VIDEO_DECODER_BLANK_FRAME_ON_SHUTDOWN[] =
"video_decoder_blank_frame_on_shutdown";
static constexpr const char VIDEO_GRAPHIC_PIXEL_FORMAT[] =
"video_graphic_pixel_format";
static constexpr const char VIDEO_ENCODER_NUMBER_OF_PENDING_FRAMES[] =
"video_encoder_number_of_pending_frames";
static constexpr const char VIDEO_ENCODER_MAX_FRAME_DELAY_COUNT[] =
"video_encoder_max_frame_delay_count";
static constexpr const char VIDEO_DECODER_OUTPUT_IN_DECODING_ORDER[] =
"video_decoder_output_in_decoding_order";
static constexpr const char VIDEO_ENCODER_REPEAT_HEADER_BEFORE_SYNC_FRAMES[] =
"video_encoder_repeat_header_before_sync_frames";
static constexpr const char VIDEO_H264_PROFILE[] = "video.h264.profile";
static constexpr const char VIDEO_H264_LEVEL[] = "video.h264.level";
static constexpr const char VIDEO_H265_PROFILE[] = "video.h265.profile";
static constexpr const char VIDEO_H265_LEVEL[] = "video.h265.level";
static constexpr const char VIDEO_CHROMA_LOCATION[] = "chroma_location";
static constexpr const char VIDEO_ENABLE_LOCAL_RELEASE[] =
"video_enable_local_release";
static constexpr const char USER_FRAME_PTS[] = "user.frame.pts";
static constexpr const char USER_TIME_SYNC_RESULT[] =
"user.time.sync.result";
static constexpr const char USER_AV_SYNC_GROUP_INFO[] =
"user.av.sync.group.info";
static constexpr const char USER_SHARED_MEMORY_FD[] =
"user.shared.memory.fd";
static constexpr const char USER_PUSH_DATA_TIME[] = "user.push.data.time";
static constexpr const char DRM_CENC_INFO[] = "drm_cenc_info";
static constexpr const char DRM_APP_NAME[] = "APP_NAME";
static constexpr const char DRM_INSTANCE_ID[] = "INSTANCE_ID";
static constexpr const char DRM_DECRYPT_AVG_SIZE[] = "DECRYPT_AVG_SIZE";
static constexpr const char DRM_DECRYPT_AVG_DURATION[] = "DECRYPT_AVG_DURATION";
static constexpr const char DRM_DECRYPT_MAX_SIZE[] = "DECRYPT_MAX_SIZE";
static constexpr const char DRM_DECRYPT_MAX_DURATION[] = "DECRYPT_MAX_DURATION";
static constexpr const char DRM_DECRYPT_TIMES[] = "DECRYPT_TIMES";
static constexpr const char DRM_ERROR_CODE[] = "ERROR_CODE";
static constexpr const char DRM_ERROR_MESG[] = "ERROR_MESG";
static constexpr const char FEATURE_PROPERTY_VIDEO_ENCODER_MAX_LTR_FRAME_COUNT[] =
"feature_property_video_encoder_max_ltr_frame_count";
static constexpr const char AV_CODEC_FORWARD_CALLER_PID[] = "av_codec_forward_caller_pid";
static constexpr const char AV_CODEC_FORWARD_CALLER_UID[] = "av_codec_forward_caller_uid";
static constexpr const char AV_CODEC_FORWARD_CALLER_PROCESS_NAME[] = "av_codec_forward_caller_process_name";
static constexpr const char AV_CODEC_CALLER_PID[] = "av_codec_caller_pid";
static constexpr const char AV_CODEC_CALLER_UID[] = "av_codec_caller_uid";
static constexpr const char AV_CODEC_CALLER_PROCESS_NAME[] = "av_codec_caller_process_name";
static constexpr const char AV_CODEC_ENABLE_SYNC_MODE[] = "enable_sync_mode";
static constexpr const char SCREEN_CAPTURE_ERR_CODE[] = "errCode";
static constexpr const char SCREEN_CAPTURE_ERR_MSG[] = "errMsg";
static constexpr const char SCREEN_CAPTURE_DURATION[] = "captureDuration";
static constexpr const char SCREEN_CAPTURE_AV_TYPE[] = "avType";
static constexpr const char SCREEN_CAPTURE_DATA_TYPE[] = "dataType";
static constexpr const char SCREEN_CAPTURE_USER_AGREE[] = "userAgree";
static constexpr const char SCREEN_CAPTURE_REQURE_MIC[] = "requireMic";
static constexpr const char SCREEN_CAPTURE_ENABLE_MIC[] = "enableMic";
static constexpr const char SCREEN_CAPTURE_VIDEO_RESOLUTION[] = "videoResolution";
static constexpr const char SCREEN_CAPTURE_STOP_REASON[] = "stopReason";
static constexpr const char SCREEN_CAPTURE_START_LATENCY[] = "startLatency";
static constexpr const char RECORDER_ERR_CODE[] = "errCode";
static constexpr const char RECORDER_ERR_MSG[] = "errMsg";
static constexpr const char RECORDER_DURATION[] = "recordDuration";
static constexpr const char RECORDER_CONTAINER_MIME[] = "containerMime";
static constexpr const char RECORDER_VIDEO_MIME[] = "videoMime";
static constexpr const char RECORDER_VIDEO_RESOLUTION[] = "videoResolution";
static constexpr const char RECORDER_VIDEO_BITRATE[] = "videoBitrate";
static constexpr const char RECORDER_HDR_TYPE[] = "hdrType";
static constexpr const char RECORDER_AUDIO_MIME[] = "audioMime";
static constexpr const char RECORDER_AUDIO_SAMPLE_RATE[] = "audioSampleRate";
static constexpr const char RECORDER_AUDIO_CHANNEL_COUNT[] = "audioChannelCount";
static constexpr const char RECORDER_AUDIO_BITRATE[] = "audioBitrate";
static constexpr const char RECORDER_START_LATENCY[] = "startLatency";
static constexpr const char RECORDER_CONTAINER_FORMAT[] = "containerFormat";
static constexpr const char SUBTITLE_TEXT[] = "subtitle_text";
static constexpr const char SUBTITLE_PTS[] = "subtitle_pts";
static constexpr const char SUBTITLE_DURATION[] = "subtitle_duration";
static constexpr const char AV_PLAYER_ERR_CODE[] = "av_player_errCode";
static constexpr const char AV_PLAYER_ERR_MSG[] = "av_player_errMsg";
static constexpr const char AV_PLAYER_PLAY_DURATION[] = "av_player_play_duration";
static constexpr const char AV_PLAYER_SOURCE_TYPE[] = "av_player_source_type";
static constexpr const char AV_PLAYER_AVG_DOWNLOAD_RATE[] = "av_player_avg_download_rate";
static constexpr const char AV_PLAYER_CONTAINER_MIME[] = "av_player_container_mime";
static constexpr const char AV_PLAYER_VIDEO_MIME[] = "av_player_video_mime";
static constexpr const char AV_PLAYER_VIDEO_RESOLUTION[] = "av_player_video_resolution";
static constexpr const char AV_PLAYER_VIDEO_FRAMERATE[] = "av_player_video_framerate";
static constexpr const char AV_PLAYER_VIDEO_BITDEPTH[] = "av_player_video_bitdepth";
static constexpr const char AV_PLAYER_VIDEO_BITRATE[] = "av_player_video_bitrate";
static constexpr const char AV_PLAYER_HDR_TYPE[] = "av_player_hdr_type";
static constexpr const char AV_PLAYER_AUDIO_MIME[] = "av_player_audio_mime";
static constexpr const char AV_PLAYER_AUDIO_BITRATE[] = "av_player_audio_bitrate";
static constexpr const char AV_PLAYER_IS_DRM_PROTECTED[] = "av_player_is_drm_protected";
static constexpr const char AV_PLAYER_START_LATENCY[] = "av_player_start_latency";
static constexpr const char AV_PLAYER_AVG_DOWNLOAD_SPEED[] = "av_player_avg_download_speed";
static constexpr const char AV_PLAYER_MAX_SEEK_LATENCY[] = "av_player_max_seek_latency";
static constexpr const char AV_PLAYER_MAX_ACCURATE_SEEK_LATENCY[] = "av_player_max_accurate_seek_latency";
static constexpr const char AV_PLAYER_LAG_TIMES[] = "av_player_lag_times";
static constexpr const char AV_PLAYER_MAX_LAG_DURATION[] = "av_player_max_lag_duration";
static constexpr const char AV_PLAYER_AVG_LAG_DURATION[] = "av_player_avg_lag_duration";
static constexpr const char AV_PLAYER_MAX_SURFACESWAP_LATENCY[] = "av_player_max_surfaceswap_latency";
static constexpr const char AV_PLAYER_DOWNLOAD_TOTAL_BITS[] = "av_player_total_download_bits";
static constexpr const char AV_PLAYER_DOWNLOAD_TIME_OUT[] = "av_player_download_time_out";
static constexpr const char AV_PLAYER_BUFFER_DURATION[] = "av_player_buffer_duration";
static constexpr const char AV_PLAYER_SEI_PAYLOAD[] = "payload";
static constexpr const char AV_PLAYER_SEI_PAYLOAD_TYPE[] = "payloadType";
static constexpr const char AV_PLAYER_SEI_PLAYBACK_POSITION[] = "av_player_sei_playback_position";
static constexpr const char AV_PLAYER_SEI_PLAYBACK_GROUP[] = "av_player_sei_playback_group";
static constexpr const char AV_TRANSCODER_ERR_CODE[] = "av_transcoder_errCode";
static constexpr const char AV_TRANSCODER_ERR_MSG[] = "av_transcoder_errMsg";
static constexpr const char AV_TRANSCODER_SOURCE_DURATION[] = "av_transcoder_source_duration";
static constexpr const char AV_TRANSCODER_TRANSCODER_DURATION[] = "av_transcoder_transcoder_duration";
static constexpr const char AV_TRANSCODER_SRC_FORMAT[] = "av_transcoder_src_format";
static constexpr const char AV_TRANSCODER_SRC_AUDIO_MIME[] = "av_transcoder_src_audio_mime";
static constexpr const char AV_TRANSCODER_SRC_VIDEO_MIME[] = "av_transcoder_src_video_mime";
static constexpr const char AV_TRANSCODER_SRC_VIDEO_FRAME_RATE[] = "av_transcoder_src_video_frame_rate";
static constexpr const char AV_TRANSCODER_SRC_VIDEO_BITRATE[] = "av_transcoder_src_video_bitrate";
static constexpr const char AV_TRANSCODER_SRC_HDR_TYPE[] = "av_transcoder_src_hdr_type";
static constexpr const char AV_TRANSCODER_SRC_AUDIO_SAMPLE_RATE[] = "av_transcoder_src_audio_sample_rate";
static constexpr const char AV_TRANSCODER_SRC_AUDIO_CHANNEL_COUNT[] = "av_transcoder_src_audio_channel_count";
static constexpr const char AV_TRANSCODER_SRC_AUDIO_BITRATE[] = "av_transcoder_src_audio_bitrate";
static constexpr const char AV_TRANSCODER_DST_FORMAT[] = "av_transcoder_dst_format";
static constexpr const char AV_TRANSCODER_DST_AUDIO_MIME[] = "av_transcoder_dst_audio_mime";
static constexpr const char AV_TRANSCODER_DST_VIDEO_MIME[] = "av_transcoder_dst_video_mime";
static constexpr const char AV_TRANSCODER_DST_VIDEO_FRAME_RATE[] = "av_transcoder_dst_video_frame_rate";
static constexpr const char AV_TRANSCODER_DST_VIDEO_BITRATE[] = "av_transcoder_dst_video_bitrate";
static constexpr const char AV_TRANSCODER_DST_HDR_TYPE[] = "av_transcoder_dst_hdr_type";
static constexpr const char AV_TRANSCODER_DST_COLOR_SPACE[] = "av_transcoder_dst_color_space";
static constexpr const char AV_TRANSCODER_ENABLE_B_FRAME[] = "av_transcoder_enable_b_frame_encoding";
static constexpr const char AV_TRANSCODER_DST_AUDIO_SAMPLE_RATE[] = "av_transcoder_dst_audio_sample_rate";
static constexpr const char AV_TRANSCODER_DST_AUDIO_CHANNEL_COUNT[] = "av_transcoder_dst_audio_channel_count";
static constexpr const char AV_TRANSCODER_DST_AUDIO_BITRATE[] = "av_transcoder_dst_audio_bitrate";
static constexpr const char AV_TRANSCODER_VIDEO_DECODER_DURATION[] = "av_transcoder_video_decoder_duration";
static constexpr const char AV_TRANSCODER_VIDEO_ENCODER_DURATION[] = "av_transcoder_video_encoder_duration";
static constexpr const char AV_TRANSCODER_VIDEO_VPE_DURATION[] = "av_transcoder_video_vpe_duration";
static constexpr const char VIDEO_DECODER_OUTPUT_ENABLE_VRR[] = "video_decoder_output_enable_vrr";
static constexpr const char VIDEO_DECODER_FRAME_RETENTION_MODE[] = "video_decoder_frame_retention_mode";
static constexpr const char VIDEO_DECODER_FRAME_RETENTION_RATIO[] = "video_decoder_frame_retention_ratio";
static constexpr const char VIDEO_DECODER_SPEED[] = "video_decoder_speed";
static constexpr const char VIDEO_DECODER_ENABLE_MV_UPLOAD[] = "video_decoder_enable_mv_upload";
static constexpr const char VIDEO_DECODER_INPUT_STREAM_ERROR[] = "video_decoder_input_stream_error";
};
using TagTypeCharSeq = const char *;
using TagType = std::string;
}
}
#endif