Difference between revisions of "Premium Broadcasts/en"

From Ace Stream Wiki
Jump to: navigation, search
(Идентификатор для статистики)
(Создание премиум-трансляции)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Создание премиум-трансляции==
+
==Creation of a premium broadcast==
Для создания премиум-трансляции необходимо при запуске источника трансляции указать параметр <tt>--premium</tt>.
+
To create a premium broadcast you have to specify parameter <tt>--premium</tt> when starting a source of the broadcast.
  
Для премиум-трансляций некоторые параметры команды <tt>acestreamengine --stream-source</tt> являются обязательными:
+
For premium broadcasts some parameters of a command <tt>acestreamengine --stream-source</tt> are mandatory:
* <tt>--provider-key</tt> - ключ контент-провайдера
+
* <tt>--provider-key</tt> - content provider key
* <tt>--sid</tt> - идентификатор трансляции для статистики
+
* <tt>--sid</tt> - broadcast for statistics ID
  
Также для премиум-трансляции необходимо указать, является ли она круглосуточной (параметр <tt>--permanent</tt>) либо указать дату и время начала и окончания для трансляций с ограниченным временем вещания (параметр <tt>--date-start</tt> и <tt>--date-end</tt>)
+
Also you have to specify for a premium broadcast whether it is 24-hour (parameter <tt>--permanent</tt>) or specify a date of start and end for the broadcast with limited broadcasting time (parameter <tt>--date-start</tt> and <tt>--date-end</tt>)
  
===Ключ контент-провайдера===
+
===Content provider key===
32-значный уникальный идентификатор организатора трансляций.
+
32-digit unique identifier for broadcasts' organizer.
  
 
===ID for statistics===
 
===ID for statistics===

Latest revision as of 17:09, 22 September 2014

Creation of a premium broadcast

To create a premium broadcast you have to specify parameter --premium when starting a source of the broadcast.

For premium broadcasts some parameters of a command acestreamengine --stream-source are mandatory:

  • --provider-key - content provider key
  • --sid - broadcast for statistics ID

Also you have to specify for a premium broadcast whether it is 24-hour (parameter --permanent) or specify a date of start and end for the broadcast with limited broadcasting time (parameter --date-start and --date-end)

Content provider key

32-digit unique identifier for broadcasts' organizer.

ID for statistics

Custom alphanumeric identifier of a broadcast, which is used exclusively for statistical purposes. Valid characters: numbers, letters, symbols "-" and "_".

Examples

Example of launching 24 hours premium broadcast:

acestreamengine \
    --stream-source \
    --name "test_premium" \
    --title "Test Premium" \
    --source "http://192.168.1.10/source" \
    --source-reconnect-interval 20 \
    --port 7767 \
    --bitrate 320000 \
    --publish-dir "/home/www/default/streams" \
    --cache "/home/streams" \
    --add-authorized-peers \
    --duration "00:10:00" \
    --premium \
    --provider-key "01234567890123456789012345678901" \
    --sid "test-premium" \
    --permanent