Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ICEFilename string
View Source
var ICERelayOnly bool
Functions ¶
func ClientICEConfiguration ¶ added in v0.4.0
func ClientICEConfiguration() *webrtc.Configuration
ClientICEConfiguration returns the configuration to hand to clients. It differs from ICEConfiguration by the servers marked clientsOnly. (Sozvon)
func ICEConfiguration ¶
func ICEConfiguration() *webrtc.Configuration
ICEConfiguration returns the configuration for the server's own side of a connection.
Types ¶
type Server ¶
type Server struct {
URLs []string `json:"urls"`
Username string `json:"username,omitempty"`
Credential interface{} `json:"credential,omitempty"`
CredentialType string `json:"credentialType,omitempty"`
// ClientsOnly offers the server to clients without using it for the
// server's own side of a connection. A relay may be reachable from
// clients over a transport that is bad from where the SFU runs -- UDP
// from a foreign address into a Russian network is throttled, while
// the same UDP from clients inside it is fine. (Sozvon)
ClientsOnly bool `json:"clientsOnly,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.