A Livepeer Broadcaster can be deployed on a hosted server. For this guide it is assumed that this hosted server is running Linux (Ubuntu).
It is necessary to configure Livepeer Broadcaster appropriately, in order to allow required remote access to the server.
When starting Livepeer Broadcaster, run the following command:
./livepeer \
-broadcaster \
-rtmpAddr 127.0.0.1:1935 \
-httpAddr 127.0.0.1:8935
Note: this command is technically equivalent to running the same command without -rtmpAddr
or -httpAddr
flags, as these are the default options. They are explicitly included here for illustrative purposes only.
Livepeer Broadcaster will only allow content to be published and consumed on the hosted server itself:
publish | consume | |
---|---|---|
local | yes | yes |
remote | no | no |
When starting Livepeer Broadcaster, run the following command:
./livepeer \
-broadcaster \
-rtmpAddr 127.0.0.1:1935 \
-httpAddr 0.0.0.0:8935
This will only allow content to be published from the hosted server itself but will allow content to be consumed locally or remotely, by any host with network access to the hosted server.
publish | consume | |
---|---|---|
local | yes | yes |
remote | no | yes |
When starting Livepeer Broadcaster, run the following command:
./livepeer \
-broadcaster \
-rtmpAddr 0.0.0.0:1935 \
-httpAddr 0.0.0.0:8935
This will allow content to be published and / or consumed remotely, by any host with network access to the hosted server.
publish | consume | |
---|---|---|
local | yes | yes |
remote | yes | yes |
Note: when publishing or consuming content from a remote host, the server's IP address must be used instead of 127.0.0.1
Note: you may need to open ports 1935
and 8935
in your server's firewall configuration in order to allow internet access.