[Live-devel] RTP over TCP with iPhone

Dmitrij Velkin d.velkin at ids-imaging.de
Thu Jun 16 03:45:17 PDT 2011


Am 16.06.2011 um 11:10 schrieb Ross Finlayson:

> Please don't send the same message to the mailing list more than once.
> 

Sorry for this!

> You already know that "openRTSP -t" - built from the supplied, unmodified source code - works OK on your system.  

I have to correct my statement. Sorry! 

I get only first image with:

./openRTSP  -t  -F ______Video rtsp://193.158.57.66:8555/mjpeg

If I wont to write .avi, I find nothing in testProgs directory. With:

./openRTSP  -i -t -n -F ______Video rtsp://193.158.57.66:8555/mjpeg 

thanks!

Here ist output:


Warning: The -q, -4 or -i option was used, but not -w.  Assuming a video width of 240 pixels
Warning: The -q, -4 or -i option was used, but not -h.  Assuming a video height of 180 pixels
Warning: The -q, -4 or -i option was used, but not -f.  Assuming a video frame rate of 15 frames-per-second
Opening connection to 193.158.57.66, port 8555...
...remote connection opened
Sending request: OPTIONS rtsp://193.158.57.66:8555/mjpeg RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.05.25)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Jun 16 2011 11:33:07 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: DESCRIBE rtsp://193.158.57.66:8555/mjpeg RTSP/1.0
CSeq: 3
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.05.25)
Accept: application/sdp


Received 538 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Thu, Jun 16 2011 11:33:07 GMT
Content-Base: rtsp://192.168.30.41:8555/mjpeg/
Content-Type: application/sdp
Content-Length: 373

v=0
o=- 1308142837917588 1 IN IP4 192.168.30.41
s=RTSP/RTP stream from IDS VSE
i=mjpeg
t=0 0
a=tool:LIVE555 Streaming Media v2008.04.02
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from IDS VSE
a=x-qt-text-inf:mjpeg
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
a=control:track2

Opened URL "rtsp://193.158.57.66:8555/mjpeg", returning a SDP description:
v=0
o=- 1308142837917588 1 IN IP4 192.168.30.41
s=RTSP/RTP stream from IDS VSE
i=mjpeg
t=0 0
a=tool:LIVE555 Streaming Media v2008.04.02
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from IDS VSE
a=x-qt-text-inf:mjpeg
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
a=control:track2

Created receiver for "video/JPEG" subsession (client ports 58638-58639)
Created receiver for "audio/PCMU" subsession (client ports 64600-64601)
Sending request: SETUP rtsp://192.168.30.41:8555/mjpeg/track1 RTSP/1.0
CSeq: 4
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.05.25)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1


Received 173 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Jun 16 2011 11:33:07 GMT
Transport: RTP/AVP/TCP;unicast;destination=89.199.54.248;source=192.168.30.41;interleaved=0-1
Session: 50


Setup "video/JPEG" subsession (client ports 58638-58639)
Sending request: SETUP rtsp://192.168.30.41:8555/mjpeg/track2 RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.05.25)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 50


Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Jun 16 2011 11:33:07 GMT
Transport: RTP/AVP/TCP;unicast;destination=89.199.54.248;source=192.168.30.41;interleaved=2-3
Session: 50


Setup "audio/PCMU" subsession (client ports 64600-64601)
RIFFAVI LISThdrlavihj	????8LISTstrlstrhvidsmjpg??????@???8strf(??mjpg@?(JUNK00dc?LISTstrlstrhauds@??????8strf at JUNK01wbxJUNKodmldmlh?h"LISTmovi?"Sending request: PLAY rtsp://192.168.30.41:8555/mjpeg/ RTSP/1.0
CSeq: 6
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.05.25)
Session: 50
Range: npt=0.000-


Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Thu, Jun 16 2011 11:33:07 GMT
Range: npt=0.000-
Session: 50
RTP-Info: url=rtsp://192.168.30.41:8555/mjpeg/track1;seq=37853;rtptime=2535217148,url=rtsp://192.168.30.41:8555/mjpeg/track2;seq=10945;rtptime=3751685148


Started playing session
Receiving streamed data (signal with "kill -HUP 1570" or "kill -USR1 1570" to terminate)...
00dc?&????JFIF??T??C





 ' .)10.)-,3:J>36F7,- at WAFLNRSR2>ZaZP`JQRO??C&&O5-5OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO?`?"??

???}!1AQa"q2??#B??R??$3br?	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????????????????????????????????

???w!1AQaq"2B????	#3R?br?
$4?%?&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????
           


More information about the live-devel mailing list