hi,
we retest rtsp with the latest gstreamer-plugins-good-0.10.9 and still broken. here are a more detaild description why compared vlc with gstreamer (since vlc is working): 1. Wrong initiation: GStreamer session (+: GSrtreamer -: Camera) +OPTIONS rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 0 +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 200 OK -CSeq: 0 -Date: Fri, 22 Aug 2008 12:55:31 GMT -Public: OPTIONS, DESCRIBE, PLAY, SETUP, TEARDOWN +DESCRIBE rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 1 +Accept: application/sdp +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 200 OK -CSeq: 1 -Date: Fri, 22 Aug 2008 12:55:31 GMT -Content-Base: rtsp://192.168.150.200/live.sdp/ -Content-Type: application/sdp -Content-Length: 343 - -v=0 -o=RTSP 1219409731 337 IN IP4 0.0.0.0 -s=RTSP server -c=IN IP4 0.0.0.0 -t=0 0 -a=charset:Shift_JIS -a=range:npt=0- -a=control:* -a=etag:1234567890 -m=video 0 RTP/AVP 96 -b=AS:0 -a=rtpmap:96 MP4V-ES/30000 -a=control:trackID=1 -a=fmtp:96 -profile-level-id=3;config=000001B003000001B509000001000000012000C48881F4514043C1463F;decode_buf=76800 +SETUP rtsp://192.168.150.200/live.sdp/trackID=1 RTSP/1.0 +CSeq: 2 +Transport: +RTP/AVP/UDP;unicast;client_port=39498-39499,RTP/AVP/UDP;multicast,RTP/AVP/TCP;unicast;interleaved=0-1 +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 503 Service Unavailable -CSeq: 2 VLC session ( +:VLC, - :Camera) ----------------------------- +OPTIONS rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 1 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 1 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Public: OPTIONS, DESCRIBE, PLAY, SETUP, TEARDOWN +DESCRIBE rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 2 +Accept: application/sdp +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 2 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Content-Base: rtsp://192.168.150.200/live.sdp/ -Content-Type: application/sdp -Content-Length: 343 - -v=0 -o=RTSP 1219164150 610 IN IP4 0.0.0.0 -s=RTSP server -c=IN IP4 0.0.0.0 -t=0 0 -a=charset:Shift_JIS -a=range:npt=0- -a=control:* -a=etag:1234567890 -m=video 0 RTP/AVP 96 -b=AS:0 -a=rtpmap:96 MP4V-ES/30000 -a=control:trackID=1 -a=fmtp:96 -profile-level-id=3;config=000001B003000001B509000001000000012000C48881F4514043C1463F;decode_buf=76800 +SETUP rtsp://192.168.150.200/live.sdp/trackID=1 RTSP/1.0 +CSeq: 3 +Transport: RTP/AVP;unicast;client_port=36774-36775 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 3 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Session: 2579728;timeout=80 -Server: PVSS -Transport: RTP/AVP;unicast;client_port=36774-36775;server_port=5556-5557 +PLAY rtsp://192.168.150.200/live.sdp/ RTSP/1.0 +CSeq: 4 +Session: 2579728 +Range: npt=0.000- +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 4 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Session: 2579728;timeout=80 -Server: PVSS -RTP-Info: url=rtsp://192.168.150.200/live.sdp/trackID=1;seq=0;rtptime=0 -Range: npt=0- -RTCP-Interval: 250 +TEARDOWN rtsp://192.168.150.200/live.sdp/ RTSP/1.0 +CSeq: 5 +Session: 2579728 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 5 -Session: 2579728 The camera type is Vivotek IP7138. I think the main difference is that the VLC client doesn't use the interleaved parameter in the SETUP command ---------------------------------------------------------------------------- 2. Missing TEARDOWN when the program is closed. Only a PAUSE is sent. On some cameras this prevents the start of the next session for a while. at the same time i reopen http://bugzilla.gnome.org/show_bug.cgi?id=537832 -- Levente "Si vis pacem para bellum!" 1. Wrong initiation: GStreamer session (+: GSrtreamer -: Camera) +OPTIONS rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 0 +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 200 OK -CSeq: 0 -Date: Fri, 22 Aug 2008 12:55:31 GMT -Public: OPTIONS, DESCRIBE, PLAY, SETUP, TEARDOWN +DESCRIBE rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 1 +Accept: application/sdp +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 200 OK -CSeq: 1 -Date: Fri, 22 Aug 2008 12:55:31 GMT -Content-Base: rtsp://192.168.150.200/live.sdp/ -Content-Type: application/sdp -Content-Length: 343 - -v=0 -o=RTSP 1219409731 337 IN IP4 0.0.0.0 -s=RTSP server -c=IN IP4 0.0.0.0 -t=0 0 -a=charset:Shift_JIS -a=range:npt=0- -a=control:* -a=etag:1234567890 -m=video 0 RTP/AVP 96 -b=AS:0 -a=rtpmap:96 MP4V-ES/30000 -a=control:trackID=1 -a=fmtp:96 -profile-level-id=3;config=000001B003000001B509000001000000012000C48881F4514043C1463F;decode_buf=76800 +SETUP rtsp://192.168.150.200/live.sdp/trackID=1 RTSP/1.0 +CSeq: 2 +Transport: +RTP/AVP/UDP;unicast;client_port=39498-39499,RTP/AVP/UDP;multicast,RTP/AVP/TCP;unicast;interleaved=0-1 +Date: Fri, 22 Aug 2008 10:55:28 GMT -RTSP/1.0 503 Service Unavailable -CSeq: 2 VLC session ( +:VLC, - :Camera) ----------------------------- +OPTIONS rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 1 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 1 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Public: OPTIONS, DESCRIBE, PLAY, SETUP, TEARDOWN +DESCRIBE rtsp://192.168.150.200/live.sdp RTSP/1.0 +CSeq: 2 +Accept: application/sdp +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 2 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Content-Base: rtsp://192.168.150.200/live.sdp/ -Content-Type: application/sdp -Content-Length: 343 - -v=0 -o=RTSP 1219164150 610 IN IP4 0.0.0.0 -s=RTSP server -c=IN IP4 0.0.0.0 -t=0 0 -a=charset:Shift_JIS -a=range:npt=0- -a=control:* -a=etag:1234567890 -m=video 0 RTP/AVP 96 -b=AS:0 -a=rtpmap:96 MP4V-ES/30000 -a=control:trackID=1 -a=fmtp:96 -profile-level-id=3;config=000001B003000001B509000001000000012000C48881F4514043C1463F;decode_buf=76800 +SETUP rtsp://192.168.150.200/live.sdp/trackID=1 RTSP/1.0 +CSeq: 3 +Transport: RTP/AVP;unicast;client_port=36774-36775 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 3 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Session: 2579728;timeout=80 -Server: PVSS -Transport: RTP/AVP;unicast;client_port=36774-36775;server_port=5556-5557 +PLAY rtsp://192.168.150.200/live.sdp/ RTSP/1.0 +CSeq: 4 +Session: 2579728 +Range: npt=0.000- +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 4 -Date: Tue, 19 Aug 2008 16:42:30 GMT -Session: 2579728;timeout=80 -Server: PVSS -RTP-Info: url=rtsp://192.168.150.200/live.sdp/trackID=1;seq=0;rtptime=0 -Range: npt=0- -RTCP-Interval: 250 +TEARDOWN rtsp://192.168.150.200/live.sdp/ RTSP/1.0 +CSeq: 5 +Session: 2579728 +User-Agent: VLC media player (LIVE555 Streaming Media v2008.04.02) -RTSP/1.0 200 OK -CSeq: 5 -Session: 2579728 The camera type is Vivotek IP7138. I think the main difference is that the VLC client doesn't use the interleaved parameter in the SETUP command ---------------------------------------------------------------------------- 2. Missing TEARDOWN when the program is closed. Only a PAUSE is sent. On some cameras this prevents the start of the next session for a while. (Pesti Vivotek 192.168.2.90) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, gstreamer-devel:
This is because rtspsrc uses multiple transport methods in `Transport' header while sending out `SETUP' method. You can modify `gst_rtspsrc_create_transports_string' function in gstrtspsrc.c.
Actually, I'd say that the logic in `gst_rtspsrc_create_transports_string' is subject to RFC 2326(RTSP), so I think this is an implementatin problem of RTSP server. RTSP server which obeys the RFC 2326 can handle this situation, that means the client provides multiple transport methods in `SETUP' method and the server picks one which it prefers.
Eric Zhang
2008/8/23, Farkas Levente <[hidden email]>:
hi, ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Sat, Aug 23, 2008 at 4:09 AM, Eric Zhang <[hidden email]> wrote:
may be you've got right, but we still would like to use gstreamer as client and while vlc can be used as a client for such server gsreamer can't:-( -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |