After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687883 - rtspsrc broken on android
rtspsrc broken on android
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other other
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-07 20:51 UTC by Nicola
Modified: 2012-11-08 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
complete debug log (116.14 KB, text/x-log)
2012-11-08 16:14 UTC, Nicola
Details

Description Nicola 2012-11-07 20:51:12 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
Comment 1 Nicola 2012-11-08 16:14:24 UTC
Created attachment 228486 [details]
complete debug log
Comment 2 Sebastian Dröge (slomo) 2012-11-08 17:05:51 UTC
After talking on IRC this is most likely a bug in your application. Please reopen if you disagree ;)
Comment 3 Nicola 2012-11-08 17:20:56 UTC
yes I was missing gstrtpmanager in android plugins, now rtsp works fine! thanks