We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b294481 commit 65c58c3Copy full SHA for 65c58c3
peer/conn.go
@@ -220,6 +220,10 @@ func (c *Conn) init() error {
220
c.opts.Logger.Debug(context.Background(), "signaling state updated",
221
slog.F("state", signalState))
222
})
223
+ c.rtc.SCTP().Transport().OnStateChange(func(dtlsTransportState webrtc.DTLSTransportState) {
224
+ c.opts.Logger.Debug(context.Background(), "dtls transport state updated",
225
+ slog.F("state", dtlsTransportState))
226
+ })
227
c.rtc.OnICECandidate(func(iceCandidate *webrtc.ICECandidate) {
228
if iceCandidate == nil {
229
return
0 commit comments