Aggiunge modulo Replay, Garage dev e YouTube a livello società.
Pipeline registrazione/upload con storage S3, archivio web e app, proxy replay per il browser, OAuth YouTube sulla pagina club (Premium Full) e footer legale. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
14
backend/app/jobs/recordings/upload_job.rb
Normal file
14
backend/app/jobs/recordings/upload_job.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
module Recordings
|
||||
class UploadJob
|
||||
include Sidekiq::Job
|
||||
sidekiq_options retry: 3, queue: "default"
|
||||
|
||||
def perform(session_id)
|
||||
session = StreamSession.find_by(id: session_id)
|
||||
return unless session
|
||||
|
||||
Recordings::UploadFromSession.new(session).call
|
||||
Recordings::PurgeExpiredJob.perform_async
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user