$ ll /opt/scripts/
drwxr-xr-x 2 root root 4096 Jan 3 09:50 ./
drwxr-xr-x 3 root root 4096 Jan 3 09:04 ../
-rwxr-xr-x 1 root root 148 Jan 3 09:50 vodUploadFinishScript.sh*
I'm sending a simple RTMP stream to the LiveApp. When I stop the publisher; the specified script never gets called. I don't see "running muxer finish script" anywhere in the logs. Everything else seems to work fine and there are no errors or warnings.
Question
Karel
In the red5-web.properties file of the LiveApp, I have this line
settings.mp4MuxingEnabled = true settings.s3RecordingEnabled = true settings.s3AccessKey = **** (omitted for security reasons) settings.s3SecretKey = **** (omitted for security reasons) settings.s3BucketName = my-bucket-name settings.s3RegionName = us-east-1 settings.s3StreamsFolderPath = /recordings settings.s3Permission = public-read settings.s3StorageClass = STANDARD settings.vodUploadFinishScript = /opt/scripts/vodUploadFinishScript.sh settings.uploadExtensionsToS3 = 5
The script file itself has the right attributes
$ ll /opt/scripts/ drwxr-xr-x 2 root root 4096 Jan 3 09:50 ./ drwxr-xr-x 3 root root 4096 Jan 3 09:04 ../ -rwxr-xr-x 1 root root 148 Jan 3 09:50 vodUploadFinishScript.sh*
I'm sending a simple RTMP stream to the LiveApp. When I stop the publisher; the specified script never gets called. I don't see "running muxer finish script" anywhere in the logs. Everything else seems to work fine and there are no errors or warnings.
ant-media-server.log
Link to comment
Share on other sites
Top Posters For This Question
3
3
Popular Days
Jan 5
4
Jan 3
1
Jan 4
1
Top Posters For This Question
Yash 3 posts
Karel 3 posts
Popular Days
Jan 5 2023
4 posts
Jan 3 2023
1 post
Jan 4 2023
1 post
Popular Posts
Yash
Hi @Karel Actually, the user-defined script is designed to perform operations on the server rather than the S3 bucket after the recording uploads to the bucket. You have already found a good solutio
Yash
Hi @Karel I hope you are doing well. As I see, you're using the voduploadfinish script, which is called after any VOD file is uploaded to the server. If you want to do something after the recordin
Karel
@Yash unfortunately that didn't work either. It looks like there's no guarantee that this script is called after the upload to S3 is complete. I've now solved it by adding a trigger on the S3 bucket a
5 answers to this question
Recommended Posts