mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
ice server omitempty credentials.
This commit is contained in:
parent
2a0d9da5ac
commit
cd15e0b03e
@ -4,8 +4,8 @@ import "github.com/pion/webrtc/v3"
|
|||||||
|
|
||||||
type ICEServer struct {
|
type ICEServer struct {
|
||||||
URLs []string `mapstructure:"urls" json:"urls"`
|
URLs []string `mapstructure:"urls" json:"urls"`
|
||||||
Username string `mapstructure:"username" json:"username"`
|
Username string `mapstructure:"username" json:"username,omitempty"`
|
||||||
Credential string `mapstructure:"credential" json:"credential"`
|
Credential string `mapstructure:"credential" json:"credential,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WebRTCPeer interface {
|
type WebRTCPeer interface {
|
||||||
|
Loading…
Reference in New Issue
Block a user