Thankyou for your reply, you are correct the server is sending the data
to port 1234 as requested by the transport message and wire shark
confirms this again. 

So would I be right in saying that curl has no means of getting the data
via any of its call backs? And if this is the case what would the
suggested method be to receive the data? 

If I use the following 

sockFd = socket(AF_INET, SOCK_RAW, IP_PROTO_UDP); 

the connection fails and if I use 

sockFd = socket(AF_INET, SOCK_DGRAM, 0); 

the server seems to start a duplicate stream from another port 

 

any help would be much appreciated I getting this sorted, as I would
really like to get away from live555 

 

 

cURL V7.21.7 loaded

request server options

RTSP: OPTIONS rtsp://192.168.1.131/live/???

RTSP/1.0 200 OK

CSeq: 1

Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE

 

rtsp_describe

RTSP: DESCRIBE rtsp://192.168.1.131/live/???

Writing SDP to '???.sdp'

RTSP/1.0 200 OK

CSeq: 2

Content-Base: rtsp://192.168.1.131/live/???/

Content-Type: application/sdp

Content-Length: 327

 

get_media_attribute

rtsp_setup

RTSP: SETUP rtsp://192.168.1.131/live/???/video

TRANSPORT RTP/AVP;unicast;client_port=1234-1235

RTSP/1.0 200 OK

CSeq: 3

Session: 1051070571

Transport:
RTP/AVP;unicast;client_port=1234-1235;server_port=39500-39501;mode="PLAY
";ssrc=25426848

 

rtsp_setup

RTSP: PLAY rtsp://192.168.1.131/live/???/

RTSP/1.0 200 OK

CSeq: 4

Session: 1051070571

RTP-Info: url=rtsp://192.168.1.131/live/???/video;seqno=33530

Range: npt=0.00-

 

Regards Michael Dale

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to