nil optoins

This commit is contained in:
Zack Scholl 2019-11-19 16:15:29 -08:00
parent 75688d897d
commit f345423e73
1 changed files with 2 additions and 1 deletions

View File

@ -356,11 +356,12 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection
// MaxRetransmits: &maxRetransmits,
ID: &id,
}
_ = options
sendMoreCh := make(chan struct{})
// Create a datachannel with label 'data'
dc, err := pc.CreateDataChannel("data", options)
dc, err := pc.CreateDataChannel("data", nil)
if err != nil {
log.Error(err)
return