You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 21
Next »
Основные настройки сервера
Серым цветом выделены устаревшие либо недействительные настройки, которые использовались в предыдущих версиях. Эти настройки, вероятнее всего, будут удалены в следующих обновлениях WCS.
Опция | Значение по умолчанию | Тип | Требуется перезапуск | Описание |
aac_bitrate | 128000 | Integer | false | This option points to shell script located in /usr/local/FlashphonerWebCallServer/bin directory, which is started when stream is unpublished, if a recording of the stream has been created. Two parameters will be passed to the script: $1 - the stream name $2 - absolute name of the file with recording of audio and video of the stream This script can be used to copy or move a stream record from /usr/local/FlashphonerWebCallServer/records directory to another location as soon as the recording is completed. By default, the script does not contain such commands and should be edited as required. Example: STREAM_NAME=$1 SRC_FILE=$2 SRC_DIR=/usr/local/FlashphonerWebCallServer/records/ REPLACE_STR=/var/www/html/stream_records/$STREAM_NAME- DST_FILE=${SRC_FILE/$SRC_DIR/$REPLACE_STR} cp $SRC_FILE $DST_FILE Make sure the script works correctly: start it manually, e.g. ./on_record_hook.sh streamName /usr/local/FlashphonerWebCallServer/records/stream-a58aea39-6333-4cb2-8jtn93gtmgr6mrq0nilk6l958j.mp4 |