mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-09-27 03:56:15 +08:00

* support reading AV1, VP9, H265, Opus, AC-3, G711, LPCM * support reading multiple video or audio tracks at once
14 lines
276 B
Go
14 lines
276 B
Go
package rtmp
|
|
|
|
import (
|
|
"github.com/bluenviron/mediamtx/internal/protocols/rtmp/message"
|
|
)
|
|
|
|
// Conn is implemented by Client and ServerConn.
|
|
type Conn interface {
|
|
BytesReceived() uint64
|
|
BytesSent() uint64
|
|
Read() (message.Message, error)
|
|
Write(msg message.Message) error
|
|
}
|