BililiveRecorder/BililiveRecorder.FlvProcessor/Enums.cs

70 lines
1.5 KiB
C#
Raw Normal View History

2018-03-12 18:57:20 +08:00
namespace BililiveRecorder.FlvProcessor
{
2018-03-19 01:05:02 +08:00
public enum TagType : int
2018-03-12 18:57:20 +08:00
{
2018-03-19 01:05:02 +08:00
AUDIO = 8,
VIDEO = 9,
DATA = 18,
2018-03-12 18:57:20 +08:00
}
2019-01-14 14:15:48 +08:00
public enum AMFTypes : byte
2018-03-12 18:57:20 +08:00
{
2019-01-14 14:15:48 +08:00
/// <summary>
/// 非标准类型。在 Decode 过程中作为函数参数使用
/// </summary>
Any = 0xFF,
/// <summary>
/// Double
/// </summary>
Number = 0,
/// <summary>
/// 8 bit unsigned integer
/// </summary>
Boolean = 1,
/// <summary>
/// ScriptDataString
/// </summary>
String = 2,
/// <summary>
/// ScriptDataObject
/// </summary>
Object = 3,
/// <summary>
/// Not Supported
/// </summary>
MovieClip = 4,
/// <summary>
/// Nothing
/// </summary>
Null = 5,
/// <summary>
/// Nothing
/// </summary>
Undefined = 6,
/// <summary>
/// Not Supported
/// </summary>
Reference = 7,
/// <summary>
/// ScriptDataEcmaArray
/// </summary>
ECMAArray = 8,
/// <summary>
/// Nothing
/// </summary>
ObjectEndMarker = 9,
/// <summary>
/// ScriptDataStrictArray
/// </summary>
StrictArray = 10,
/// <summary>
/// ScriptDataDate
/// </summary>
Date = 11,
/// <summary>
/// ScriptDataLongString
/// </summary>
LongString = 12
2018-03-12 18:57:20 +08:00
}
}