Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Seek in rtmpgw

(http://stream-recorder.com/forum/showthread.php?t=7880)

vpeter 12-07-2010 01:21 AM

Seek in rtmpgw


 
Hi all,
I'm new to this forum so please be gently :p

I'm working on a code for rtmpgw program to add seek-ing support on a current rtmp stream. I'm using function call RTMP_SendSeek() but it doesn't work as expected. The VLC client just disconnects when it's buffer become empty. But I noticed that if I drop few received packets got with RTMP_Read() from server after I call Seek, the VLC plays fine at the requested position and stream continues.
So the question is: what I'm doing wrong? What is the correct way of using RTMP_SendSeek?
Strange thing is that function call RTMP_Pause() for pausing using in the same way works as expected.

Thanks for any useful info.
Peter


All times are GMT -6. The time now is 12:23 PM.