# README
PCM
RTSP
- PayloadType=10 - L16/44100/2 - Linear PCM 16-bit big endian
- PayloadType=11 - L16/44100/1 - Linear PCM 16-bit big endian
https://en.wikipedia.org/wiki/RTP_payload_formats
Apple QuickTime
raw
- 16-bit data is stored in little endian formattwos
- 16-bit data is stored in big endian formatsowt
- 16-bit data is stored in little endian formatin24
- denotes 24-bit, big endianin32
- denotes 32-bit, big endianfl32
- denotes 32-bit floating point PCMfl64
- denotes 64-bit floating point PCMalaw
- denotes A-law logarithmic PCMulaw
- denotes mu-law logarithmic PCM
https://wiki.multimedia.cx/index.php/PCM
FFmpeg RTSP
pcm_s16be, 44100 Hz, stereo => 10
pcm_s16be, 48000 Hz, stereo => 96 L16/48000/2
pcm_s16be, 44100 Hz, mono => 11
pcm_s16le, 48000 Hz, stereo => 96 (b=AS:1536)
pcm_s16le, 44100 Hz, stereo => 96 (b=AS:1411)
pcm_s16le, 16000 Hz, stereo => 96 (b=AS:512)
pcm_s16le, 8000 Hz, stereo => 96 (b=AS:256)
pcm_s16le, 48000 Hz, mono => 96 (b=AS:768)
pcm_s16le, 44100 Hz, mono => 96 (b=AS:705)
pcm_s16le, 16000 Hz, mono => 96 (b=AS:256)
pcm_s16le, 8000 Hz, mono => 96 (b=AS:128)
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Create like os.Create, init Consumer with existing Transport.
No description provided by the author
Dial like net.Dial, init Producer via Dialing.
No description provided by the author
No description provided by the author
Deprecated: use NewID instead.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewWorker run f after d.
No description provided by the author
Now90000 - timestamp for Video (clock rate = 90000 samples per second).
Open like os.Open, init Producer from existing Transport.
No description provided by the author
RandString base10 - numbers, base16 - hex, base36 - digits+letters base64 - URL safe symbols, base0 - crypto random.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
64K.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AAC-ELD.
No description provided by the author
No description provided by the author
payloadType: 96.
No description provided by the author
payloadType: 26.
payload: 14, aka MPEG-1 Layer III.
payloadType: 111.
Linear PCM (big endian).
payloadType: 8.
Linear PCM (little endian).
payloadType: 0.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
typical source (client).
No description provided by the author
No description provided by the author
No description provided by the author
5MB.
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
Connection just like webrtc.PeerConnection - ID and RemoteAddr used for building Connection(s) graph - FormatName, Protocol, RemoteAddr, Source, URL, SDP, UserAgent used for info about Connection - FormatName and Protocol has FFmpeg compatible names - Transport used for auto closing on Stop.
Listener base struct for all classes with support feedback.
Media take best from: - deepch/vdk/format/rtsp/sdp.Media - pion/sdp.MediaDescription.
Node - Receiver or Sender or Filter (transform).
OnceBuffer will catch only first message.
ReadBuffer support buffering and Seek over buffer positive BufferSize will enable buffering mode Seek to negative offset will clear buffer Seek with a positive BufferSize will continue buffering after the last read from the buffer Seek with a negative BufferSize will clear buffer after the last read from the buffer Read more than BufferSize will raise error.
No description provided by the author
No description provided by the author
Waiter support: - autotart on first Wait - block new waiters after last Done - safe Done after finish.
No description provided by the author
WriteBuffer by defaul Write(s) to bytes.Buffer.
# Type aliases
No description provided by the author
Filter - a decorator for any HandlerFunc.
HandlerFunc - process input packets (just like http.HandlerFunc).
No description provided by the author
No description provided by the author