C#海康流媒体服务器+客户端Demo

上传者: huang461072830 | 上传时间: 2021-07-14 20:56:14 | 文件大小: 4.83MB | 文件类型: RAR
用C#写的海康DVR流媒体服务器开发,包含流媒体服务器端,客户端,实现了: 1、从DVR获取视频流并存入内存(使用NET_DVR_RealPlay_V30方法获取视频流,NET_DVR_RealPlay_V30参数中有一个回调函数,视频流处理是在回调函数内做的) 2、将视频流分发给客户端(socket通信,视频流装入byte[]内发给客户端) 3、客户端显示视频 其他功能没去做,代码有完整注释,引用海康的几个dll,另外用到了socket,在这里要谢谢 死如秋叶 大大,因为Demo是按照他的博文写的,更改的几个: 1、更改流媒体服务器原控制台改为winfrom 2、更改客户端原web+winfrom用户控件为winfrom

文件下载

资源详情

[{"title":"( 58 个子文件 4.83MB ) C#海康流媒体服务器+客户端Demo","children":[{"title":"海康dvr流媒体服务器+客户端","children":[{"title":"MediaServer","children":[{"title":"MediaServer.sln <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"MediaServer.suo <span style='color:#111;'> 196.50KB </span>","children":null,"spread":false},{"title":"MediaServerFrom","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"PlayCtrl.dll <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"StreamTransClient.dll <span style='color:#111;'> 256.10KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.exe.config <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"MediaServerFrom.pdb <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false},{"title":"DS40xxSDK.dll <span style='color:#111;'> 2.57MB </span>","children":null,"spread":false},{"title":"MediaServerFrom.vshost.exe.config <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"HCNetSDK.dll <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false},{"title":"SystemTransform.dll <span style='color:#111;'> 204.11KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.exe <span style='color:#111;'> 221.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MediaServerFrom.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MediaServerFrom.pdb <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"MediaServerFrom.Form1.resources <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.csproj.FileListAbsolute.txt <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.exe <span style='color:#111;'> 221.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Client.cs <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"CHCNetSDK.cs <span style='color:#111;'> 788.98KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 10.01KB </span>","children":null,"spread":false},{"title":"ClientList.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"MediaServerFrom.csproj <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"MediaClient","children":[{"title":"MediaClient.suo <span style='color:#111;'> 164.00KB </span>","children":null,"spread":false},{"title":"MediaWebClient.suo <span style='color:#111;'> 40.50KB </span>","children":null,"spread":false},{"title":"MediaClient.sln <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"MediaClientFrom","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"PlayCtrl.dll <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"HCNetSDK.dll <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false},{"title":"MediaClientFrom.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"MediaClientFrom.pdb <span style='color:#111;'> 67.50KB </span>","children":null,"spread":false},{"title":"MediaClientFrom.exe <span style='color:#111;'> 214.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MediaClientFrom.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"MediaClientFrom.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MediaClientFrom.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"MediaClientFrom.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MediaClientFrom.pdb <span style='color:#111;'> 67.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"MediaClientFrom.exe <span style='color:#111;'> 214.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CHCNetSDK.cs <span style='color:#111;'> 791.16KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"PlayCtrlSDK.cs <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"MediaClientFrom.csproj <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • wzg_521 :
    不好用!不建议下载
    2020-08-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明