media icon indicating copy to clipboard operation
media copied to clipboard

GStreamerWebRtcDataChannel::new panics in various cases

Open jdm opened this issue 5 years ago • 1 comments

The expect in GStreamerWebRtcDataChannel::new causes panics if:

  • the associated webrtc element is closed
  • both DataChannelInit::max_packet_lifetime and DatachannelInit::max_retransmits are present
  • DataChannelInit::negotiated is true and DataChannelInit::id is not present
  • DataChannelInit::id is present and isn't valid

jdm avatar Jun 20 '20 17:06 jdm

Another example of a panic, stemming from a gstreamer that isn't prepared to create webrtcbin elements: https://github.com/servo/servo/issues/28357

jdm avatar Apr 20 '21 15:04 jdm