Closed migueldevmt closed 2 years ago
have the same problem when I call CloseConnection .Close()
, and this happend occasionilly.
Same problem, any one can help?
This happens when you try to close a peer connection or a sender associated to a media track already closed.
I didn't found a real workaround, but made a PR which should hopefully be merged quickly.
New problem: "panic: close of nil channel"
Steps to reproduce:
PeerConnection.Close()
.pion/mediadevices: v0.3.11 Go: 1.17 OS: Windows11(64)
Please see the callstack:
Your environment.
Stacktrace:
What did you do?
I call a close function when the state changes to some imcompatible status:
and inside the CloseConnection i call peerConnection.Close()
What did you expect?
To close the connection and continue to run the program
What happened?
the process end with a panic message