| From | Sent On | Attachments |
|---|---|---|
| Sean Allen | May 9, 2008 10:30 am | |
| Igor Sysoev | May 9, 2008 10:40 am | |
| Sean Allen | May 9, 2008 2:11 pm | |
| Jonathan Vanasco | May 9, 2008 6:32 pm | |
| Rapsey | May 10, 2008 12:32 am | |
| Sean Allen | May 12, 2008 11:00 pm | |
| mike | Jun 13, 2008 6:03 pm | |
| Rapsey | Jun 13, 2008 10:14 pm | |
| Igor Sysoev | Jun 13, 2008 10:24 pm | |
| mike | Jun 13, 2008 10:30 pm | |
| mike | Jun 13, 2008 10:40 pm | |
| Igor Sysoev | Jun 13, 2008 10:46 pm | |
| Igor Sysoev | Jun 13, 2008 10:50 pm | |
| mike | Jun 16, 2008 1:06 pm | |
| Maxim Dounin | Jun 16, 2008 3:59 pm | |
| mike | Jun 16, 2008 4:36 pm | |
| Igor Sysoev | Jun 17, 2008 1:19 am | |
| mike | Jun 17, 2008 11:56 am | |
| Igor Sysoev | Jun 17, 2008 1:32 pm | |
| Thomas | Oct 7, 2008 3:15 pm | |
| Kon Wilms | Oct 7, 2008 3:20 pm | |
| Kon Wilms | Oct 7, 2008 4:03 pm | |
| 伍鹏 | Oct 7, 2008 5:19 pm | |
| 伍鹏 | Oct 7, 2008 5:54 pm | |
| 伍鹏 | Oct 7, 2008 7:56 pm | |
| 伍鹏 | Oct 7, 2008 10:08 pm | |
| Thomas | Oct 8, 2008 2:50 am | |
| 伍鹏 | Oct 8, 2008 3:15 am | |
| Kon Wilms | Oct 8, 2008 9:00 am | |
| Thomas | Oct 8, 2008 11:54 am | |
| 伍鹏 | Oct 8, 2008 5:29 pm | |
| 焦胜强 | Oct 8, 2008 6:09 pm | |
| Thomas | Oct 9, 2008 3:18 am | |
| 伍鹏 | Oct 9, 2008 4:12 am | |
| Thomas | Oct 9, 2008 10:42 am | |
| 伍鹏 | Oct 9, 2008 7:38 pm | |
| mike | Oct 9, 2008 7:50 pm | |
| 伍鹏 | Oct 9, 2008 8:08 pm | |
| 伍鹏 | Oct 10, 2008 6:33 pm | |
| 伍鹏 | Oct 11, 2008 8:19 pm | |
| Rapsey | Oct 14, 2008 7:33 am | |
| Thomas | Oct 14, 2008 9:03 am | |
| Rapsey | Oct 14, 2008 9:24 am | |
| Thomas | Oct 14, 2008 9:33 am | |
| Rapsey | Oct 14, 2008 11:25 am | |
| yong xue | Oct 15, 2008 5:58 am | |
| mike | Oct 15, 2008 8:21 am | |
| 伍鹏 | Oct 15, 2008 4:40 pm | |
| Thomas | Nov 10, 2008 6:47 am | |
| 伍鹏 | Nov 27, 2008 12:00 am |
| Subject: | Re: h.264 streaming support? | |
|---|---|---|
| From: | Maxim Dounin (mdou...@public.gmane.org) | |
| Date: | Jun 16, 2008 3:59:21 pm | |
| List: | ru.sysoev.nginx | |
Hello!
On Mon, Jun 16, 2008 at 01:07:20PM -0700, mike wrote:
So pseudo code for a file named "/videoplay.php":
header("Content-type etc...")
if(isset($_GET['start'])) { $start = intval($_GET['start']); header("X-Accel-Redirect: /path/to/file.flv?start=$start"); } else { header("X-Accel-Redirect: /path/to/file.flv"); }
and in nginx.conf, I could have:
location /videoplay.php {
-location /videoplay.php { +location /path/to/ {
flv; }
would this work together?
You should use flv on actual files, not on your php script.
Maxim Dounin
On 6/13/08, Igor Sysoev <is-G...@public.gmane.org> wrote:
Yes, but do not forget "start":
X-Accel-Redirect: /path/to/file.flv?start=XXX
Besides, nginx can handle flv only as static file, i.e. the request can not be proxied, etc. However, you can use nginx on storage backends:
nginx/proxy_buffering off -> nginx/FLV nginx/FLV nginx/FLV





