[Live-devel] RTP sink to serial

Paul Clark paul at packetship.com
Thu Nov 20 03:35:09 PST 2008


Yedidia Amit wrote:
> According to what I understand, the SLIP (and the other configuration) 
> creates IP routing threw the serial line.
> 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.

Yes, you can use any private address that you aren't using for anything 
else - e.g. 192.168.200.1 at the sending end, 192.168.200.2 at the 
receiving end.  SLIP is very simple and you have to manually assign 
these addresses:

# *slattach /dev/ttyS0 &
# **ifconfig sl0 192.168.200.1 pointopoint 192.168.200.2**

*(or something like that).

If you want them to be dynamic you should use PPP but I'm guessing that's probably overkill here.


> Now, to use it in LIVE, I just need to provide the ip_addr (SLIP 
> assigne ip_addr ) and port (any numebr).
> The socket that will be created will use this port and SLIP device for 
> both tx and rx.

Yes, you just tell the Live555 RTP sender to send it to 
192.168.200.2:11111 (or whatever port).  

Regards

Paul
--
Paul Clark
Packet Ship Technologies Limited
http://www.packetship.com



More information about the live-devel mailing list