Don't reference this package unless you are building a media end point to work with the SIPSorcery real-time communications library. In most cases a concrete implementation package such as SIPSorceryMedia.Windows should be referenced.
$ dotnet add package SIPSorceryMedia.AbstractionsThis project provides the logic for the interfaces required by the SIPSorcery real-time communications library and the components that provide functions such as:
The most important interfacs contained in this library are:
IAudioEncoder: Needs to be implemented by classes that provide audio decoding and/or encoding. An example is the AudioEncoder class.
IVideoEncoder: Needs to be implemented by classes that provide video decoding and/or encoding. An example is the VpxVideoEncoder class.
IAudioSource: Needs to be implemented by classes that act as a source of raw audio samples. Typically a microphone. An example is the WindowsAudioEndPoint class.
IAudioSink: Needs to be implemented by classes that act as a sink for raw audio samples. Typically an audio speaker. An example is the WindowsAudioEndPoint class.
IVideoSource: Needs to be implemented by classes that act as a source of raw video frames. Typically a webcam. An examples is the WindowsVideoEndPoint.
IVideoSink: Needs to be implemented by classes that act as a sink for raw video frames. The video sink is usually a bitmap or some kind of graphics surface. An examples is the .