Overview of the diago media package
mainThe media package provides an optimized framework for handling RTP/RTCP media streams. It is designed around the Go standard library's io.Reader and io.Writer interfaces, allowing developers to chain readers and writers to build interceptors, encoders, and decoders without significant memory allocation overhead or contention.
Key features include:
- SDP building for
alaw,ulaw, anddtmfformats. - RTP/RTCP receiving and logging.
- Extendable
MediaSessionhandling for hardware like microphones and speakers. - DTMF encoding/decoding via RFC4733.
- RTP/RTCP session and monitoring capabilities.