mirror of
https://github.com/livekit/livekit.git
synced 2026-07-21 06:51:07 +00:00
fix recording URL requests
This commit is contained in:
@@ -66,9 +66,12 @@ func (s *RecordingService) StartRecording(ctx context.Context, req *livekit.Star
|
||||
Id: recordingID,
|
||||
Active: true,
|
||||
}
|
||||
if template := req.Input.(*livekit.StartRecordingRequest_Template); template != nil {
|
||||
|
||||
switch template := req.Input.(type) {
|
||||
case *livekit.StartRecordingRequest_Template:
|
||||
ri.RoomName = template.Template.RoomName
|
||||
}
|
||||
|
||||
logger.Debugw("recording started", "recordingID", recordingID)
|
||||
s.telemetry.RecordingStarted(ctx, ri)
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
// Code generated by Wire. DO NOT EDIT.
|
||||
|
||||
//go:generate go run github.com/google/wire/cmd/wire
|
||||
//go:build !wireinject
|
||||
// +build !wireinject
|
||||
//+build !wireinject
|
||||
|
||||
package service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user