mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
f0500ec8b4
Previously this was broken, because a flushing seek causes unlock() to be called and in the implementation of unlock() we close the socket, so the seek errors out. This patch fixes it by re-connecting before the seek. Unfortunately, a seek does not work properly right after re-connecting, so a small hack is also in place: we read 1 buffer before seeking to allow librtmp to do its processing in RTMP_Read() https://bugzilla.gnome.org/show_bug.cgi?id=785941 |
||
---|---|---|
.. | ||
gstrtmp.c | ||
gstrtmpsink.c | ||
gstrtmpsink.h | ||
gstrtmpsrc.c | ||
gstrtmpsrc.h | ||
Makefile.am | ||
meson.build | ||
README |
rtmpsrc/sink: These plugins require librtmp from http://rtmpdump.mplayerhq.hu/ You have to build librtmp with -fPIC to be able to use it with the GStreamer plugin: make XCFLAGS="-fPIC"