cunningham-lab / neurocaas_contrib

Repo to help develop on AMIs associated with NeuroCAAS
GNU General Public License v3.0
2 stars 4 forks source link

Bash scripts to use ncap-livestream #30

Open curibe opened 2 years ago

curibe commented 2 years ago

Bash script to run webrtc and rtsp in neurocaas pipeline

Bash scripts are created to run webrtc and rtsp on the ec2 server deployed by the neurocaas pipeline.

Test locally

The test is performed on a local machine, in order to validate the operation of each script:

This requires to have installed the repos containing the solution of webrtc and rtsp (in the rtmp-livestream branch).

The data used are:

Each of these configuration files are located in the repo of each solution.

WEBRTC

To test webrtc locally, we proceeded as follows:

RTSP

To test rtsp locally, we proceeded as follows:

To register the files, we proceed in the same way

neurocaas-contrib workflow register-dataset -l rtsp_input.zip
neurocaas-contrib workflow register-config -l config_rtsp.yml
neurocaas-contrib workflow register-resultpath -l s3/results

NOTE : The difference between the files run_*_cli.sh (committed) and run_*_local.sh (mentioned here) is the path indicated in the userhome variable