[Live-devel] How to realize pause in H.264 stream

Ross Finlayson finlayson at live555.com
Mon Jun 29 03:05:43 PDT 2009


>when I use live555 to stream H.264 file stream,the client(VLC) could 
>play or teardown the stream.
>But when I press the 'pause ' button, it does nothing, the video play as also.

Are you streaming via unicast, or via multicast.

If you're streaming via unicast, then RTSP "PAUSE" should work.  Note 
that the "pauseStream()" virtual function is reimplemented in 
"OnDemandServerMediaSubsession".

If, however, you're streaming via multicast, then "PAUSE" is not 
implemented, by default, because it usually doesn't make sense for 
one client of a multicast stream to be able to pause the stream for 
everyone else.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list