Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recording pause functions #1163

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

billyct
Copy link

@billyct billyct commented Aug 22, 2022

Description

Add recording pause functions

// check the recording can pause or not
osn.NodeObs.OBS_service_canPauseRecording(): boolean

// pause or resume the recording, the result shows the success of the pause recording
osn.NodeObs.OBS_service_pauseRecording(shouldPause: boolean): boolean

// check the recording is paused or not
osn.NodeObs.OBS_service_isPausedRecording(): boolean

Motivation and Context

#904

How Has This Been Tested?

it's tested with the test_nodeobs_service.ts file

macOS with Apple Silicon hardware, using the npm_config_arch=x64 config

Types of changes

New feature

Checklist:

  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@CLAassistant
Copy link

CLAassistant commented Aug 22, 2022

CLA assistant check
All committers have signed the CLA.

@billyct billyct force-pushed the add-recording-pause-functions branch from e8c8339 to c589930 Compare August 22, 2022 14:59
@billyct billyct marked this pull request as ready for review August 22, 2022 15:01
@EddyGharbi
Copy link
Contributor

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants