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 764471 - RTMP send error 32 on Android
RTMP send error 32 on Android
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.7.91
Other other
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-01 17:09 UTC by Mimmo Grottoli
Modified: 2018-11-03 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mimmo Grottoli 2016-04-01 17:09:19 UTC
I'm trying to broadcast video and audio via rtmp from different Android devices, and I'm always getting the following errors:
         GStreamer+rtmp  E  0:00:05.353780468 0x9f9496f0 :0: WriteN, RTMP send error 32 (136 bytes)
                         E  0:00:05.353919322 0x9f9496f0 :0: WriteN, RTMP send error 32 (54 bytes)
                         E  0:00:05.354330259 0x9f9496f0 :0: WriteN, RTMP send error 9 (42 bytes)
     GStreamer+rtmpsink  W  0:00:05.354410363 0x9f9496f0 gstrtmpsink.c:286:gst_rtmp_sink_render:<rtmpsink0> error: Failed to write data

I've tried using wowza and youtube as endpoint, but the error is exactly the same.

The pipeline is:

ahcsrc name=cam ! video/x-raw, width=1280, height=720, framerate=(fraction)24/1 \
! videoconvert \
! amcvidenc-omxqcomvideoencoderavc i-frame-interval=24 \
! h264parse \
! tee name=videoTee \
openslessrc ! audioconvert ! queue ! voaacenc \
! tee name=audioTee \
flvmux streamable=true name=flvmux \
! rtmpsink location=\"rtmp://RTMP_HOST:PORT\" \
videoTee. ! queue ! flvmux. \
audioTee. ! queue ! flvmux.

Note:
1) The issue does not happen when I use audiotestsrc instead of openslessrc as audiosource
2) If I remove the audio part from the pipeline the result is good too
3) If I replace flvmux + rtmpsink with mpegtsmux + udpsink I can publish the stream
Comment 1 Edward Hervey 2018-05-10 05:49:42 UTC
Hi Mimmo. Do you still get the issue with latest GStreamer release ? There have been quite a few fixes to flvmux and rtmpsink since, and it might actually be a non-android issue.
Comment 2 GStreamer system administrator 2018-11-03 13:48:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/365.