Expand description
AMF0 type markers ([AMF0] §2.1, docs/rtmp.md §8.1) — 1 byte.
Constants§
- BOOLEAN
- Boolean (§2.3): 1 byte,
0= false, nonzero = true. - DATE
- Date (§2.13):
DOUBLE(ms since Unix epoch, UTC) + reservedS16time zone (MUST be0x0000). - ECMA_
ARRAY - ECMA Array (§2.10):
U32associative-count + key/value pairs terminated byOBJECT_END. - LONG_
STRING - Long String (§2.14):
U32length + UTF-8 bytes, for strings over 65535 bytes. - NULL
- null (§2.7): no payload.
- NUMBER
- Number (§2.2):
DOUBLE, 8-byte big-endian IEEE-754. - OBJECT
- Object (§2.5): key/value pairs terminated by
OBJECT_END. - OBJECT_
END - Object End (§2.11): always preceded by an empty (
U16= 0) key — the 3-byte sequence00 00 09. - STRICT_
ARRAY - Strict Array (§2.12):
U32count + that many values, ordinal only. - STRING
- String (§2.4):
U16length + UTF-8 bytes. - UNDEFINED
- undefined (§2.8): no payload.