mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-06 10:20:26 +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 {
|
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…
Add table
Add a link
Reference in a new issue