sheave_core

Module flv

Source
Expand description

§The FLV File Format

In RTMP, Both of the client and the server send/receive actual multi media data as the FLV file format. Its format consists of:

  1. FLV header
    • Signature (“FLV”)
    • Version (8 bits)
    • Reserved (5 bits)
    • Whether some audio data is contained (1 bit)
    • Reserved (1 bit)
    • Whether some video data is contained (1 bit)
    • Offset to FLV data (that is, a size of this header = 9) (32 bits)
  2. FLV file body
    • PreviousTagSize (32 bits. this of the first is 0)
    • FLV Tag (arbitrary size)

Note the FLV header is skipped by almost RTMP tools.

§FLV Tag

FLV Tag is a part of actual FLV bodies. FLV Tag consists of:

Modules§

Structs§

Enums§

  • Patterns of the FilterName field. Currently, FilterName consists of:

Functions§