recording

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReservationChannel = "RESERVE_RECORDER"

	// used by livekit-recorder
	ReservationTimeout = time.Second * 2
)

Variables

This section is empty.

Functions

func EndRecordingChannel

func EndRecordingChannel(id string) string

func ResponseChannel

func ResponseChannel(id string) string

func StartRecordingChannel

func StartRecordingChannel(id string) string

Types

type RoomRecorder

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

func NewRoomRecorder

func NewRoomRecorder(rc *redis.Client) *RoomRecorder

func (*RoomRecorder) EndRecording

func (s *RoomRecorder) EndRecording(ctx context.Context, recordingID string) error

func (*RoomRecorder) ReserveRecorder

func (s *RoomRecorder) ReserveRecorder(ctx context.Context, req *livekit.RecordRoomRequest) (string, error)

func (*RoomRecorder) StartRecording

func (s *RoomRecorder) StartRecording(ctx context.Context, recordingID string) error

Jump to

Keyboard shortcuts

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