diff --git a/src/croc/croc.go b/src/croc/croc.go index 5151ee75..c0364827 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -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