📄 cwp190.htm
字号:
<!-- saved from url=(0007)http:// -->
<HTML>
<HEaD>
<METa http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE> Incesoft.BotPlatform.SDK.Interface.IRobotSession.sendWebcam</TITLE>
<LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css">
</HEaD>
<BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" >
<DIV class="PageHeading"> Incesoft.BotPlatform.SDK.Interface.IRobotSession.sendWebcam Function</DIV>
<DIV class="Description">
Send webcam
<P />
<p> Once the connection is established, the client that connected to the other peer
should authenticate himself with sending the message (no header, no nothing) : "recipientid=X&sessionid=Y\r\n\r\n". </p>
<p>
The other peer should then send (if correctly authenticated) the message "connected\r\n\r\n". </p>
<p>
The connecting peer should also send "connected\r\n\r\n". </p>
<p>
From this point the connection is done and The connecting peer is authenticated. </p>
<p>
Subsequently, the server may send the encoded data of the webcam in mimic format.</p>
<p />
</DIV>
<IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2">
<IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1">
<DIV class="Remarks">
<SPaN class="RemarkHdrX">Public void sendWebcam (string, int, int, int)</SPaN></DIV>
<TABLE class="InfoTABLE" cellpadding=0 cellspacing=0>
<TR height=20>
<TD width=20> </TD>
<TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD>
<TD class="TABLELightLabel" >Type</TD>
<TD class="TABLELightLabel" >Name</TD>
<TD class="TABLELightLabel" >Description</TD>
<TD width=20> </TD>
</TR>
<TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc">string</TD>
<TD class="TABLELightDesc">serverIP</TD>
<TD class="TABLELightDesc">webcam resource server IP address</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc">int</TD>
<TD class="TABLELightDesc">serverPort</TD>
<TD class="TABLELightDesc">webcam resource server port</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc">int</TD>
<TD class="TABLELightDesc">recipientid</TD>
<TD class="TABLELightDesc">the authentication info, should be between 100 and 199</TD>
<TD width=20> </TD>
</TR><TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc">int</TD>
<TD class="TABLELightDesc">sessionid</TD>
<TD class="TABLELightDesc">the authentication info, should be between 9000 and 9999</TD>
<TD width=20> </TD>
</TR></TABLE>
<TABLE class="InfoTABLE" cellpadding=0 cellspacing=0>
<TR height=20>
<TD width=20> </TD>
<TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD>
<TD class="TABLELightLabel" WIDTH=206>Return Value</TD>
<TD class="TABLELightLabel" >Description</TD>
<TD width=20> </TD>
</TR>
<TR height=20>
<TD width=20> </TD>
<TD class="TABLELightDesc"> </TD>
<TD class="TABLELightDesc">void</TD>
<TD class="TABLELightDesc"> </TD>
<TD width=20> </TD>
</TR></TABLE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -