goldgorilla/models/config.go

16 lines
474 B
Go
Raw Normal View History

package models
2023-08-24 13:40:18 +00:00
import "github.com/pion/webrtc/v3"
2023-11-02 11:42:30 +00:00
type RejoinMode struct {
SimplyJoin bool
RoomId string
}
type ConfigModel struct {
LogjamBaseUrl string `json:"logjamBaseUrl"`
ICETCPMUXListenPort uint `json:"ice_tcpmux_listenPort"`
CustomICEHostCandidateIP string `json:"customICEHostCandidateIP"`
ICEServers []webrtc.ICEServer `json:"iceServers"`
2023-11-02 11:42:30 +00:00
StartRejoinCH *chan RejoinMode
}