Skip to content

webrtcdatachannel: Bind to parent webrtcbin using a weak reference

Philippe Normand requested to merge philn/gstreamer:issue-4159 into main

The previous approach of using a simple pointer could lead to a use-after-free in case a data-channel was created and its parent webrtcbin was disposed soon after.

Fixes #2103 (closed)

Edited by Philippe Normand

Merge request reports