2023-07-26 21:15:39 +00:00
|
|
|
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
|
|
|
|
}
|
2023-07-26 21:15:39 +00:00
|
|
|
type ConfigModel struct {
|
2023-09-21 14:37:05 +00:00
|
|
|
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
|
2023-07-26 21:15:39 +00:00
|
|
|
}
|