Closed karasusan closed 8 months ago
I have been using the latest version of the WebRTC Unity package on the Magic Leap 2 and still seem to be having this issue of the app crashing whenever I stop the video track. Do you have any ideas on what could still be causing this issue for me even after the fix?
This patch fixes the crash of
NativeToJavaVideoFrame
invideo_frame.cc
.The cause of this issue is VideoFrameBuffer::ToI420 method often returns nullptr. however,
NativeToJavaVideoFrame
doesn't check nullptr. Therefore it occrrs crashes by null pointer access.