chore(config): rename streamKey field

This commit is contained in:
Rob Watson 2025-04-15 04:54:29 +02:00
parent 55e04e0249
commit 52b0616d5f
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ logfile:
sources: sources:
rtmp: rtmp:
enabled: true # must be true enabled: true # must be true
streamkey: live # defaults to "live" streamKey: live # defaults to "live"
destinations: destinations:
- name: YouTube # Destination name, used only for display - name: YouTube # Destination name, used only for display
url: rtmp://rtmp.youtube.com/12345 # Destination URL with stream key url: rtmp://rtmp.youtube.com/12345 # Destination URL with stream key

View File

@ -25,7 +25,7 @@ func (l LogFile) GetPath() string {
// RTMPSource holds the configuration for the RTMP source. // RTMPSource holds the configuration for the RTMP source.
type RTMPSource struct { type RTMPSource struct {
Enabled bool `yaml:"enabled"` Enabled bool `yaml:"enabled"`
StreamKey string `yaml:"streamkey,omitempty"` StreamKey string `yaml:"streamKey,omitempty"`
} }
// Sources holds the configuration for the sources. // Sources holds the configuration for the sources.

View File

@ -5,7 +5,7 @@ logfile:
sources: sources:
rtmp: rtmp:
enabled: true enabled: true
streamkey: s3cr3t streamKey: s3cr3t
destinations: destinations:
- name: my stream - name: my stream
url: rtmp://rtmp.example.com:1935/live url: rtmp://rtmp.example.com:1935/live