0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

nil optoins

This commit is contained in:
Zack Scholl 2019-11-19 16:15:29 -08:00
parent 75688d897d
commit f345423e73

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