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/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel