GNOME Bugzilla – Bug 589839
tcp connection problem:
Last modified: 2010-04-10 19:31:30 UTC
I used gst-rtsp-server as streaming server and vlc as the streaming clinet.For getting the tcp connection i set up the port of gst-rtsp-server as port 80.Connection became tcp,but gettingo only one or two stuked images.And the color combination of images were destroyed.(red color became violet and blue became orange....etc)..But if the connection is udp,only the problem is with bandwidth.The colour combination of video is working well. I tried it with Darwin+realone player ,and got very good image clarity in both tcp(http tunneling) and udp. Following is the log that i got for gst-rtsp-server+vlc combination. ** Message: listening on port 80 ** Message: added new client 0x9b282f0 ip 114.143.222.36:61042 ** Message: attaching to context 0x9b25248 RTSP request message 0x9c1608c request line: method: 'OPTIONS' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '1' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request RTSP response message 0xbff5d6b4 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 0x9b282f0: sent a message with cseq 1 RTSP request message 0x9c1608c request line: method: 'DESCRIBE' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '2' key: 'Accept', value: 'application/sdp' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request ** Message: found media 0x9b4dc40 for url abspath /test.mp4 ** Message: enter mainloop ** Message: found stream 0 with payloader 0x9c500e8 ** Message: found stream 1 with payloader 0x9c540d0 ** Message: constructed media 0x9c57c38 for url /test.mp4 ** Message: preparing media 0x9c57c38 ** Message: 0x9c57c38: got message type tag ** Message: 0x9c57c38: got message type tag ** Message: 0x9c57c38: got message type tag ** Message: stream 0x9c59c00 received caps 0x9cab080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3161938665, payload=(int)97, clock-base=(guint)4274628948, seqnum-base=(guint)19218 ** Message: stream 0x9c59c00 received caps 0x9cab080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3161938665, payload=(int)97, clock-base=(guint)4274628948, seqnum-base=(guint)19218 ** Message: stream 0x9c53df8 received caps 0x9c9a580, 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)2170947102, payload=(int)96, clock-base=(guint)1358579474, seqnum-base=(guint)46752 ** Message: stream 0x9c53df8 received caps 0x9c9a580, 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)2170947102, payload=(int)96, clock-base=(guint)1358579474, seqnum-base=(guint)46752 ** Message: 0x9c57c38: got message type async-done ** Message: stats: position 0:00:00.000000000, duration 0:00:31.533333333 ** Message: object 0x9c57c38 is prerolled RTSP response message 0xbff5d660 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://carinov.dyndns.biz:80/test.mp4/' key: 'Server', value: 'GStreamer RTSP server' body: length 577 00000000 (0x9cbb440): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30 v=0..o=- 1188340 00000010 (0x9cbb450): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49 656180883 1 IN I 00000020 (0x9cbb460): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d P4 127.0.0.1..s= 00000030 (0x9cbb470): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64 Session streamed 00000040 (0x9cbb480): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d with GStreamer. 00000050 (0x9cbb490): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a .i=rtsp-server.. 00000060 (0x9cbb4a0): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61 e=NONE..t=0 0..a 00000070 (0x9cbb4b0): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d =tool:GStreamer. 00000080 (0x9cbb4c0): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73 .a=type:broadcas 00000090 (0x9cbb4d0): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 t..a=range:npt=0 000000a0 (0x9cbb4e0): 2e 30 30 30 30 30 30 2d 33 31 2e 35 33 33 33 33 .000000-31.53333 000000b0 (0x9cbb4f0): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 3..m=video 0 RTP 000000c0 (0x9cbb500): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 /AVP 96..c=IN IP 000000d0 (0x9cbb510): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72 4 127.0.0.1..a=r 000000e0 (0x9cbb520): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 tpmap:96 MP4V-ES 000000f0 (0x9cbb530): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f /90000..a=contro 00000100 (0x9cbb540): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d l:stream=0..a=fm 00000110 (0x9cbb550): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 tp:96 profile-le 00000120 (0x9cbb560): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d vel-id=1;config= 00000130 (0x9cbb570): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31 000001b001000001 00000140 (0x9cbb580): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30 b589130000010000 00000150 (0x9cbb590): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30 00012000c48d8800 00000160 (0x9cbb5a0): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a 6d 3d f50a041e1463..m= 00000170 (0x9cbb5b0): 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20 audio 0 RTP/AVP 00000180 (0x9cbb5c0): 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 31 32 37 97..c=IN IP4 127 00000190 (0x9cbb5d0): 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70 6d 61 70 .0.0.1..a=rtpmap 000001a0 (0x9cbb5e0): 3a 39 37 20 4d 50 45 47 34 2d 47 45 4e 45 52 49 :97 MPEG4-GENERI 000001b0 (0x9cbb5f0): 43 2f 38 30 30 30 2f 31 0d 0a 61 3d 63 6f 6e 74 C/8000/1..a=cont 000001c0 (0x9cbb600): 72 6f 6c 3a 73 74 72 65 61 6d 3d 31 0d 0a 61 3d rol:stream=1..a= 000001d0 (0x9cbb610): 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d 74 79 fmtp:97 streamty 000001e0 (0x9cbb620): 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 pe=5;profile-lev 000001f0 (0x9cbb630): 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41 41 43 el-id=1;mode=AAC 00000200 (0x9cbb640): 2d 68 62 72 3b 63 6f 6e 66 69 67 3d 30 64 38 38 -hbr;config=0d88 00000210 (0x9cbb650): 3b 73 69 7a 65 6c 65 6e 67 74 68 3d 31 33 3b 69 ;sizelength=13;i 00000220 (0x9cbb660): 6e 64 65 78 6c 65 6e 67 74 68 3d 33 3b 69 6e 64 ndexlength=3;ind 00000230 (0x9cbb670): 65 78 64 65 6c 74 61 6c 65 6e 67 74 68 3d 33 0d exdeltalength=3. 00000240 (0x9cbb680): 0a . ** Message: client 0x9b282f0: sent a message with cseq 2 RTSP request message 0x9c1608c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=0' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request ** Message: reusing cached media 0x9c57c38 ** Message: manage new media 0x9c57c38 in session 0x9cb10e8 RTSP response message 0xbff5d644 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'rjgnmtujffnijulc' body: length 0 ** Message: client 0x9b282f0: sent a message with cseq 3 RTSP request message 0x9c1608c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=1' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=2-3' key: 'Session', value: 'rjgnmtujffnijulc' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request ** Message: watching session 0x9c8c190 RTSP response message 0xbff5d644 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=2-3;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'rjgnmtujffnijulc' body: length 0 ** Message: client 0x9b282f0: sent a message with cseq 4 RTSP request message 0x9c1608c request line: method: 'PLAY' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Session', value: 'rjgnmtujffnijulc' key: 'Range', value: 'npt=0.000-' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request ** Message: no seek needed RTSP response message 0xbff5d628 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '5' key: 'RTP-Info', value: 'url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=0;seq=46752;rtptime=1358579474, url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=1;seq=19218;rtptime=4274628948' key: 'Range', value: 'npt=0.000000-31.533333' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'rjgnmtujffnijulc' body: length 0 ** Message: going to state PLAYING media 0x9c57c38 ** Message: adding TCP 114.143.222.36 ** Message: adding TCP 114.143.222.36 ** Message: active 2 media 0x9c57c38 ** Message: state PLAYING media 0x9c57c38 ** Message: 0x9c57c38: got message type new-clock ** Message: client 0x9b282f0: sent a message with cseq 5 RTSP request message 0x9c1608c request line: method: 'GET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/' version: '1.0' headers: key: 'CSeq', value: '6' key: 'Session', value: 'rjgnmtujffnijulc' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request RTSP response message 0xbff5d540 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '6' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x9b282f0: sent a message with cseq 6 ** Message: 0x9c57c38: got message type eos RTSP request message 0x9c1608c request line: method: 'TEARDOWN' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Session', value: 'rjgnmtujffnijulc' key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2009.04.20)' body: ** Message: client 0x9b282f0: received a request ** Message: going to state NULL media 0x9c57c38 ** Message: removing TCP 114.143.222.36 ** Message: removing TCP 114.143.222.36 ** Message: active 0 media 0x9c57c38 ** Message: unprepare media 0x9c57c38 ** Message: stream 0x9c59c00 received caps (nil), NULL ** Message: stream 0x9c53df8 received caps (nil), NULL ** Message: free session media 0x9cb10e8 ** Message: going to state NULL media 0x9c57c38 ** Message: active 0 media 0x9c57c38 ** Message: free session stream 0x9cb8b10 ** Message: free session stream 0x9cbb038 RTSP response message 0xbff5d5f0 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'rjgnmtujffnijulc' body: length 0 ** Message: finalize session 0x9c8c190 ** Message: client 0x9b282f0: received an error System error: Connection reset by peer ** Message: finalize client 0x9b282f0 ** Message: finalize media 0x9c57c38 ^C
Does it only happen with VLC or also with totem or other gstreamer based receivers?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!