using JT1078.Flv.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace JT1078.Flv.Metadata
{
    public  class VideoTags
    {
        /// <summary>
        /// 1: keyframe(for AVC, a seekable frame) —— 即H.264的IDR帧；
        /// 2: inter frame(for AVC, a non- seekable frame) —— H.264的普通I帧；
        /// </summary>
        public FrameType FrameType { get; set; }
        /// <summary>
        /// 当 CodecID 为 7 时，VideoData 为 AVCVIDEOPACKE，也即 H.264媒体数据
        /// </summary>
        public CodecId CodecId { get; set; } = CodecId.AvcVideoPacke;
        public AvcVideoPacke VideoData { get; set; }
    }
}
