maxs15 / maxs15/react-native-screcorder

onNewSegment() callback not happening

Open
#35 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
232
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Using React Native v0.27 and the latest version of react-native-screcorder
I'm able to take a still picture with capture.
However, when taking video, I do record, pause and then I don't get a callback onNewSegment.
I tried doing a save after the pause and I get a temp mp4 file but it's of 0 duration and not playable by react-native-video.

Has anyone seen this issue?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the record, pause, and save flow described in the issue, focusing on the onNewSegment callback and the temporary MP4 output. Done means the callback occurs after pausing and the saved video has a nonzero duration and is playable by react-native-video.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.