Documentation
¶
Overview ¶
Cyclic buffer for fragmented mp4 stream in order to save memory when pre-recording an event
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer implements a cyclic buffer. Has a fixed size, and the new data overwrites the old, so that for a buffer of size N, for any number of write operations, only the last N mp4 atoms are saved. At the same time, the ftyp and moov headers are stored separately.
Click to show internal directories.
Click to hide internal directories.