rtmpsrc librtmp seek error on vod stream gst_element_seek_simple()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rtmpsrc librtmp seek error on vod stream gst_element_seek_simple()

vanderhoffer
Hello,

I am doing a few tests using rtmpsrc that I believe is using librtmp underneath.

I have a listener that is calling

gst_element_seek_simple (
                         myBin,
                         GST_FORMAT_TIME ,
                         GST_SEEK_FLAG_FLUSH,
                         0);

However it returns an error
0:00:23.997376159 30567 0x7fabf0002a60 ERROR  rtmp :0:: WriteN, RTMP send error 9 (34 bytes)
0:00:23.997413890 30567 0x7fabf0002a60 ERROR  rtmpsrc gstrtmpsrc.c:557:gst_rtmp_src_do_seek:<myBin_rtmpSrc> Seeking failed

Do I need to call other events before doing the seek?
I have tried following the seek logic in the tutorials and other threads, but am confused on the flush events etc.

Any points would be appreciated.

Thx
Art