media/README.md
Implemented:
Everything is io.Reader and io.Writer
We follow GO std lib and providing interface for Reader/Writer when it comes reading and writing media.
This optimized and made easier usage of RTP framework, by providing end user standard library io.Reader io.Writer
to pass his media.
In other words chaining reader or writer allows to build interceptors, encoders, decoders without introducing overhead of contention or many memory allocations
Features:
io.Reader. Normally it should be chained to RTP Sessionio.Writer. Normally it should be chained to RTP SessionReader:
AudioDecoder<->RTPPacketReader<->RTPSession<->MediaSession
Writer:
AudioEncoder<->RTPPackerWriter<->RTPSession<->MediaSession