Welcome! Log In Create A New Profile

Advanced

video stream and secure link

July 02, 2012 05:02AM
hi,

i want to use mp4 module and secure link module together.

this is my conf;
location /videos/ {
secure_link $arg_st,$arg_e;
secure_link_md5 ssss$remote_addr$uri$arg_e;
if ($secure_link = "") {
return 403;
}

if ($secure_link = "0") {
return 403;
}

mp4;

}
it works with this config but when i change mp4; with
location ~ \.mp4$ {
mp4;
}
secure link doesn't works. streaming an seeking working well.

i need to add this line because i want to stream flv files too.

wat is the true way ? thanks.
SubjectAuthorPosted

video stream and secure link

aryutJuly 02, 2012 05:02AM

Re: video stream and secure link

shahzaib1232July 02, 2012 05:56AM

Re: video stream and secure link

aryutJuly 02, 2012 10:25AM

Re: video stream and secure link

Valentin V. BartenevJuly 02, 2012 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 5 on May 17, 2013
Record Number of Guests: 138 on May 16, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready