0
edits
Changes
→Приватный источник с двумя узлами поддержки
> /tmp/test-node.log 2>&1</tt>
====Private source with two support nodes====
Sometimes it may be necessary to prevent clients from direct access to broadcast source. For example, the source may be located on server in protected area without access from the outer world. In this case broadcast can be organized by the following scheme:
*the source is made private (only support nodes, specified explicitly, can receive data from it)
*support nodes receive data from the source and give to clients
*clients receive data from support nodes
To make the source private, option <tt>--private-source</tt> must be specified:
<tt>acestreamengine-stream \
--name "test" \
--title "ТестоваяTest трансляцияbroadcast" \
--source "<nowiki>http://192.168.1.100/stream</nowiki>" \
--bitrate 300000 \
> /tmp/test-source.log 2>&1</tt>
Notice that in this configuration tracker's address is changed to <tt>udp://192.168.1.2:2710/announce</tt>. It was made to support old versions of clients, which do not process a list of authorized peers (more details here [[#Authorized peers|Authorized peers]]).
<tt>acestreamengine-node \
--url "<nowiki>http://192.168.1.1/streams/test.acelive</nowiki>" \