[Live-devel] streaming over raw udp

Ross Finlayson finlayson at live555.com
Wed Jun 24 16:11:30 PDT 2009


>I notice LiveMedia usually streams over RTP/UDP. Is it possible to 
>stream over UDP directly?

Yes, by using a "BasicUDPSink" for sending data (instead of a 
"RTPSink" (subclass)).  A receiver can receive raw-UDP using a 
"BasicUDPSource".

Note, though, that if you stream over raw UDP rather than RTP, you 
will be losing some important information (in particular, sequence 
numbers (which can be used to detect packet loss), and timestamps 
(for synchronization)).  Also, standard clients won't be able to 
receive/play your stream.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list