From 595fa5a469fd26e74f8e6daf5c443642645214e9 Mon Sep 17 00:00:00 2001 From: saxon Date: Fri, 24 Aug 2018 06:47:13 +0930 Subject: [PATCH] rtmp: tracking new file amf.go --- rtmp/amf.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rtmp/amf.go diff --git a/rtmp/amf.go b/rtmp/amf.go new file mode 100644 index 00000000..5170b278 --- /dev/null +++ b/rtmp/amf.go @@ -0,0 +1,23 @@ +package rtmp + +const ( + AMF_NUMBER = iota + AMF_BOOLEAN + AMF_STRING + AMF_OBJECT + AMF_MOVIECLIP /* reserved, not used */ + AMF_NULL + AMF_UNDEFINED + AMF_REFERENCE + AMF_ECMA_ARRAY + AMF_OBJECT_END + AMF_STRICT_ARRAY + AMF_DATE + AMF_LONG_STRING + AMF_UNSUPPORTED + AMF_RECORDSET /* reserved, not used */ + AMF_XML_DOC + AMF_TYPED_OBJECT + AMF_AVMPLUS /* switch to AMF3 */ + AMF_INVALID = 0xff +)