[Live-devel] How does Live555 determine payload type?

Ross Finlayson finlayson at live555.com
Wed Nov 12 11:41:56 PST 2008


>I am trying to write a generalized video RTSP/RTP front end to a 
>decoder. It has to decode MJPEG, MPEG4, MEPG2 and H.264.
>
>I am looking at the source code for all the test programs and see 
>that they all seem to predetermine their payload type.
>
>Is there a test sample that has the information from the RTSP 
>session, and then uses it to create the correct sink?

Look at the code for our "openRTSP" RTSP/RTP client - in particular, 
"playCommon.cpp".  Note how it uses the SDP description (returned in 
response to the RTSP "DESCRIBE" request) to create the "MediaSession" 
object for the stream.
-- 

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/20081112/f17434ff/attachment.html>


More information about the live-devel mailing list