Thread: Seek in rtmpgw
View Single Post
  #1  
Old 12-07-2010, 01:21 AM
vpeter vpeter is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
vpeter is on a distinguished road
Default

Seek in rtmpgw


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

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
Reply With Quote