After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585324 - rtsp-server: tweak for realplayer
rtsp-server: tweak for realplayer
Status: RESOLVED DUPLICATE of bug 589983
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-10 10:22 UTC by sreerenj
Modified: 2009-08-03 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sreerenj 2009-06-10 10:22:10 UTC
#
prooblem with gst-rtsp-server tcp connection ,no pbm in udp
#
-----------------------------------------------------------------
#
 
#
I am using gst-rtsp-server as streaming server and Realplayer as streaming clinet.It is in wan so that i need tcp connectionn always for better clarity.In the client side i setted up always use tcp as protocol and specify timeout of 20000 milleseconds as timeout.But didnt get working.Follwoing is the server side(gst-rtsp-server) log message of network traffic i got.I dont know what is the problem happening here!!!!!If it changed to udp then it worked.

But if the streaming server is Darwin,both quicktime and realplayer are working.But gst-rtsp-server is working only with vlc.In case of vlc,i used vlc --rtsp-tcp rtsp://10.0.0.145:8554/test.mp4.And it is in wan.it worked.




following is the log messages of server side when the client is realplayer.



#
 
#
 
#
 
#
./test-mp4 video.mp4
#
 
#
** Message: listening on port 8554
#
** Message: added new client 0x9e9c2f0 ip 10.0.0.222:39431
#
** Message: attaching to context 0x9e99248
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'OPTIONS'
#
   uri:    'rtsp://10.0.0.104:8554'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '1'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
   key: 'Supported', value: 'ABD-1.0'
#
   key: 'ClientChallenge', value: 'ec66898b524ad4b1815b39fc61c18030'
#
   key: 'ClientID', value: 'WinNT_5.1_6.0.14.944_RealPlayer_R41APA_en_UNK'
#
   key: 'CompanyID', value: 'Nl5ckAESQW4tFS0H8XZdZg=='
#
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
#
   key: 'PlayerStarttime', value: '[10/06/2009:12:18:22 05:00]'
#
   key: 'RegionData', value: '0'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
RTSP response message 0xbfc6e3f4
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '1'
#
   key: 'Public', value: 'OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
 body: length 0
#
** Message: client 0x9e9c2f0: sent a message with cseq 1
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'DESCRIBE'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '2'
#
   key: 'Accept', value: 'application/sdp'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
   key: 'Bandwidth', value: '524300'
#
   key: 'ClientID', value: 'WinNT_5.1_6.0.14.944_RealPlayer_R41APA_en_UNK'
#
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
#
   key: 'Language', value: 'en, *'
#
   key: 'RegionData', value: '0'
#
   key: 'Require', value: 'com.real.retain-entity-for-setup'
#
   key: 'SupportsMaximumASMBandwidth', value: '1'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: found media 0x9ec1a40 for url abspath /test.mp4
#
** Message: found stream 0 with payloader 0x9fc60f0
#
** Message: enter mainloop
#
** Message: constructed media 0x9fca818 for url /test.mp4
#
** Message: preparing media 0x9fca818
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type tag
#
** Message: 0x9fca818: got message type tag
#
** Message: 0x9fca818: got message type tag
#
** Message: stream 0x9fc5eb0 received caps application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)684282795, payload=(int)96, clock-base=(guint)1576817555, seqnum-base=(guint)60252
#
** Message: stream 0x9fc5eb0 received caps application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)684282795, payload=(int)96, clock-base=(guint)1576817555, seqnum-base=(guint)60252
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type async-done
#
** Message: stats: position 0:00:00.000000000, duration 0:00:44.733333333
#
** Message: object 0x9fca818 is prerolled
#
RTSP response message 0xbfc6e3d8
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '2'
#
   key: 'Content-Type', value: 'application/sdp'
#
   key: 'Content-Base', value: 'rtsp://10.0.0.104:8554/test.mp4/'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
 body: length 366
