mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-24 20:39:15 -08:00
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
* support reading AV1, VP9, H265, Opus, AC-3, G711, LPCM * support reading multiple video or audio tracks at once
13 lines
276 B
Go
13 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
|
|
}
|