[Live-devel] Ref: testOnDemandRTSPServer

xcsmith at rockwellcollins.com xcsmith at rockwellcollins.com
Fri Sep 22 08:46:48 PDT 2006


In the code for testOnDemandRTSPServer.cpp, I have made changes to
streamName and inputFileName (in the portion which deals with MPEG-TS
streams). After compiling and running I get the RTSP URL and can see my
file using VLC. However, I am not able to Pause the stream. It Plays the
file for the full duration and then sends a Teardown Message after it is
finished.

Please suggest where I am wrong. Is Pause functionality available on
MPEG-TS streams?

Ambuj Kumar Sinha
iptv Scientist
iptvLabs (India) Pvt. Ltd.

I'm not totally sure, but I'd like to suggest that the reason VLC does not
even send a pause message is that the SDP for the TS that the LIVE server
sends has no playtime showing.
Note the line in SDP:  "a=range:npt=0-"  VLC possibly assumes the TS file
is a live feed because there is no max time.  (When the SDP is sent for a
PS demux, LIVE fills in the max time.)  As it is not very logical to pause
a live feed, VLC would have the option disabled.  I see the same behaviour
for TS from my VLC also.  As to whether or not PAUSE is allowed on TS,
you'll have to wait for Ross or someone else to answer.

~Medra



More information about the live-devel mailing list