mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
don't set max
This commit is contained in:
parent
a21f783d8a
commit
e77c092e50
1 changed files with 5 additions and 5 deletions
|
@ -348,13 +348,13 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
ordered := true
|
// ordered := true
|
||||||
maxRetransmits := uint16(0)
|
// maxRetransmits := uint16(0)
|
||||||
var id uint16 = 5
|
var id uint16 = 5
|
||||||
options := &webrtc.DataChannelInit{
|
options := &webrtc.DataChannelInit{
|
||||||
Ordered: &ordered,
|
// Ordered: &ordered,
|
||||||
MaxRetransmits: &maxRetransmits,
|
// MaxRetransmits: &maxRetransmits,
|
||||||
ID: &id,
|
ID: &id,
|
||||||
}
|
}
|
||||||
|
|
||||||
sendMoreCh := make(chan struct{})
|
sendMoreCh := make(chan struct{})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue