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,
|
Id: recordingID,
|
||||||
Active: true,
|
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
|
ri.RoomName = template.Template.RoomName
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Debugw("recording started", "recordingID", recordingID)
|
logger.Debugw("recording started", "recordingID", recordingID)
|
||||||
s.telemetry.RecordingStarted(ctx, ri)
|
s.telemetry.RecordingStarted(ctx, ri)
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
// Code generated by Wire. DO NOT EDIT.
|
// Code generated by Wire. DO NOT EDIT.
|
||||||
|
|
||||||
//go:generate go run github.com/google/wire/cmd/wire
|
//go:generate go run github.com/google/wire/cmd/wire
|
||||||
//go:build !wireinject
|
//+build !wireinject
|
||||||
// +build !wireinject
|
|
||||||
|
|
||||||
package service
|
package service
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user