mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
87636a4183
* Add s3 serving endpoint config. Fixes #90 * Move CDN endpoint generation to GenerateRemotePlaylist * Include HLS path * Add docs and config * Prefer sprintf to string concatenation * Use config method * gofmt
77 lines
3.1 KiB
YAML
77 lines
3.1 KiB
YAML
publicHLSPath: webroot/hls
|
|
privateHLSPath: hls
|
|
ffmpegPath: /usr/local/bin/ffmpeg
|
|
webServerPort: 8080
|
|
|
|
instanceDetails:
|
|
name: Owncast
|
|
title: Owncast Demo Server
|
|
logo:
|
|
small: /img/logo128.png
|
|
large: /img/logo128.png
|
|
|
|
summary: "This is brief summary of whom you are or what your stream is. demo server for Owncast. You can read more about it at owncast.online. You can edit this description in your web config file.\n\nBlathers is an owl with brown feathers. His face is white and he has a yellow beak. His arms are wing shaped and he has yellow talons. His eyes are very big with small black irises. He also has big pink cheek circles on his cheeks. His belly appears to be checkered in diamonds with light brown and white squares, similar to an argyle vest, which is traditionally associated with academia. His green bowtie further alludes to his academic nature."
|
|
# This is relative to the webroot, not the project root. This is a markdown file that displays
|
|
# extra content on below your video. Put whatever you want in here.
|
|
extraUserInfoFileName: "/static/content.md"
|
|
|
|
tags:
|
|
- music
|
|
- software
|
|
- animal crossing
|
|
|
|
# https://github.com/gabek/owncast/blob/master/doc/configuration.md#external-links
|
|
# for full list of supported social links. All optional.
|
|
socialHandles:
|
|
- platform: github
|
|
url: https://github.com/gabek/owncast
|
|
- platform: instagram
|
|
url: http://instagram.biz/owncast
|
|
- platform: facebook
|
|
url: http://facebook.gov/owncast
|
|
- platform: tiktok
|
|
url: http://tiktok.cn/owncast
|
|
- platform: soundcloud
|
|
url: http://soundcloud.com/owncast
|
|
|
|
videoSettings:
|
|
# The length of a single segment of video.
|
|
chunkLengthInSeconds: 4
|
|
# Change this value and keep it secure. Treat it like a password to your live stream.
|
|
streamingKey: abc123
|
|
# The "Stream is offline" content displayed when a stream ends.
|
|
offlineContent: static/offline.m4v
|
|
|
|
# Determine the bitrate of your stream variants.
|
|
# See https://github.com/gabek/owncast/blob/master/doc/configuration.md#video-quality for details.
|
|
streamQualities:
|
|
- low:
|
|
# Higher the bitrate, the better it looks, but it requires more bandwidth to consume.
|
|
videoBitrate: 400
|
|
# Resize the width to something smaller. scaledHeight is also an option. Don't use both at once
|
|
# unless you want to chang the aspect ratio of your video.
|
|
scaledWidth: 600
|
|
# Don't re-encode the audio.
|
|
audioPassthrough: true
|
|
# The slower the preset the higher quality the video is.
|
|
# Select a preset from https://trac.ffmpeg.org/wiki/Encode/H.264
|
|
# "superfast" and "ultrafast" are generally not recommended since they look bad.
|
|
encoderPreset: veryfast
|
|
|
|
- medium:
|
|
videoBitrate: 800
|
|
encoderPreset: fast
|
|
|
|
# Number of segments kept referenced in the HLS playlist
|
|
files:
|
|
maxNumberInPlaylist: 4
|
|
|
|
# Read https://github.com/gabek/owncast/blob/master/doc/S3.md for S3 config details.
|
|
s3:
|
|
enabled: false
|
|
endpoint: https://s3.us-west-2.amazonaws.com
|
|
servingEndpoint: https://yourcdn.example
|
|
accessKey: ABC12342069
|
|
secret: lolomgqwtf49583949
|
|
region: us-west-2
|
|
bucket: myvideo
|