Summary

Functions

Closes an IVF reader.

Reads the next video frame from an IVF file.

Opens an IVF file and reads its header.

Types

t()

@opaque t()

Functions

close(reader)

@spec close(t()) :: :ok | {:error, term()}

Closes an IVF reader.

When a process owning the IVF reader exits, IVF reader is closed automatically.

next_frame(reader)

@spec next_frame(t()) :: {:ok, ExWebRTC.Media.IVF.Frame.t()} | {:error, term()} | :eof

Reads the next video frame from an IVF file.

open(path)

@spec open(Path.t()) :: {:ok, ExWebRTC.Media.IVF.Header.t(), t()} | {:error, term()}

Opens an IVF file and reads its header.