RtspClientSharp.Source 2025.2.3-112437-2453bf
C# RTSP source based on RtspClientSharp
- Supported transport protocols: TCP/UDP
- Supported media codecs: H.264/MJPEG
For h264 support install RtspClientSharp.Source.Native.Windows or RtspClientSharp.Source.Native.Linux, depending on the system you want to run the application on.
To use this library:
1. Create an instance:
> RtspClientSharpSource _source;
> _source = new RtspClientSharpSource();
> _source.FrameReceived += OnFrameReceived;
> _source.StatusChanged += OnStatusChanged;
2. Create functions to handle FrameReceived and StatusChanged events:
> private void OnFrameReceived(object sender, (DateTime PcTime, DateTime NtpTime, TimeSpan Elapsed, RtpTransportProtocol Mode, RtspFrameDataWInfo frameWInfo) frame);
> private void OnStatusChanged(object sender, string status);
3. Start the source (specify rtspAddress and RtpTransportProtocol according to your needs):
> _source.Start(rtspAddress, RtpTransportProtocol.TCP);
4. Stop the source when it's not needed anymore:
> _source.Stop();
5. Don't forget to dispose it once you've done with it:
> _source.Dispose();
No packages depend on RtspClientSharp.Source.
.NET Standard 2.0
- RtspClientSharp.Source.Native.Linux (>= 2025.2.3-112437-2453bf)
- RtspClientSharp.Source.Native.Windows (>= 2025.2.3-112437-2453bf)
- RtspClientSharp (>= 2025.2.3-112437-2453bf)
| Version | Downloads | Last updated |
|---|---|---|
| 2025.2.3-124042-59e2f7 | 1 | 02/03/2025 |
| 2025.2.3-115808-0be520 | 2 | 02/03/2025 |
| 2025.2.3-114019-db093d | 1 | 02/03/2025 |
| 2025.2.3-112437-2453bf | 1 | 02/03/2025 |
| 2025.1.21-152834-67325d | 3 | 01/21/2025 |
| 2025.1.21-151646-82672a | 0 | 01/21/2025 |