ngx_http_f4f_module 模組

範例設定
指令
     f4f
     f4f_buffer_size

ngx_http_f4f_module 模組為 Adobe HTTP Dynamic Streaming (HDS) 提供伺服器端支援。

此模組實作了處理 “/videoSeg1-Frag1” 形式的 HTTP Dynamic Streaming 請求 — 使用 videoSeg1.f4x 索引檔案從 videoSeg1.f4f 檔案中提取所需的片段。此模組是 Apache 的 Adobe f4f 模組 (HTTP Origin Module) 的替代方案。

需要使用 Adobe 的 f4fpackager 進行一般預處理,詳細資訊請參閱相關文件。

此模組是我們商業訂閱的一部分。

範例設定

location /video/ {
    f4f;
    ...
}

指令

語法 f4f;
預設值
上下文 location

在周圍的 location 中開啟模組處理。

語法 f4f_buffer_size 大小;
預設值
f4f_buffer_size 512k;
上下文 http, server, location

設定用於讀取 .f4x 索引檔案的緩衝區大小