SIPSorceryMedia.Abstractions 10.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package SIPSorceryMedia.Abstractions --version 10.0.7
                    
NuGet\Install-Package SIPSorceryMedia.Abstractions -Version 10.0.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SIPSorceryMedia.Abstractions" Version="10.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SIPSorceryMedia.Abstractions" Version="10.0.7" />
                    
Directory.Packages.props
<PackageReference Include="SIPSorceryMedia.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SIPSorceryMedia.Abstractions --version 10.0.7
                    
#r "nuget: SIPSorceryMedia.Abstractions, 10.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SIPSorceryMedia.Abstractions@10.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SIPSorceryMedia.Abstractions&version=10.0.7
                    
Install as a Cake Addin
#tool nuget:?package=SIPSorceryMedia.Abstractions&version=10.0.7
                    
Install as a Cake Tool

SIPSorceryMedia.Abstractions

NuGet NuGet downloads

Shared interfaces, enums, and helper types that connect the SIPSorcery real-time communications library to media-device and codec implementations.

This package is a small dependency-free abstraction layer. You normally don't reference it directly -- it comes in transitively via the main SIPSorcery package and via media end-point implementations such as SIPSorceryMedia.Windows or SIPSorceryMedia.FFmpeg. You only reference it explicitly when you're writing your own media end-point or codec wrapper.

Installation

dotnet add package SIPSorceryMedia.Abstractions

What is in here

The package defines the contracts that every audio / video source, sink and codec implements so the SIPSorcery library can interoperate with them generically.

Codec interfaces

Interface Implement when... Reference implementation
IAudioEncoder You provide audio encoding / decoding (G711, G722, G729, Opus, ...) AudioEncoder in the main SIPSorcery package
IVideoEncoder You provide video encoding / decoding (VP8, H.264, ...) Vp8NetVideoEncoder (pure C#); FFmpeg wrappers in SIPSorceryMedia.FFmpeg

Audio source / sink interfaces

Interface Implement when... Reference implementation
IAudioSource Your class is a source of raw audio samples (microphone, file player, signal generator) WindowsAudioEndPoint
IAudioSink Your class consumes raw audio samples (speaker, recorder, RTP transmit) WindowsAudioEndPoint
IAudioEndPoint Your class is both a source and a sink (full-duplex device) WindowsAudioEndPoint, FFmpegAudioEndPoint

Video source / sink interfaces

Interface Implement when... Reference implementation
IVideoSource Your class is a source of raw video frames (webcam, file player, test pattern) WindowsVideoEndPoint; VideoTestPatternSource in the main SIPSorcery package
IVideoSink Your class consumes raw video frames (display, recorder) WindowsVideoEndPoint, FFmpegVideoEndPoint
IVideoEndPoint Both a source and a sink for video various

Common types and helpers

The package also contains shared types referenced from across the ecosystem:

  • AudioFormat, VideoFormat -- describe a codec / sample-rate / channel-layout combination negotiated over SDP.
  • AudioSamplingRatesEnum, VideoPixelFormatsEnum, VideoCodecsEnum, AudioCodecsEnum.
  • RawImage -- header + pinned byte buffer wrapper used to pass decoded video frames between encoders and sinks without copying.
  • PixelConverter -- conversion helpers between common pixel formats (I420, NV12, BGR, RGB, YUV).

Versioning and compatibility

SIPSorceryMedia.Abstractions shares a major version line with the main SIPSorcery package. A binary-incompatible change to any of the interfaces would land as a major version bump on both packages together; minor versions add new interfaces or new types but never modify existing ones in breaking ways.

  • SIPSorcery -- the main real-time communications library that consumes these abstractions.
  • SIPSorceryMedia.Windows -- Windows-specific implementations of the audio / video end-point interfaces.
  • SIPSorceryMedia.FFmpeg -- cross-platform implementations using FFmpeg native libraries.
  • SIPSorcery.VP8 -- pure C# IVideoEncoder implementation for VP8.

License

BSD 3-Clause License. See LICENSE at the repo root.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on SIPSorceryMedia.Abstractions:

Package Downloads
SIPSorcery

Real-time communications library with full support for the Session Initiation Protocol (SIP) and WebRTC. No wrappers and no native libraries required.

SIPSorceryMedia.FFmpeg

Provides FFmpeg based audio and video media end points that can be used with the SIPSorcery real-time communications library.

SIPSorceryMedia.Windows

Provides audio and video device access for Windows for use with the main SIPSorcery real-time communications library.

SIPSorceryMedia.Encoders

Provides audio and video encode and decode capabilities plus media end points that can be used with the main SIPSorcery real-time communications library.

Cauca.SIPSorcery

Real-time communications library with full support for the Session Initiation Protocol (SIP) and WebRTC. No wrappers and no native libraries required.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on SIPSorceryMedia.Abstractions:

Repository Stars
chatop2020/AKStream
AKStream是一套全平台(Linux,MacOS,Windows)、全架构(X86_64,Arm...)、全功能的流媒体管理控制接口平台。集成GB28181,RTSP,RTMP,HTTP等设备推拉流控制、PTZ控制、音视频文件录制管理、音视频文件裁剪合并等功能与一体
GB28181/GB28181.Solution
Linux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
qiuqiuqiu131/SukiChat.Client
Version Downloads Last Updated
10.0.8 51 5/23/2026
10.0.7 1,472 5/18/2026
10.0.6 13,830 4/28/2026
10.0.5 2,457 4/24/2026
8.0.12 185,832 6/1/2025
8.0.10 46,195 3/11/2025
8.0.7 65,929 1/4/2025
1.2.1 203,928 1/14/2024
1.2.0 330,807 3/28/2022
1.1.0 119,766 2/17/2021
1.0.4-pre 46,728 12/27/2020
1.0.3-pre 1,016 12/26/2020
1.0.2-pre 1,171 12/21/2020
1.0.1 23,604 12/17/2020
1.0.0 5,284 12/13/2020
0.0.22-pre 15,712 11/17/2020
0.0.20-pre 1,883 11/5/2020
0.0.19-pre 918 11/2/2020
0.0.18-pre 2,800 10/20/2020
0.0.17-pre 811 10/17/2020
Loading failed

-v10.0.7: Updated for main sipsorcery library release.
-v10.0.6: Updated for main sipsorcery library release.
-v10.0.5: Updated for main sipsorcery library release.
-v8.0.12: Added IAudioEndPoint and GotEncodedMediaFrame to IAudioSink.
-v8.0.10: Change to text encoder interface.
-v8.0.7: New sampling frequencies and all sipsorcery packages release.
-v1.2.1: Expose LogFactory signature to generate generic logger. Added .net8.0 target
-v1.2.0: Add RawImage and new events / methods to avoid the use of byte[] to improve performance.
-v1.1.0: Stable release.
-v1.0.4-pre: Changed IAudioEncoder and IVideoEncoder to use SupportedFormats property instead of IsSupported method.
-v1.0.3-pre: Added video format to IVideoSink.GotVideoFrame. Removed 'V1' from namespace, the versioning mechanism is not going to be suitable for such a formative API.
-v1.0.2-pre: Improved pixel conversion routines to take a stride parameter and handle uneven dimensions.
-1.0.1: Added NV12 as a pixel format option.
-1.0.0: Initial stable release