webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Failed to handle DCEP: invalid Message Type

Open dafapro opened this issue 3 years ago • 3 comments

Your environment.

  • Version: master--589d67e5abbb717be775d1709ebcdc8f93e646ad
  • Browser: chrome
  • Other Information - related issue: https://github.com/pion/datachannel/issues/125

What did you do?

create and close datachannels frequently, use those datachannels for short time communications.

What did you expect?

create data channel successfully

What happened?

datachannel ERROR: 2022/06/14 07:59:50 Failed to handle DCEP: invalid Message Type &{0 0 0 [103 97 116 101 119 97 121 45 105 79 83 45 49 54 53 53 49 57 51 53 56 57 46 54 54 54 52 51 54] []}

dafapro avatar Jun 14 '22 08:06 dafapro

After studying the code, I guess it is about missing implementation of reusing data channel.

dafapro avatar Jun 19 '22 03:06 dafapro

params := &webrtc.DataChannelParameters{
	ID: &a, // set id will make it working
}

shynome avatar Aug 08 '22 18:08 shynome

Any progress on this task?

KMACEL avatar Jul 20 '23 12:07 KMACEL