XiaoFengBlazor.VideoPlayer
1.0.2023.1211
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package XiaoFengBlazor.VideoPlayer --version 1.0.2023.1211
NuGet\Install-Package XiaoFengBlazor.VideoPlayer -Version 1.0.2023.1211
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="XiaoFengBlazor.VideoPlayer" Version="1.0.2023.1211" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoFengBlazor.VideoPlayer --version 1.0.2023.1211
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XiaoFengBlazor.VideoPlayer, 1.0.2023.1211"
#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.
// Install XiaoFengBlazor.VideoPlayer as a Cake Addin #addin nuget:?package=XiaoFengBlazor.VideoPlayer&version=1.0.2023.1211 // Install XiaoFengBlazor.VideoPlayer as a Cake Tool #tool nuget:?package=XiaoFengBlazor.VideoPlayer&version=1.0.2023.1211
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
欢迎使用 XiaoFeng.Onvif 工具库
在你的项目中添加nuget包引用,搜索 XiaoFeng.Onvif
Nuget:XiaoFeng.Onvif
QQ群号 | QQ群 | 公众号 |
---|---|---|
748408911 |
源码: https://github.com/zhuovi/xiaofeng.Onvif
XiaoFeng 类库包含库
命名空间 | 所属类库 | 开源状态 | 说明 | 包含功能 |
---|---|---|---|---|
XiaoFeng.Prototype | XiaoFeng.Core | ✅ | 扩展库 | ToCase 类型转换<br/>ToTimestamp,ToTimestamps 时间转时间戳<br/>GetBasePath 获取文件绝对路径,支持Linux,Windows<br/>GetFileName 获取文件名称<br/>GetMatch,GetMatches,GetMatchs,IsMatch,ReplacePatten,RemovePattern 正则表达式操作<br/> |
XiaoFeng.Net | XiaoFeng.Net | ✅ | 网络库 | XiaoFeng网络库,封装了Socket客户端,服务端(Socket,WebSocket),根据当前库可轻松实现订阅,发布等功能。 |
XiaoFeng.Http | XiaoFeng.Core | ✅ | 模拟请求库 | 模拟网络请求 |
XiaoFeng.Data | XiaoFeng.Core | ✅ | 数据库操作库 | 支持SQLSERVER,MYSQL,ORACLE,达梦,SQLITE,ACCESS,OLEDB,ODBC等数十种数据库 |
XiaoFeng.Cache | XiaoFeng.Core | ✅ | 缓存库 | 内存缓存,Redis,MemcachedCache,MemoryCache,FileCache缓存 |
XiaoFeng.Config | XiaoFeng.Core | ✅ | 配置文件库 | 通过创建模型自动生成配置文件,可为xml,json,ini文件格式 |
XiaoFeng.Cryptography | XiaoFeng.Core | ✅ | 加密算法库 | AES,DES,RSA,MD5,DES3,SHA,HMAC,RC4加密算法 |
XiaoFeng.Excel | XiaoFeng.Excel | ✅ | Excel操作库 | Excel操作,创建excel,编辑excel,读取excel内容,边框,字体,样式等功能 |
XiaoFeng.Ftp | XiaoFeng.Ftp | ✅ | FTP请求库 | FTP客户端 |
XiaoFeng.IO | XiaoFeng.Core | ✅ | 文件操作库 | 文件读写操作 |
XiaoFeng.Json | XiaoFeng.Core | ✅ | Json序列化,反序列化库 | Json序列化,反序列化库 |
XiaoFeng.Xml | XiaoFeng.Core | ✅ | Xml序列化,反序列化库 | Xml序列化,反序列化库 |
XiaoFeng.Log | XiaoFeng.Core | ✅ | 日志库 | 写日志文件,数据库 |
XiaoFeng.Memcached | XiaoFeng.Memcached | ✅ | Memcached缓存库 | Memcached中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Set,Add,Replace,PrePend,Append,Cas,Get,Gets,Gat,Gats,Delete,Touch,Stats,Stats Items,Stats Slabs,Stats Sizes,Flush_All,Increment,Decrement,线程池功能。 |
XiaoFeng.Redis | XiaoFeng.Redis | ✅ | Redis缓存库 | Redis中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Hash,Key,String,ZSet,Stream,Log,List,订阅发布,线程池功能; |
XiaoFeng.Threading | XiaoFeng.Core | ✅ | 线程库 | 线程任务,线程队列 |
XiaoFeng.Mvc | XiaoFeng.Mvc | ❌ | 低代码WEB开发框架 | .net core 基础类,快速开发CMS框架,真正的低代码平台,自带角色权限,WebAPI平台,后台管理,可托管到服务运行命令为:应用.exe install 服务名 服务说明,命令还有 delete 删除 start 启动 stop 停止。 |
XiaoFeng.Proxy | XiaoFeng.Proxy | ✅ | 代理库 | 开发中 |
XiaoFeng.TDengine | XiaoFeng.TDengine | ✅ | TDengine 客户端 | 开发中 |
XiaoFeng.GB28181 | XiaoFeng.GB28181 | ✅ | 视频监控库,SIP类库,GB28181协议 | 开发中 |
XiaoFeng.Onvif | XiaoFeng.Onvif | ✅ | 视频监控库Onvif协议 | XiaoFeng.Onvif 基于.NET平台使用C#封装Onvif常用接口、设备、媒体、云台等功能, 拒绝WCF服务引用动态代理生成wsdl类文件 , 使用原生XML扩展标记语言封装参数,所有的数据流向都可控。 |
XiaoFeng.Onvif
基本用法
using XiaoFeng.Onvif;
var ip = "192.168.12.2";
var port=8088;
var user = "onvif";
var pass = "123456";
var iPEndPoint = new IPEndPoint(IPAddress.Parse(ip), port);
var resu = await DeviceService.DiscoveryOnvif(3);
var onvifUTCDateTime = await DeviceService.GetSystemDateAndTime(iPEndPoint);
var info = await DeviceService.GetDeviceInformation(iPEndPoint, user, pass, onvifUTCDateTime);
var abilities= await DeviceService.GetCapabilities(iPEndPoint);
var tokens = await MediaService.GetProfiles(iPEndPoint, user, pass, onvifUTCDateTime);
var streamUri = await MediaService.GetStreamUri(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0]);
var img = await MediaService.GetSnapshotUri(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0]);
await PTZService.GetStatus(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0]);
await PTZService.SetHomePosition(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0]);
await PTZService.AbsoluteMove(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0], 0, 0);
await PTZService.ContinuousMove(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0], 0.6, 0.2, 1);
await PTZService.RelativeMove(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0], 0.8, 0.5, 0.5);
await PTZService.GotoHomePosition(iPEndPoint, user, pass, onvifUTCDateTime, tokens[0], 0.3, 1, 1);
开源初衷
在调研Onvif封装工具的时候,发现.NET 社区很少有开源的onvif项目,
有的项目还是付费的,人家直接开价,源码收费xxxx元。
经过内心激烈的挣扎,于是自己研发了一版.NET Core开源的项目。
本项目长期开源,基础功能都做好了,当然我自己的精力是有限的,
众人拾柴火焰高,希望对音视频领域感兴趣的小伙伴一起加入吧!
技术这东西,生不带来,死不带去,
技术来自于社区,我们回馈于社区。
互联网是有记忆的,等到我们七老八十了,
还能登录网站回味自己曾经的辉煌!
初版是先实现相关基础功能,后期可以做成服务或者系统,希望同道朋友一起来完善.NET社区的音视频领域的技术
本项目开源100%免费
本项目开源100%免费
本项目开源100%免费
开源不易,路过的小伙伴可以给小编在github点个个小星星,以此激励一下小编!
联系我
因为github访问网络确实慢,除了更新代码,本人访问github频次也低, 如果有疑问的小伙伴可以关注公众号,在线联系
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.2023.1217 | 150 | 12/17/2023 |
1.0.2023.1217 | 124 | 12/17/2023 |
1.0.2023.1211 | 125 | 12/11/2023 |
兼容任何版本