<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [Live-devel] File source is socket stream in RTSPServe</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BLOCKQUOTE {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=901191608-19062010><FONT face=Arial
color=#0000ff size=2>Thanks, I have seen the FAQ you provided, I have to
encapsulate it, it's very complicated for me. so would you pls give me a step by
step instructions.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=901191608-19062010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=901191608-19062010><FONT face=Arial
color=#0000ff size=2>Detail of my socket:Port(6666)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=901191608-19062010><FONT face=Arial
color=#0000ff size=2>bitrates:500</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=901191608-19062010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><SPAN
class=901191608-19062010></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Thanks again~<SPAN
class=901191608-19062010></SPAN></FONT></FONT></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <B>On Behalf Of </B>Ross
Finlayson<BR><B>Sent:</B> Saturday, June 19, 2010 3:29 PM<BR><B>To:</B> LIVE555
Streaming Media - development & use<BR><B>Subject:</B> Re: [Live-devel] File
source is socket stream in RTSPServer<BR></FONT><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial
size=-1> It's can work correctly, but this
is via multicast, Our customer want unicast. So I follow
"testOnDemandRTSPServer.cpp",</FONT></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>but this module
wrapped how to get file source in method "doEventLoop", and it seems that not
support read socket as file source, because </FONT></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>my file source isn't
a local file, so I don't know how to get my socket file source. If you know or
have this experience, pls tell me, Thanks~ </FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>See the following FAQ entry:
http://www.live555.com/liveMedia/faq.html#liveInput-unicast</DIV>
<DIV>I think this will help you with your application.</DIV>
<DIV><BR></DIV>
<DIV>If your input device is a socket, then you should be able to encapsulate it
in a "FramedSource" subclass that uses the "DeviceSource.cpp" code as a model,
and use "TaskScheduler::turnOnBackgroundReadHandling()" to schedule a handler
that reads from the socket whenever new data arrives. (Note the
comments in "liveMedia/DeviceSource.cpp")</DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV><BR>Ross Finlayson<BR>Live Networks,
Inc.<BR>http://www.live555.com/</DIV><p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>IMPORTANT NOTE: This e-mail and any attachment are confidential and may contain trade secrets and may also be legally privileged or otherwise protected from disclosure. If you have received it in error, you are herewith informed about its status. Please notify us immediately by reply e-mail and then delete this e-mail and any attachment from your system. You are prohibited from making use of or copying this e-mail or any attachment or disclosing the contents to any other person.</span><p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>In case you become aware of any unethical business behavior or violation of laws, particularly those against the Anti-corruption laws and Anti-trust laws, Siemens Compliance HelpDesk "Tell us" can be reached at <A href="http://www.siemens.com.cn/compliancehelpdesk">www.siemens.com.cn/compliancehelpdesk</A><br></span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> < Disclaimer in Chinese below, characters may not be displayed correctly.><br></span><br><p><span lang=ZH-CN style='font-size:10.0pt;font-family:??;mso-ascii-font-family:Arial;mso-bidi-font-family:Arial'>????:???????????,???????????????????????????,????????????,?????????????????????????????????????,??????????????????????????????</span><p><span lang=ZH-CN style='font-size:10.0pt;font-family:??;mso-ascii-font-family:Arial;mso-bidi-font-family:Arial'>?????????????????,?????????????????,????????????"Tell us"??,???<A href="http://www.siemens.com.cn/compliancehelpdesk">www.siemens.com.cn/compliancehelpdesk</A><br></span><span style='font-family:"Arial","sans-serif"'><span style='mso-tab-count:1'> </span><o:p></o:p></span></p></BODY></HTML>