How to write an client-server video streaming

放肆的年华 提交于 2019-12-01 08:32:09

There are several different ways to implement this (some that require programming and others that don't). Which one you choose depends on your requirements.

Red5 is an obvious solution which will allow you to only have to focus on the web side as long as your player of choice is flash.

FlourineFx provides a similar environment for .NET with a little more effort.

I've also done this with IIS and a custom server using HttpListener with much success if you're set on a pure Windows/C# solution. The caveat I'd add here is that it isn't always simple. In an environment with limited throughput, you will have problems since HTTP doesn't have the time corrections that RTP/RTMP/RTSP have but in a decent network it works 3 9's of the time (I've only tested with a single player though).

UPDATE

If you're talking about live streaming with .NET I'd suggest looking into the DirectShow (or related DirectX) API's. There is a wrapper for it for .NET available called DirectShow.NET.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!