[vlc-devel] Re: About TS streaming play back

Limin Wang lmwang at linuxforum.net
Tue Aug 26 09:47:31 CEST 2003


Dear Jean-Paul Saman,


Thanks your reply. For GUI activate PAUSE,PLAY FAST,PLAY SLOW button by b_pace_control flags. So I try to enable it.
I have developed a simple MPEG2 TS streaming server which support interaction for my testing with LSCP. 
Now I want to add the the client control code such as play,pause,stop etc into the button event routine and make them work like local file play.
Where are these places to added my code? I have found PLAY,STOP,but I didn't find where's the PAUSE activation routine?


thanks,
Limin

----- Original Message ----- 
From: "Jean-Paul Saman" <saman at natlab.research.philips.com>
To: <vlc-devel at videolan.org>
Sent: Tuesday, August 26, 2003 3:22 PM
Subject: [vlc-devel] Re: About TS streaming play back


> Limin Wang wrote:
> > I am trying to make pause,play fast,play slow button active when play MPEG2 TS streaming. So I modify the flag in modules/access/udp.c Line 236
> >   p_input->stream.b_pace_control = 0; ==>   p_input->stream.b_pace_control = 1;
> 
> If a stream comes from the network (a streaming server) then the client 
> can not take control of the playing rate, the server is in control. So 
> you need some mechanism to talk to the server, so it can play the stream 
> slower or faster.
> 
> A protocol is needed for this, e.g: RTSP.
> 
> > However then when I play back MPEG2 TS streaming, it'll be halted after play 5-6 seconds. I haven't do any other changes to the code except this.
> > Am  I misunderstand it or how to solve this problem?  For I want to make these button works in streaming mode so that I can do some control to server.
> > 
> Currently it is not possible to talk to the streamer server and to 
> control the playing rate.
> 
> Someone is however working on getting fast forward and rewind possible 
> on server and client, but that work is not finished yet.
> 
> -- 
> Kind greetings,
> 
> Jean-Paul Saman
> 
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
> 


More information about the vlc-devel mailing list