Functionsยง
- Writes a basic header into streams.
- A wrapper for writing a chunk into streams. The RTMP needs to refer previous states for deciding sending chunk pattern. But to check them in every step is troublesome and also can make some bug. This reduces their risks.
- Writes a chunk data into streams.
- Writes one byte to indicate the encryption algorithm into streams.
- Writes an extended timestramp into streams.
- Writes actual handshake data into streams.
- Writes a message header into streams.