package
1.8.6-4
Repository: https://github.com/dadav/go2rtc.git
Documentation: pkg.go.dev

# 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 format
  • twos - 16-bit data is stored in big endian format
  • sowt - 16-bit data is stored in little endian format
  • in24 - denotes 24-bit, big endian
  • in32 - denotes 32-bit, big endian
  • fl32 - denotes 32-bit floating point PCM
  • fl64 - denotes 64-bit floating point PCM
  • alaw - denotes A-law logarithmic PCM
  • ulaw - 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
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).
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
VA - helper, for extract video and audio receivers from list.

# 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
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
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Listener base struct for all classes with support feedback.
Media take best from: - deepch/vdk/format/rtsp/sdp.Media - pion/sdp.MediaDescription.
OnceBuffer will catch only first message.
No description provided by the author
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
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.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
HandlerFunc like http.HandlerFunc.
No description provided by the author