record

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a client for 'record' requests.

func NewClient added in v1.0.0

func NewClient(c *api.Client) *Client

NewRecord returns a new 'record' client.

func (*Client) GetRecordStatus

func (c *Client) GetRecordStatus(paramss ...*GetRecordStatusParams) (*GetRecordStatusResponse, error)

Gets the status of the record output.

func (*Client) PauseRecord

func (c *Client) PauseRecord(paramss ...*PauseRecordParams) (*PauseRecordResponse, error)

Pauses the record output.

func (*Client) ResumeRecord

func (c *Client) ResumeRecord(paramss ...*ResumeRecordParams) (*ResumeRecordResponse, error)

Resumes the record output.

func (*Client) StartRecord

func (c *Client) StartRecord(paramss ...*StartRecordParams) (*StartRecordResponse, error)

Starts the record output.

func (*Client) StopRecord

func (c *Client) StopRecord(paramss ...*StopRecordParams) (*StopRecordResponse, error)

Stops the record output.

func (*Client) ToggleRecord

func (c *Client) ToggleRecord(paramss ...*ToggleRecordParams) (*ToggleRecordResponse, error)

Toggles the status of the record output.

func (*Client) ToggleRecordPause

func (c *Client) ToggleRecordPause(paramss ...*ToggleRecordPauseParams) (*ToggleRecordPauseResponse, error)

Toggles pause on the record output.

type GetRecordStatusParams

type GetRecordStatusParams struct{}

Represents the request body for the GetRecordStatus request.

func (*GetRecordStatusParams) GetRequestName

func (o *GetRecordStatusParams) GetRequestName() string

Returns the associated request.

type GetRecordStatusResponse

type GetRecordStatusResponse struct {

	// Whether the output is active
	OutputActive bool `json:"outputActive,omitempty"`

	// Number of bytes sent by the output
	OutputBytes float64 `json:"outputBytes,omitempty"`

	// Current duration in milliseconds for the output
	OutputDuration float64 `json:"outputDuration,omitempty"`

	// Whether the output is paused
	OutputPaused bool `json:"outputPaused,omitempty"`

	// Current formatted timecode string for the output
	OutputTimecode string `json:"outputTimecode,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetRecordStatus request.

type PauseRecordParams

type PauseRecordParams struct{}

Represents the request body for the PauseRecord request.

func (*PauseRecordParams) GetRequestName

func (o *PauseRecordParams) GetRequestName() string

Returns the associated request.

type PauseRecordResponse

type PauseRecordResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the PauseRecord request.

type ResumeRecordParams

type ResumeRecordParams struct{}

Represents the request body for the ResumeRecord request.

func (*ResumeRecordParams) GetRequestName

func (o *ResumeRecordParams) GetRequestName() string

Returns the associated request.

type ResumeRecordResponse

type ResumeRecordResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the ResumeRecord request.

type StartRecordParams

type StartRecordParams struct{}

Represents the request body for the StartRecord request.

func (*StartRecordParams) GetRequestName

func (o *StartRecordParams) GetRequestName() string

Returns the associated request.

type StartRecordResponse

type StartRecordResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the StartRecord request.

type StopRecordParams

type StopRecordParams struct{}

Represents the request body for the StopRecord request.

func (*StopRecordParams) GetRequestName

func (o *StopRecordParams) GetRequestName() string

Returns the associated request.

type StopRecordResponse

type StopRecordResponse struct {

	// File name for the saved recording
	OutputPath string `json:"outputPath,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the StopRecord request.

type ToggleRecordParams

type ToggleRecordParams struct{}

Represents the request body for the ToggleRecord request.

func (*ToggleRecordParams) GetRequestName

func (o *ToggleRecordParams) GetRequestName() string

Returns the associated request.

type ToggleRecordPauseParams

type ToggleRecordPauseParams struct{}

Represents the request body for the ToggleRecordPause request.

func (*ToggleRecordPauseParams) GetRequestName

func (o *ToggleRecordPauseParams) GetRequestName() string

Returns the associated request.

type ToggleRecordPauseResponse

type ToggleRecordPauseResponse struct {
	OutputPaused bool `json:"outputPaused,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the ToggleRecordPause request.

type ToggleRecordResponse

type ToggleRecordResponse struct {

	// The new active state of the output
	OutputActive bool `json:"outputActive,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the ToggleRecord request.

Jump to

Keyboard shortcuts

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