Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
606a1925
Commit
606a1925
authored
Mar 25, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating readme for new URLs
parent
55fc5bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
README.textile
README.textile
+21
-11
No files found.
README.textile
View file @
606a1925
...
@@ -13,20 +13,16 @@ h2. Installing
...
@@ -13,20 +13,16 @@ h2. Installing
git clone http://github.com/wandenberg/nginx-push-stream-module.git
git clone http://github.com/wandenberg/nginx-push-stream-module.git
cd nginx-push-stream-module
cd nginx-push-stream-module
# build 0.7.67
# build with 0.8.54 or any other nginx version later than 0.7.67
./build.sh master 0.7.67
./build.sh master 0.8.54
cd build/nginx-0.7.67
cd build/nginx-0.8.54
# or build 0.8.53
./build.sh master 0.8.53
cd build/nginx-0.8.53
# finish
# finish
sudo make install
sudo make install
# checking
# checking
sudo /usr/local/nginx/sbin/nginx -v
sudo /usr/local/nginx/sbin/nginx -v
nginx version: nginx/0.8.5
3
nginx version: nginx/0.8.5
4
sudo /usr/local/nginx/sbin/nginx -c nginx-push-stream-module/misc/nginx.conf -t
sudo /usr/local/nginx/sbin/nginx -c nginx-push-stream-module/misc/nginx.conf -t
the configuration file nginx-push-stream-module/misc/nginx.conf syntax is ok
the configuration file nginx-push-stream-module/misc/nginx.conf syntax is ok
configuration file nginx-push-stream-module/misc/nginx.conf test is successful
configuration file nginx-push-stream-module/misc/nginx.conf test is successful
...
@@ -41,6 +37,14 @@ h2. Basic Configuration
...
@@ -41,6 +37,14 @@ h2. Basic Configuration
<pre>
<pre>
<code>
<code>
location /channels_stats {
# activate channels statistics mode for this location
push_stream_channels_statistics;
# query string based channel id
set $push_stream_channel_id $arg_id;
}
location /pub {
location /pub {
# activate publisher mode for this location
# activate publisher mode for this location
push_stream_publisher;
push_stream_publisher;
...
@@ -102,10 +106,16 @@ one terminal and start playing http pubsub:
...
@@ -102,10 +106,16 @@ one terminal and start playing http pubsub:
# Sub
# Sub
curl -s -v "http://localhost/sub/my_channel_1.b20"
curl -s -v "http://localhost/sub/my_channel_1.b20"
# Channel Stats
(text
format)
# Channel Stats
for publisher (json
format)
curl -s -v "http://localhost/pub?id=my_channel_1"
curl -s -v "http://localhost/pub?id=my_channel_1"
# All Channels Stats (json format)
# All Channels Stats summarized (json format)
curl -s -v "http://localhost/pub?id=ALL"
curl -s -v "http://localhost/channels_stats"
# All Channels Stats detailed (json format)
curl -s -v "http://localhost/channels_stats?id=ALL"
# Channels Stats (json format)
curl -s -v "http://localhost/channels_stats?id=my_channel_1"
</code>
</code>
</pre>
</pre>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment