mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
log ice state
This commit is contained in:
parent
c405779a40
commit
336b78eeeb
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection
|
||||||
var readyToEnd = false
|
var readyToEnd = false
|
||||||
|
|
||||||
dc.OnOpen(func() {
|
dc.OnOpen(func() {
|
||||||
|
log.Debug("data channel is open")
|
||||||
if c.Options.IsSender {
|
if c.Options.IsSender {
|
||||||
log.Debug("sending file")
|
log.Debug("sending file")
|
||||||
pos := uint64(0)
|
pos := uint64(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue