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…
Reference in a new issue