mirror of https://github.com/schollz/croc.git
log ice state
This commit is contained in:
parent
c405779a40
commit
336b78eeeb
|
@ -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…
Reference in New Issue