Browse Source

增加Amf3Metadata接口属性注释

tags/v1.1.0
SmallChi(Koike) 5 years ago
parent
commit
18231e721b
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      src/JT1078.Flv/Metadata/IAmf3Metadata.cs

+ 13
- 0
src/JT1078.Flv/Metadata/IAmf3Metadata.cs View File

@@ -6,9 +6,22 @@ namespace JT1078.Flv.Metadata
{
public interface IAmf3Metadata
{
/// <summary>
/// 字段长度
/// </summary>
ushort FieldNameLength { get; set; }
/// <summary>
/// 字段名称
/// </summary>
string FieldName { get; set; }
/// <summary>
/// Amf3数据类型
/// ref:video_file_format_spec_v10.pdf scriptdatavalue type
/// </summary>
byte DataType { get; set; }
/// <summary>
/// 对应的值
/// </summary>
object Value { get; set; }
ReadOnlySpan<byte> ToBuffer();
}


Loading…
Cancel
Save