Skip to content

Commit

Permalink
nptr trial
Browse files Browse the repository at this point in the history
  • Loading branch information
lastpeony committed Sep 4, 2024
1 parent d0a47a9 commit 098d77c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public class CustomVideoCapturer implements VideoCapturer {


public void writeFrame(VideoFrame videoFrame) {
if(capturerObserver == null){
return;
}
capturerObserver.onFrameCaptured(videoFrame);
videoFrame.release();
}
Expand Down

0 comments on commit 098d77c

Please sign in to comment.