obs

package
v0.0.0-...-8784f18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckObsIsRunning

func CheckObsIsRunning() (bool, error)

CheckObsIsRunning - Returns true if OBS is currently running

func CheckObsWebsocket

func CheckObsWebsocket(client obsws.Client) (bool, error)

CheckObsWebsocket - Check if OBS is running with websockets, returns true if connected

func InitiateObsRecorder

func InitiateObsRecorder(prof profile.Profile) (obsws.Client, error)

InitiateObsRecorder - Run Obs with a specific profile

func RecordHTML

func RecordHTML(client obsws.Client, url string, seconds int, prof profile.Profile) (string, error)

RecordHTML - Record html to video for x seconds

func RunObs

func RunObs() error

RunObs - Runs a new instance of OBS

func SetObsProfile

func SetObsProfile(client obsws.Client, profileName string) error

SetObsProfile - Set the obs profile

func TerminateObs

func TerminateObs() error

TerminateObs - Closes any OBS instances currently running

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL