Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlreadyRunning errors.Kind = iota + 5100 AlreadyEnded )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
func LoggingMiddleware ¶
func LoggingMiddleware(l log.Logger) Middleware
type Service ¶
type Service interface { Start(context.Context, StartRecordingRequest) StartRecordingResponse Stop(context.Context, StopRecordingRequest) StopRecordingResponse Check(context.Context) error MuteRecordingAudio(context.Context) error UnmuteRecordingAudio(context.Context) error }
func NewService ¶
func ValidationMiddleware ¶
type StartRecordingRequest ¶
type StartRecordingRequest struct { FFmpeg `json:"ffmpeg"` Chrome `json:"chrome"` Destination string `json:"destination"` DRMKeyPath string `json:"drmKeyPath"` URL string `json:"url"` }
StartRecordingRequest is the payload being received by recorder as part of start_recording
type StartRecordingResponse ¶
type StartRecordingResponse struct { StartTime time.Time `json:"start_time"` // contains filtered or unexported fields }
StartRecordingResponse defines response structure for the stop recording request
type StopRecordingRequest ¶
type StopRecordingRequest struct{}
type StopRecordingResponse ¶
type StopRecordingResponse struct { StopTime time.Time `json:"stop_time"` // contains filtered or unexported fields }
StopRecordingResponse is the response for the stop recording recording request
Click to show internal directories.
Click to hide internal directories.