<div dir="ltr"><div>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.<br>
<br>Thank you,<br></div><div>Chuck Crisler<br></div><div><br>Here is a snippet of the log from the GStreamer example.<br><br>RTSP request message 0x82082c0<br> request line:<br> method: 'DESCRIBE'<br> uri: 'rtsp://<a href="http://192.168.10.212:554/test3">192.168.10.212:554/test3</a>'<br>
version: '1.0'<br> headers:<br> key: 'CSeq', value: '4'<br> key: 'Accept', value: 'application/sdp'<br> key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2008.07.05)'<br>
body:<br>0:00:37.258740326 [336m17351[00m 0x80de008 [32;01mINFO [00m [00m rtspclient rtsp-client.c:1206:handle_request:[00m client 0x823faa8: received a request<br>0:00:37.258871630 [336m17351[00m 0x80de008 [32;01mINFO [00m [00m rtspmedia rtsp-media-mapping.c:82:find_media:[00m found media 0x80e7d18 for url abspath /test3<br>
0:00:37.314691018 [336m17351[00m 0x80de008 [32;01mINFO [00m [00m rtspmedia rtsp-media-factory.c:496:gst_rtsp_media_factory_collect_streams:[00m found stream 0 with payloader 0x821c240<br><br></div>Here is a snippet of the log from my code that fails.<br>
<br>Jul 31 16:19:16 rtspdaemon[26509]: RTSP request message 0x9cd4438<br>Jul 31 16:19:16 rtspdaemon[26509]: request line:<br>Jul 31 16:19:16 rtspdaemon[26509]: method: 'DESCRIBE'<br>Jul 31 16:19:16 rtspdaemon[26509]: uri: 'rtsp://<a href="http://192.168.10.238:554/test1">192.168.10.238:554/test1</a>'<br>
Jul 31 16:19:16 rtspdaemon[26509]: version: '1.0'<br>Jul 31 16:19:16 rtspdaemon[26509]: headers:<br>Jul 31 16:19:16 rtspdaemon[26509]: key: 'CSeq', value: '6'<br>Jul 31 16:19:16 rtspdaemon[26509]: key: 'Accept', value: 'application/sdp'<br>
Jul 31 16:19:16 rtspdaemon[26509]: key: 'User-Agent', value: 'VLC media player (LIVE555 Streaming Media v2008.07.05)'<br>Jul 31 16:19:16 rtspdaemon[26509]: body:<br>Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.690975416 [332m26509[00m 0x9ba9008 [32;01mINFO [00m [00m rtspclient rtsp-client.c:1206:handle_request:[00m client 0x9bb2620: received a request<br>
Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.691112166 [332m26509[00m 0x9ba9008 [32;01mINFO [00m [00m rtspmedia rtsp-media-mapping.c:82:find_media:[00m found media 0x9bb2ec8 for url abspath /test1<br>Jul 31 16:19:16 rtspdaemon[26509]: <br>
Jul 31 16:19:16 rtspdaemon[26509]: (<unknown>:26509): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed<br>Jul 31 16:19:16 rtspdaemon[26509]: 0:00:12.708308842 [332m26509[00m 0x9ba9008 [33;01mWARN [00m [00m rtspmedia rtsp-media-factory.c:451:default_get_element:[00m recoverable parsing error: no element "application"<br>
<br></div>