rest

package
v0.0.0-...-3f73818 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyFields = errors.New("one or more fields is empty")

Functions

This section is empty.

Types

type LiveKitCredentials

type LiveKitCredentials struct {
	BaseURL   string
	APIKey    string
	APISecret string
}

type RecordingController

type RecordingController struct {
	recording.Service
	// contains filtered or unexported fields
}

func NewRecordingController

func NewRecordingController(creds LiveKitCredentials, service recording.Service) RecordingController

func (*RecordingController) ReceiveWebhooks

func (rc *RecordingController) ReceiveWebhooks(c echo.Context) error

func (*RecordingController) StartRecording

func (rc *RecordingController) StartRecording(c echo.Context) error

func (*RecordingController) StopRecording

func (rc *RecordingController) StopRecording(c echo.Context) error

type StartRecordingRequest

type StartRecordingRequest struct {
	Room        string `json:"room"`
	Participant string `json:"participant"`
}

type StopRecordingRequest

type StopRecordingRequest struct {
	Room        string `json:"room"`
	Participant string `json:"participant"`
}

Jump to

Keyboard shortcuts

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