mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
nil optoins
This commit is contained in:
parent
75688d897d
commit
f345423e73
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue