mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 08:50:13 +02:00
ice server omitempty credentials.
This commit is contained in:
parent
2a0d9da5ac
commit
cd15e0b03e
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ import "github.com/pion/webrtc/v3"
|
|||
|
||||
type ICEServer struct {
|
||||
URLs []string `mapstructure:"urls" json:"urls"`
|
||||
Username string `mapstructure:"username" json:"username"`
|
||||
Credential string `mapstructure:"credential" json:"credential"`
|
||||
Username string `mapstructure:"username" json:"username,omitempty"`
|
||||
Credential string `mapstructure:"credential" json:"credential,omitempty"`
|
||||
}
|
||||
|
||||
type WebRTCPeer interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue