Moved source files to seperate folder
This commit is contained in:
38
assets/sunshine.conf
Normal file
38
assets/sunshine.conf
Normal file
@@ -0,0 +1,38 @@
|
||||
# Pretty self-explanatory
|
||||
# If no external IP address is given, the local IP address is used
|
||||
# external_ip = 123.456.789.12
|
||||
|
||||
# The private key must be 2048 bits
|
||||
# pkey = /dir/pkey.pem
|
||||
|
||||
# The certificate must be signed with a 2048 bit key
|
||||
# cert = /dir/cert.pem
|
||||
|
||||
# Pretty self-explanatory
|
||||
unique_id = 03904e64-51da-4fb3-9afd-a9f7ff70fea4
|
||||
|
||||
# The file where info on paired devices is stored
|
||||
file_devices = devices.xml
|
||||
|
||||
# How long to wait in milliseconds for data from moonlight before shutting down the stream
|
||||
ping_timeout = 2000
|
||||
|
||||
###############################################
|
||||
# FFmpeg software encoding parameters
|
||||
# Honestly, I have no idea what the optimal values would be.
|
||||
# Play around with this :)
|
||||
max_b_frames = 16
|
||||
gop_size = 24
|
||||
|
||||
# Constant Rate Factor. Between 1 and 52.
|
||||
# Higher value means more compression, but less quality
|
||||
crf = 28
|
||||
|
||||
# Number of threads used by ffmpeg to encode the video
|
||||
# threads = 4
|
||||
|
||||
|
||||
# See x264 --fullhelp for the different presets
|
||||
# profile = baseline
|
||||
# preset = superfast
|
||||
# tune = zerolatency
|
||||
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=Remote desktop service (VNC)
|
||||
Description=Sunshine Gamestream Server for Moonlight
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/%u
|
||||
Environment="DISPLAY=:0"
|
||||
Type=simple
|
||||
# wait for Xorg started by ${USER}
|
||||
# wait for Xorg
|
||||
ExecStartPre=/bin/sh -c 'while ! pgrep Xorg; do sleep 2; done'
|
||||
ExecStart=/home/%u/Github/sunshine/cmake-build-release/sunshine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user