[Bug 729099] rtmpsrc: Crash due to unsafe thread handling in librtmp when setting state from PLAYING->PAUSED

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 2 15:58:46 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=729099

--- Comment #14 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Andreas Frisch from comment #12)
> despites this bug being totally the wrong place for an announcement, but you
> should try out https://github.com/heftig/gst-plugins-bad/tree/rtmp2

Thanks, feel free to file a bug if/when you'd like to get some feedback about
this implementation. We are looking forward a replacement for RTMP library
which isn't the best fit, specially due to threading and error handling.

(In reply to Jan Alexander Steffens (heftig) from comment #13)
> Well, besides trying to write a completely new RTMP implementation, at
> Make.TV we've added patches from pexip
> (https://github.com/pexip/gst-plugins-bad/commits/master/ext/rtmp) to avoid
> this problem. Unfortunately, they also go with patches to librtmp
> (https://github.com/pexip/librtmp/commits/master).

Thanks for pointing this out. I think we can learn from this. Notice that it
initially ad a socket close(), and then removes it (using only shutdown()) to
unblock. Could be a shorter term solution until a replacement is ready and
merged.

I think that meanwhile Pexip has moved and have their own rtmp library and
their own element too. I think creating a bug for Andreas replacement would be
a good way to discuss this.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list