hi
i am trying to stream files and make the seek option work.
here is the nginx conf:
location /uploads/ {
alias /var/www/cgi-bin/uploads/;
internal;
mp4;
set $limit_rate $arg_speed;
limit_conn one 2;
access_log logs/traffic.log xfs;
}
** when i put mp4; i can seek mp4 videos but cant seek flv videos ( goes to 0:00 when seeking)
**when i change "mp4;" with "flv;" i can seek in flv videos but not in mp4 videos
**on both cases where i say i cant seek , the player is sending zzzz.flv?start=XXX or zzzz.mp4?start=XXX
but the video just starts from the beginning
it looks like nginx dosn't understand the start param: "start=XX" (because the start param works different for flv and mp4)
**when i put both mp4; and flv;
than only flv seeking works , when seeking mp4's it start from 0:00 .
-----------------------------------------------------------------------------------
i compiled nginx with this command :
./configure --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --with-http_mp4_module
anyone have a clue how to make it work for both mp4 and flv ?
a full nginx.conf file is attached
thanks :)
*i am using the script xfilesharingpro if it matters
Edited 2 time(s). Last edit at 08/17/2012 02:24PM by tay.