GStreamer RTSP Server URL issue

Chuck Crisler ccrisler at mutualink.net
Wed Jul 31 13:38:17 PDT 2013


I have built and run the GStreamer RTSP server example code. I have tried
to include the same code into my application. However, it fails due to
GStreamer/Glib rejecting the URL supplied by a video client (VLC in this
case). There doesn't seem to be any effective difference that I can see
between the case that works and the case that fails. Can anyone suggest why
the URL is rejected in my code? Both tests were run against GStreamer
0.10.30. I don't think that it is a pipeline issue because it fails before
doing anything with the pipeline.

Thank you,
Chuck Crisler

Here is a snippet of the log from the GStreamer example.

RTSP request message 0x82082c0
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://192.168.10.212:554/test3'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Accept', value: 'application/sdp'
   key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media
v2008.07.05)'
 body:
0:00:37.258740326 17351  0x80de008 INFO   
          rtspclient rtsp-client.c:1206:handle_request: client
0x823faa8: received a request
0:00:37.258871630 17351  0x80de008 INFO   
           rtspmedia rtsp-media-mapping.c:82:find_media: found
media 0x80e7d18 for url abspath /test3
0:00:37.314691018 17351  0x80de008 INFO   
           rtspmedia
rtsp-media-factory.c:496:gst_rtsp_media_factory_collect_streams: found
stream 0 with payloader 0x821c240

Here is a snippet of the log from my code that fails.

Jul 31 16:19:16 rtspdaemon[26509]: RTSP request message 0x9cd4438
Jul 31 16:19:16 rtspdaemon[26509]:  request line:
Jul 31 16:19:16 rtspdaemon[26509]:    method: 'DESCRIBE'
Jul 31 16:19:16 rtspdaemon[26509]:    uri:    'rtsp://
192.168.10.238:554/test1'
Jul 31 16:19:16 rtspdaemon[26509]:    version: '1.0'
Jul 31 16:19:16 rtspdaemon[26509]:  headers:
Jul 31 16:19:16 rtspdaemon[26509]:    key: 'CSeq', value: '6'
Jul 31 16:19:16 rtspdaemon[26509]:    key: 'Accept', value:
'application/sdp'
Jul 31 16:19:16 rtspdaemon[26509]:    key: 'User-Agent', value: 'VLC media
player (LIVE555 Streaming Media v2008.07.05)'
Jul 31 16:19:16 rtspdaemon[26509]:  body:
Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.690975416 26509
0x9ba9008 INFO              rtspclient
rtsp-client.c:1206:handle_request: client 0x9bb2620: received a request
Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.691112166 26509
0x9ba9008 INFO               rtspmedia
rtsp-media-mapping.c:82:find_media: found media 0x9bb2ec8 for url
abspath /test1
Jul 31 16:19:16 rtspdaemon[26509]:
Jul 31 16:19:16 rtspdaemon[26509]: (<unknown>:26509): GStreamer-CRITICAL
**: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed
Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.708308842 26509
0x9ba9008 WARN               rtspmedia
rtsp-media-factory.c:451:default_get_element: recoverable parsing
error: no element "application"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130731/92c6f12f/attachment.html>


More information about the gstreamer-devel mailing list