#
00000000 (0xa023928): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30  v=0..o=- 1188340
#
00000010 (0xa023938): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49  656180883 1 IN I
#
00000020 (0xa023948): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d  P4 127.0.0.1..s=
#
00000030 (0xa023958): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64  Session streamed
#
00000040 (0xa023968): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d   with GStreamer.
#
00000050 (0xa023978): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a  .i=rtsp-server..
#
00000060 (0xa023988): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61  e=NONE..t=0 0..a
#
00000070 (0xa023998): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d  =tool:GStreamer.
#
00000080 (0xa0239a8): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73  .a=type:broadcas
#
00000090 (0xa0239b8): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30  t..a=range:npt=0
#
000000a0 (0xa0239c8): 2e 30 30 30 30 30 30 2d 34 34 2e 37 33 33 33 33  .000000-44.73333
#
000000b0 (0xa0239d8): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50  3..m=video 0 RTP
#
000000c0 (0xa0239e8): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50  /AVP 96..c=IN IP
#
000000d0 (0xa0239f8): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72  4 127.0.0.1..a=r
#
000000e0 (0xa023a08): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53  tpmap:96 MP4V-ES
#
000000f0 (0xa023a18): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f  /90000..a=contro
#
00000100 (0xa023a28): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d  l:stream=0..a=fm
#
00000110 (0xa023a38): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65  tp:96 profile-le
#
00000120 (0xa023a48): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d  vel-id=1;config=
#
00000130 (0xa023a58): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31  000001b001000001
#
00000140 (0xa023a68): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30  b589130000010000
#
00000150 (0xa023a78): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30  00012000c48d8800
#
00000160 (0xa023a88): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a        f50a041e1463..  
#
** Message: client 0x9e9c2f0: sent a message with cseq 2
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'SETUP'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4/stream=0'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '3'
#
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: reusing cached media 0x9fca818
#
** Message: manage new media 0x9fca818 in session 0x9f8a2e0
#
RTSP response message 0xbfc6e3bc
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '3'
#
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body: length 0
#
** Message: client 0x9e9c2f0: sent a message with cseq 3
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'SET_PARAMETER'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '4'
#
   key: 'Subscribe', value: 'stream=0;rule=0,stream=0;rule=1'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: watching session 0xa021828
#
RTSP response message 0xbfc6e2b0
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '4'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
 body: length 0
#
** Message: client 0x9e9c2f0: sent a message with cseq 4
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'PLAY'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '5'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
   key: 'Range', value: 'npt=0-44.733000'
#
   key: 'Bandwidth', value: '524300'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: seeking to 99:99:99.999999999 - 0:00:44.733001708
#
** Message: done seeking 1
#
** Message: prerolled again
#
** Message: 0x9fca818: got message type async-done
#
** Message: stats: position 0:00:00.800000000, duration 0:00:44.733333333
#
RTSP response message 0xbfc6e3a0
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '5'
#
   key: 'RTP-Info', value: 'url=rtsp://10.0.0.104:8554/test.mp4/stream=0;seq=60263;rtptime=1576817555'
#
   key: 'Range', value: 'npt=0.800000-44.733333'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body: length 0
#
** Message: going to state PLAYING media 0x9fca818
#
** Message: adding TCP 10.0.0.222
#
** Message: active 1 media 0x9fca818
#
** Message: state PLAYING media 0x9fca818
#
** Message: 0x9fca818: got message type new-clock
#
** Message: client 0x9e9c2f0: sent a message with cseq 5
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'PAUSE'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '6'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: going to state PAUSED media 0x9fca818
#
** Message: removing TCP 10.0.0.222
#
** Message: active 0 media 0x9fca818
#
** Message: state PAUSED media 0x9fca818
#
** Message: stats: position 0:00:20.900000000, duration 0:00:44.733333333
#
RTSP response message 0xbfc6e384
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '6'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body: length 0
#
** Message: client 0x9e9c2f0: sent a message with cseq 6
#
** Message: 0x9fca818: got message type async-done
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'SET_PARAMETER'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '7'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
RTSP response message 0xbfc6e2b0
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '7'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
 body: length 0
#
** Message: client 0x9e9c2f0: sent a message with cseq 7
#
RTSP request message 0x9f8a0a4
#
 request line:
#
   method: 'TEARDOWN'
#
   uri:    'rtsp://10.0.0.104:8554/test.mp4'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '8'
#
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body:
#
** Message: client 0x9e9c2f0: received a request
#
** Message: going to state NULL media 0x9fca818
#
** Message: active 0 media 0x9fca818
#
** Message: unprepare media 0x9fca818
#
** Message: stream 0x9fc5eb0 received caps NULL
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: 0x9fca818: got message type stream-status
#
** Message: free session media 0x9f8a2e0
#
** Message: going to state NULL media 0x9fca818
#
** Message: active 0 media 0x9fca818
#
** Message: free session stream 0xa01ca40
#
RTSP response message 0xbfc6e368
#
 status line:
#
   code:   '200'
#
   reason: 'OK'
#
   version: '1.0'
#
 headers:
#
   key: 'CSeq', value: '8'
#
   key: 'Server', value: 'GStreamer RTSP server'
#
   key: 'Session', value: 'tpxupogdjjusugml'
#
 body: length 0
#
** Message: finalize session 0xa021828
#
** Message: client 0x9e9c2f0: connection closed
#
** Message: finalize client 0x9e9c2f0
#
** Message: finalize media 0x9fca818
Comment 1 Wim Taymans 2009-08-03 11:49:40 UTC

*** This bug has been marked as a duplicate of 589983 ***