* Add support for established user mode. #1587 * Tweak tests * Tweak tests * Update test * Fix test.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package config
|
||||
|
||||
import "github.com/owncast/owncast/models"
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/owncast/owncast/models"
|
||||
)
|
||||
|
||||
// Defaults will hold default configuration values.
|
||||
type Defaults struct {
|
||||
@@ -27,6 +31,8 @@ type Defaults struct {
|
||||
|
||||
FederationUsername string
|
||||
FederationGoLiveMessage string
|
||||
|
||||
ChatEstablishedUserModeTimeDuration time.Duration
|
||||
}
|
||||
|
||||
// GetDefaults will return default configuration values.
|
||||
@@ -54,6 +60,8 @@ func GetDefaults() Defaults {
|
||||
RTMPServerPort: 1935,
|
||||
StreamKey: "abc123",
|
||||
|
||||
ChatEstablishedUserModeTimeDuration: time.Minute * 15,
|
||||
|
||||
StreamVariants: []models.StreamOutputVariant{
|
||||
{
|
||||
IsAudioPassthrough: true,
|
||||
|
||||
Reference in New Issue
Block a user