ExFLV.Reader (FLV muxer and demuxer v0.4.0)
View SourceModule for reading FLV files.
Summary
Functions
Closes the FLV file.
Creates a new reader.
Same as new/1, but raises in case of failure.
Reads the next tag from the FLV file.
Same as next_tag/1, but raises in case of failure.
Types
@type t() :: %ExFLV.Reader{ audio?: boolean(), file: File.io_device(), video?: boolean() }
Functions
Closes the FLV file.
Creates a new reader.
Same as new/1, but raises in case of failure.
@spec next_tag(t()) :: {:ok, ExFLV.Tag.t()} | {:error, any()} | :eof
Reads the next tag from the FLV file.
@spec next_tag!(t()) :: ExFLV.Tag.t() | :eof
Same as next_tag/1, but raises in case of failure.