Posted on 2006-04-25 17:56:11-07 by caganasakinha
JAVA RTSP client - 461 Unsupported Transport
Hi everyone,

I'm developing a RTSP client in JAVA. I'm using this to servers for testing:
rtsp://emision.canalsur.es/encoder/andaluciatv.rm
rtsp://real.rtp.pt/rtpfiles/telej/Telej21042006.rm

(got them in: http://www.xente.mundo-r.com/dmsoler/tvnet.htm)

I can connect by TCP, and send OPTIONS and DESCRIBE commands, but when I send the SETUP I get the error 461 Unsupported Transport...
I'm doing it like this:

SETUP encoder/andaluciatv.rm RTSP/1.0
CSeq: 3
Transport: RTP/AVP/UDP;unicast;client_port=4588-4589

I've already tried,
RTP/AVP;multicast;client_port=4588-4589
and
RTP/AVP/TCP;unicast

always getting the same answer...

Can you please help me?

Thanks in advance,
Andre Costa
Direct Responses: 2229 | 10788 | Write a response
Posted on 2006-05-04 08:04:06-07 by wang in response to 2200
Re: JAVA RTSP client - 461 Unsupported Transport
Hi !!! I've seen your message, and I am developping a java RTSP proxy...

Your SETUP command seems to be good unless you don't use the all server URL in your request. I suggest you to try with some lower port number (or with some higher one ), in case the port-base would not be the same as yours.

Moreover, the AVP/TCP doesn't work the same way as AVP/UDP, see "RFC2326 intrleaved".

Finally I also wanted to ask you one little question: Do you use a TCP socket to commnicate with your server, or do you use some kind of RTSP one? Do you use JMF or some other framework?

Thanks in advance for answering.
Direct Responses: Write a response
Posted on 2009-05-21 12:30:52-07 by bujjigadu in response to 2200
Re: JAVA RTSP client - 461 Unsupported Transport
Hi For unicast ,you need to specify ssrc field in Transport header. Try with that. Thanks Bujjigadu
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.