[Live-devel] RTP sink to serial

Ross Finlayson finlayson at live555.com
Wed Nov 19 18:10:00 PST 2008


>I want to to send RTP packets (RTP header + payload after 
>packetization) to a serial port.
>
>From my experience with Live I figure that using socket_pair will be 
>a good solution.
>
>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.
>
>Am I right?

Yes, I think so.  The current code assumes that RTP packets' 
destination will always be an IP network socket.  (This is a design 
mistake; someday I'd like to make it easier to use other (real or 
virtual) network layers underneath RTP.)

Therefore, the best way to do what you want to do is to make your 
serial interface accessible via a socket that has an IP address. 
(I'll let you figure out how to do this :-)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081119/2b7a41a5/attachment.html>


More information about the live-devel mailing list