added streamtapeFunction.fn

This commit is contained in:
Tidoni 2021-08-08 19:09:34 +02:00
parent 5ad75bf9fa
commit 67f5512e15
2 changed files with 68 additions and 0 deletions

View file

@ -2,10 +2,19 @@
. ./vivoFunctions.fn
. ./voeFunctions.fn
. ./streamtapeFunctions.fn
vivo_url=$( upload_to_vivo "<api_key>" "./BigBuckBunny_512kb.mp4" )
voe_url=$( upload_to_voe "<api_key>" "./BigBuckBunny_512kb.mp4" )
streamtape_url=$( upload_to_streamtape "<api_key>" "<api_key2>" "./BigBuckBunny_512kb.mp4" )
echo -e "Vivo:\t$vivo_url\n"
echo -e "Voe:\t$voe_url\n"
echo -e "Streamtape:\t$streamtape_url\n"
vivo_check_if_file_is_alive $vivo_url
voe_check_if_file_is_alive "<api_key>" $voe_url
streamtape_check_if_file_is_alive $streamtape_url