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 +)