mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
12 lines
178 B
Go
12 lines
178 B
Go
// Package chunk implements RTMP chunks.
|
|
package chunk
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// Chunk is a chunk.
|
|
type Chunk interface {
|
|
Read(io.Reader, uint32) error
|
|
Marshal() ([]byte, error)
|
|
}
|