[Live-devel] RTSP describe for RAW/UDP

Ross Finlayson finlayson at live.com
Thu Jan 27 15:21:49 PST 2005


>After the SDP response is returned, the RTSP SETUP
>command from the rtsp library however still requests
>for a RTP/AVP stream. This is a bug I believe.

Well, the real 'bug' is that your server is non-standard.  It should really 
be fixed to stream using RTP.

However, you can try changing the "if" statement at lines 749-751 of 
"liveMedia/RTSPClient.cpp" from:
     if (fServerIsKasenna && fKasennaContentType != NULL &&
         (strncmp(fKasennaContentType, "MPEG-2", 6) == 0 ||
          strncmp(fKasennaContentType, "MPEG-1", 6) == 0)) {
to:
     if (strcmp(subsession.protocolName(), "UDP") == 0) {

Maybe this will give you what you want.  I dunno...

(A question to the Kasenna-philes: If I were to make this change in the 
source code, would it break any of the existing Kasenna support functionality?)


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list