Make stream keys objects with comment instead of string slice

This commit is contained in:
Gabe Kangas
2022-11-23 16:39:55 -08:00
parent c9e3ccad45
commit c4dc802941
8 changed files with 46 additions and 19 deletions

View File

@ -100,7 +100,7 @@ type serverConfigAdminResponse struct {
InstanceDetails webConfigResponse `json:"instanceDetails"`
FFmpegPath string `json:"ffmpegPath"`
AdminPassword string `json:"adminPassword"`
StreamKeys []string `json:"streamKeys"`
StreamKeys []models.StreamKey `json:"streamKeys"`
WebServerPort int `json:"webServerPort"`
WebServerIP string `json:"webServerIP"`
RTMPServerPort int `json:"rtmpServerPort"`