Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nginx
GitHub Repository: nginx/nginx.org
Path: blob/main/xml/en/docs/http/ngx_http_f4f_module.xml
1 views
1
<?xml version="1.0"?>
2
3
<!--
4
Copyright (C) Nginx, Inc.
5
-->
6
7
<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8
9
<module name="Module ngx_http_f4f_module"
10
link="/en/docs/http/ngx_http_f4f_module.html"
11
lang="en"
12
rev="1">
13
14
<section id="summary">
15
16
<para>
17
The <literal>ngx_http_f4f_module</literal> module provides
18
server-side support for Adobe HTTP Dynamic Streaming (HDS).
19
</para>
20
21
<para>
22
This module implements handling of HTTP Dynamic Streaming requests in the
23
<literal>/videoSeg1-Frag1</literal>” form — extracting the needed fragment
24
from the <path>videoSeg1.f4f</path> file using the <path>videoSeg1.f4x</path>
25
index file.
26
This module is an alternative to the Adobe’s f4f module (HTTP Origin Module)
27
for Apache.
28
</para>
29
30
<para>
31
Usual pre-processing with Adobe’s f4fpackager is required, see relevant
32
documentation for details.
33
</para>
34
35
<para>
36
<note>
37
This module is available as part of our
38
<commercial_version>commercial subscription</commercial_version>.
39
</note>
40
</para>
41
42
</section>
43
44
45
<section id="example" name="Example Configuration">
46
47
<para>
48
<example>
49
location /video/ {
50
f4f;
51
...
52
}
53
</example>
54
</para>
55
56
</section>
57
58
59
<section id="directives" name="Directives">
60
61
<directive name="f4f">
62
<syntax/>
63
<default/>
64
<context>location</context>
65
66
<para>
67
Turns on module processing in the surrounding location.
68
</para>
69
70
</directive>
71
72
73
<directive name="f4f_buffer_size">
74
<syntax><value>size</value></syntax>
75
<default>512k</default>
76
<context>http</context>
77
<context>server</context>
78
<context>location</context>
79
80
<para>
81
Sets the <value>size</value> of the buffer used for
82
reading the <path>.f4x</path> index file.
83
</para>
84
85
</directive>
86
87
</section>
88
89
</module>
90
91