I'm running video streaming with lighttpd & mod_h264 on CentOS. Now, I want to set to client can only watch the movie for the first x minutes. Example: 10 minutes. Who can give me a solution for this? Thanks !
You can set the
Which should start the video at 0 and let it run for 10 minutes.
It may be better to use a preview link and some server side rewriting though as the above could easily be adjusted manually.
Enable url rewriting by having
which, given a url like
will provide the first 10 minutes of the file.