GNOME Bugzilla – Bug 687883
rtspsrc broken on android
Last modified: 2012-11-08 17:20:56 UTC
rtspsrc is broken on android, I'm using android sdk prerelease from gstreamer.com, I'm getting this logs: W/GStreamer+rtspsrc( 2516): 0:00:01.336304000 gstrtspsrc.c:5342:gst_rtspsrc_setup_streams error: Could not setup transport. E/GStreamer+rtspsrc( 2516): 0:00:01.355682000 gstrtspsrc.c:5555:gst_rtspsrc_open_from_sdp setup failed W/GStreamer+rtspsrc( 2516): 0:00:01.355865000 gstrtspsrc.c:5770:gst_rtspsrc_open can't setup streaming from sdp W/prassel_media_manager( 2516): 07-11-2012 20:32:36.611686 - WARNING: Errore rtsp_receiver da elemento rtsp_media_src: Could not get/set settings from/on resource. W/prassel_media_manager( 2516): 07-11-2012 20:32:36.611899 - WARNING: Informazioni aggiuntive: gstrtspsrc.c(5342): gst_rtspsrc_setup_streams (): /GstPipeline:rtsp_media_receiver/GstRTSPSrc:rtsp_media_src: W/prassel_media_manager( 2516): Could not setup transport. the rtsp stream is generated by an axis camera and obviously work on desktop, if I change url from rtsp in rtspt I get as caps only "application/rtp" and I have a not negotiated if I don't link the pad or this error if I link anyway 0:00:01.669312000 gstrtph264depay.c:280:gst_rtp_h264_depay_negotiate overriding property setting based on caps W/GStreamer+rtph264depay( 2877): 0:00:01.669892000 gstrtph264depay.c:288:gst_rtp_h264_depay_negotiate overriding property setting based on caps. To have more logs I did a test using gst-rtsp-server on my pc, wireshark logs seems fine: OPTIONS rtsp://192.168.1.212:8554/test RTSP/1.0 CSeq: 1 Date: Wed, 07 Nov 2012 20:48:34 GMT RTSP/1.0 200 OK CSeq: 1 Public: OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN Server: GStreamer RTSP server Date: Wed, 07 Nov 2012 20:48:34 GMT DESCRIBE rtsp://192.168.1.212:8554/test RTSP/1.0 CSeq: 2 Accept: application/sdp Date: Wed, 07 Nov 2012 20:48:34 GMT RTSP/1.0 200 OK CSeq: 2 Content-Type: application/sdp Content-Base: rtsp://192.168.1.212:8554/test/ Server: GStreamer RTSP server Date: Wed, 07 Nov 2012 20:48:34 GMT Content-Length: 351 v=0 o=- 1188340656180883 1 IN IP4 192.168.1.212 s=Session streamed with GStreamer i=rtsp-server e=NONE t=0 0 a=tool:GStreamer a=type:broadcast a=control:* a=range:npt=0,000000- m=video 0 RTP/AVP 96 c=IN IP4 192.168.1.212 a=rtpmap:96 H264/90000 a=control:stream=0 a=fmtp:96 sprop-parameter-sets=Z0LAFdkBQfsBEAAAAwAXc1lAAPFi5IAA,aMuMsg== the error does not change on the android device
Created attachment 228486 [details] complete debug log
After talking on IRC this is most likely a bug in your application. Please reopen if you disagree ;)
yes I was missing gstrtpmanager in android plugins, now rtsp works fine! thanks