Documentation
¶
Index ¶
- Constants
- func GetLogger() *logrus.Logger
- func SetAppConfig(a *AppConfig)
- type AnalyticsSettings
- type AppConfig
- func (a *AppConfig) AddChatUser(roomId string, participant ChatParticipant)
- func (a *AppConfig) DeleteChatRoom(roomId string)
- func (a *AppConfig) FormatDBTable(table string) string
- func (a *AppConfig) GetChatParticipants(roomId string) map[string]ChatParticipant
- func (a *AppConfig) RemoveChatParticipant(roomId, userId string)
- type AzureCognitiveServicesSpeech
- type AzureSubscriptionKey
- type ChatParticipant
- type ClientInfo
- type ErrorResponse
- type EtherpadInfo
- type LivekitInfo
- type LogSettings
- type PrometheusConf
- type RecorderInfo
- type SharedNotePad
- type UploadFileSettings
- type WebhookConf
Constants ¶
View Source
const ( RecorderBot = "RECORDER_BOT" RtmpBot = "RTMP_BOT" MaxPreloadedWhiteboardFileSize int64 = 5 * 1000000 // limit to 5MB // all the time.Sleep() values WaitBeforeTriggerOnAfterRoomEnded = 5 * time.Second WaitBeforeSpeechServicesOnAfterRoomEnded = 3 * time.Second WaitBeforeBreakoutRoomOnAfterRoomStart = 2 * time.Second WaitBeforeAnalyticsStartProcessing = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func SetAppConfig ¶
func SetAppConfig(a *AppConfig)
Types ¶
type AnalyticsSettings ¶ added in v1.5.0
type AppConfig ¶
type AppConfig struct { DB *sql.DB RDS *redis.Client sync.RWMutex ClientFiles map[string][]string Client ClientInfo `yaml:"client"` RoomDefaultSettings *utils.RoomDefaultSettings `yaml:"room_default_settings"` LogSettings LogSettings `yaml:"log_settings"` LivekitInfo LivekitInfo `yaml:"livekit_info"` RedisInfo *factory.RedisInfo `yaml:"redis_info"` MySqlInfo *factory.MySqlInfo `yaml:"mysql_info"` UploadFileSettings UploadFileSettings `yaml:"upload_file_settings"` RecorderInfo RecorderInfo `yaml:"recorder_info"` AzureCognitiveServicesSpeech AzureCognitiveServicesSpeech `yaml:"azure_cognitive_services_speech"` AnalyticsSettings *AnalyticsSettings `yaml:"analytics_settings"` // contains filtered or unexported fields }
var AppCnf *AppConfig
func (*AppConfig) AddChatUser ¶
func (a *AppConfig) AddChatUser(roomId string, participant ChatParticipant)
func (*AppConfig) DeleteChatRoom ¶
func (*AppConfig) FormatDBTable ¶
func (*AppConfig) GetChatParticipants ¶
func (a *AppConfig) GetChatParticipants(roomId string) map[string]ChatParticipant
func (*AppConfig) RemoveChatParticipant ¶
type AzureCognitiveServicesSpeech ¶ added in v1.4.0
type AzureCognitiveServicesSpeech struct { Enabled bool `yaml:"enabled"` SubscriptionKeys []AzureSubscriptionKey `yaml:"subscription_keys"` }
type AzureSubscriptionKey ¶ added in v1.4.0
type ChatParticipant ¶
type ClientInfo ¶
type ClientInfo struct { Port int `yaml:"port"` Debug bool `yaml:"debug"` Path string `yaml:"path"` ApiKey string `yaml:"api_key"` Secret string `yaml:"secret"` WebhookConf WebhookConf `yaml:"webhook_conf"` PrometheusConf PrometheusConf `yaml:"prometheus"` ProxyHeader string `yaml:"proxy_header"` CopyrightConf *plugnmeet.CopyrightConf `yaml:"copyright_conf"` }
type ErrorResponse ¶
type EtherpadInfo ¶
type LivekitInfo ¶
type LogSettings ¶
type PrometheusConf ¶
type RecorderInfo ¶
type SharedNotePad ¶
type SharedNotePad struct {}
type UploadFileSettings ¶
type WebhookConf ¶
Click to show internal directories.
Click to hide internal directories.