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 ResponseChannel ¶
func StartRecordingChannel ¶
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
Click to show internal directories.
Click to hide internal directories.