[Live-devel] Range Header

Michael L. Boom mboom at channelislands.com
Tue Jul 10 14:45:24 PDT 2012


Lets say I am 30 seconds into the clip I am watching.  If I say play "Range: npt=-60" it will return "Range: npt=0-" and play from the start.  When I use "Range: npt=now-60" it doesn't return a Range header but continues from where it left off and stops at 60 seconds into the commercial IF the scale is 1.0.  If the scale header is higher than 1.0 it will play way beyond 60 seconds (it does stop after a while though). 
Isn't the keyword "now" reserved for live events?

Basically "Range: npt=-60" doesn't seem to work but "Range: npt=now-60" does when the scale is 1.0.  When the scale is higher than 1.0 it does the same thing excepts plays way beyond 60 seconds into the clip.


 PLAY rtsp://192.168.1.139/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts RTSP/1.0 -- is proxy gen: FALSE
 CSeq: 105
 Range: npt=-60.000
 Scale: 1.501502
 Session: 40C4F683
 User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)

 RTSP/1.0 200 OK
 Accept: 5554/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts/*;seq=0;rtptime=0
 CSeq: 105
 Date: Tue, Jul 10 2012 21:24:17 GMT
 Range: npt=0.000-
 RTP-Info: url=rtsp://192.168.1.139/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts RTSP/1.0
 Scale: 2.000000
 Session: 40C4F683

------------------------------------

 PLAY rtsp://192.168.1.139/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts RTSP/1.0 -- is proxy gen: FALSE
 CSeq: 105
 Range: npt=now-60.000
 Scale: 1.501502
 Session: 4109C0C6
 User-Agent: LibVLC/2.0.1 (LIVE555 Streaming Media v2011.12.23)

 RTSP/1.0 200 OK
 Accept: 5554/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts/*;seq=0;rtptime=0
 CSeq: 105
 Date: Tue, Jul 10 2012 21:33:51 GMT
 RTP-Info: url=rtsp://192.168.1.139/movies/CI-PRIM/american_chopper/Sr_v_Jr_D1-Title1.mp4.ts RTSP/1.0
 Scale: 2.000000
 Session: 4109C0C6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120710/6a10c805/attachment-0001.html>


More information about the live-devel mailing list