gocast icon indicating copy to clipboard operation
gocast copied to clipboard

feat(runner/cleanup): start cleanup and vod sanity check action

Open joschahenningsen opened this issue 10 months ago • 1 comments

Motivation and Context

Description

Steps for Testing

Prerequisites:

  • 1 Lecturer
  • 2 Students
  • 1 Livestream
  1. Log in
  2. Navigate to a Livestream
  3. ...

Screenshots

joschahenningsen avatar Mar 03 '25 13:03 joschahenningsen

after testing with grpcurl, it turns out that when the a job is created, the actions in the struct are not assigned to it, leaving to a access to nil error. I want to make sure if I am doing it right so:

grpcurl -plaintext -use-reflection -d '{"stream_id":1, "version": "STREAM_VERSION_COMBINED", "end": "2025-03-11T16:00:00Z", "ffmpeg_global_options": "-rtsp_transport tcp", "ffmpeg_output_options": "-c:a copy -c:v copy", "input": "rtsp://172.24.17.21/extron2"}' localhost:52735 protobuf.RunnerService/RequestStream

my guess is that in the RunAction function the jobContext struct has no actions map initiated, leaving to a nil map.

DawinYurtseven avatar Mar 11 '25 13:03 DawinYurtseven