Skip to content

Commit

Permalink
fix(android): fix video view argument
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun committed Mar 11, 2024
1 parent 99754dc commit 9e30893
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void capture(int reactTag, Promise promise) {
try {
ReactExoplayerView videoView = (ReactExoplayerView) view;
ExoPlayerView exoPlayerView = videoView.getExoPlayerView();
CaptureUtil.capture(context, exoPlayerView);
CaptureUtil.capture(context, exoPlayerView.getVideoSurfaceView());
promise.resolve(null);
} catch (Exception e) {
promise.reject("CAPTURE_ERROR", e);
Expand Down

0 comments on commit 9e30893

Please sign in to comment.