gocast
gocast copied to clipboard
feat(runner/cleanup): start cleanup and vod sanity check action
Motivation and Context
Description
Steps for Testing
Prerequisites:
- 1 Lecturer
- 2 Students
- 1 Livestream
- Log in
- Navigate to a Livestream
- ...
Screenshots
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.