Skip to content

webrtcstats: Fix null pointer dereference

Philippe Normand requested to merge philn/gstreamer:rtc-null-jb-stats into main

If there is no jitterbuffer stats we should not attempt to store them in the global stats structure.

Also add a g_return_if_fail in _gst_structure_take_structure() about this because it is a programmer error to pass an invalid pointer address there.

Merge request reports