Skip to content

Commit

Permalink
Changing file name of default config.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
slashblog committed Aug 9, 2024
1 parent fcf6e4b commit fd0ec67
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ go.work.sum

bin/**
build/**
config/config.yaml


2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ debian: build
build/debian/gowebrtc/etc/gowebrtc/ \
build/debian/gowebrtc/lib/systemd/system \
build/debian/gowebrtc/usr/share/gowebrtc
cp -v config/config.yaml.sample build/debian/gowebrtc/etc/gowebrtc
cp -v config/config.yaml build/debian/gowebrtc/etc/gowebrtc
cp -v bin/gowebrtc build/debian/gowebrtc/usr/local/bin
cp -v gowebrtc.service build/debian/gowebrtc/lib/systemd/system
cp -av html build/debian/gowebrtc/usr/share/gowebrtc
Expand Down
22 changes: 22 additions & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
port: 8082
url: /ws
image_width: 640
image_height: 480
framerate: 30
log_file: /var/log/gowebrtc.log
audio_device: alsasrc device=plughw:CARD=I930,DEV=0
video_device: autovideosrc
signalling: websocket
signalling_credentials:
- user: username
password: password
disconnect_on_reconnect: true
use_internal_turn: true
turn_configuration:
public_ip: 1.2.3.4
port: 8084
threads: 4
users:
- user: username
password: password

8 changes: 0 additions & 8 deletions config/config.yaml.sample

This file was deleted.

0 comments on commit fd0ec67

Please sign in to comment.