日期:2014-05-19  浏览次数:20915 次

c#实现多人视屏啊
c#实现多人视屏啊

------解决方案--------------------
可以用NetMeeting这样的软件包
或者用DirectShow控制摄像头,自己写网络层和播放层
------解决方案--------------------
也无外乎点对点的信息发送,视频也是截图而已
------解决方案--------------------
cellPadding= "1 "
width= "376 " border= "1 ">
<TR>
<TD>
<OBJECT id= "nmapp2 " classid= "CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17 " VIEWASTEXT>
<PARAM NAME = "MODE " VALUE = "DataOnly ">
</OBJECT>
</TD>
</TR>
<TR>
<TD>
<OBJECT id= "nmapp1 " classid= "CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17 " VIEWASTEXT>
<PARAM NAME = "MODE " VALUE = "RemoteOnly ">
</OBJECT>
</TD>
</TR>
<TR>
<TD> &nbsp;&nbsp;&nbsp;
<asp:panel id= "panStudent " runat= "server " Height= "30px " Width= "80px "> <INPUT class=btn_org id=CallToBtn onclick= 'nmapp2.CallTo( " <%=ViewState[ "NetMeetingIP "].ToString()%> ") ' type=button value=加入讨论 name=CallToBtn> &nbsp; </asp:panel>
<INPUT id= "HangUpBtn " onclick= "nmapp2.LeaveConference() " type= "button " value= "离开 " name= "HangUpBtn "
class= "btn_org "> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id= "UnDockBtn " onclick= "nmapp2.UnDock() " type= "button " value= "显示完整 " name= "UnDockBtn "
class= "btn_org ">
<asp:Panel id= "panTeacher " runat= "server " Height= "82px " Width= "448px ">

<asp:TextBox id= "txtNetmeeting " runat= "server " Width= "200px "> </asp:TextBox>
<asp:Button id= "btnSet " runat= "server " Text= "设置本机地址 " CssClass= "btn_org "> </asp:Button> <br>
<asp:Label id= "lblInfo " runat= "server "> </asp:Label>
<asp:RegularExpressionValidator id= "RegularExpressionValidator1 " runat= "server " ValidationExpression= "([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?|\d{1,}.\d{1,}.\d{1,}.\d{1,} "
ControlToValidate= "txtNetmeeting " ErrorMessage= "请输入正确的地址:如(211.10.13.33,www.smn.com) "> </asp:RegularExpressionValidator>
</asp:Panel> </TD>
</TR>
</TABLE>

得到要通话双方的IP,一方执行NetMeeting.C
allTo(IP),另一方应答


http://sourceforge.net/projects/gowk/ 去看一下有帮助的是个C#语言的项目