<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RTP sink to serial</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>Thanks
Paul,</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>Seems
very very interesting..</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>I do
have control on bothe sides.</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2>According to what I understand, the SLIP (and the other configuration)
creates IP routing threw the serial line.</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>So
after assigning SLIP device and add route to some IP (real or dummy? does
it matter?), every packet that I will send to this IP will pop out at the other
end.</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>Now,
to use it in LIVE, I just need to provide the ip_addr (SLIP assigne ip_addr
) and port (any numebr).</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>The
socket that will be created will use this port and SLIP device for both tx and
rx.</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>Am I
right?</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff size=2>thanks
again.</FONT></SPAN></DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380335110-20112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P dir=ltr><SPAN lang=en-us><FONT face=Arial
size=2>Regards,</FONT></SPAN></P><BR>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>Amit
Yedidia</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial
size=2>----------------------------------------------------------</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us></SPAN><SPAN lang=he></SPAN></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<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>Paul
Clark<BR><B>Sent:</B> Thursday, November 20, 2008 11:41 AM<BR><B>To:</B>
LIVE555 Streaming Media - development & use<BR><B>Subject:</B> Re:
[Live-devel] RTP sink to serial<BR></FONT><BR></DIV>
<DIV></DIV>Yedidia Amit wrote:
<BLOCKQUOTE
cite=midEB34B5A39CF26E408490ED9279BF10A71D367D@mailesl5.esl.corp.elbit.co.il
type="cite">
<META content="MS Exchange Server version 6.5.7651.59" name=Generator><SPAN
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial size=2>I want to to send
RTP packets (RTP header + payload after packetization) to a serial
port.</FONT></SPAN>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>From my experience with
Live I figure that using socket_pair will be a good
solution.</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>In that way I will be
able to use the current code to send the data into the socket, and on the
other side I will write some listener that will recv from the socket
and transmit it using the serial
port.</FONT></SPAN></P></BLOCKQUOTE><BR>Just a random thought, which might
save you having to have this IP-to-serial conversion process... I don't
know whether you've got control of the other end of the serial line, but could
you not just set up a SLIP interface and send the RTP over that?
The Live555 code would just see it as a normal IP interface. You'd need
to do this at both ends, but you could then have a standard UDP socket
listener at the receiver end to receive the RTP packets.<BR><BR>On Linux, see
`man slattach` and <A class=moz-txt-link-freetext
href="http://www.informit.com/library/content.aspx?b=red_hat_linux7&seqNum=62">http://www.informit.com/library/content.aspx?b=red_hat_linux7&seqNum=62</A><BR><BR>Even
if you couldn't do this at the remote end, SLIP is a really simple protocol
which you could implement yourself - see: <A class=moz-txt-link-freetext
href="http://tools.ietf.org/html/rfc1055">http://tools.ietf.org/html/rfc1055</A><BR><BR>Regards<BR><BR>Paul<BR>--<BR>Paul
Clark<BR>Packet Ship Technologies Limited<BR><A class=moz-txt-link-freetext
href="http://www.packetship.com">http://www.packetship.com</A><BR><BR></BLOCKQUOTE>
<DIV><STRONG><FONT color=#000080 size=2></FONT></STRONG> </DIV>
<DIV align=left><STRONG><FONT face=Arial color=#000080 size=2>The information in
this e-mail transmission contains proprietary and business <BR>sensitive
information. Unauthorized interception of this e-mail may constitute <BR>a
violation of law. If you are not the intended recipient, you are hereby
<BR>notified that any review, dissemination, distribution or duplication of this
<BR>communication is strictly prohibited. You are also asked to contact the
sender <BR>by reply email and immediately destroy all copies of the original
message.<BR></FONT></STRONG></DIV>
</BODY></HTML>