Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
1ea72949
Commit
1ea72949
authored
7 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Updated Wowza (refs
#22212
).
parent
288edc21
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
2.Common_services/4.Wowza/0_setup.py
+2
-1
2 additions, 1 deletion
2.Common_services/4.Wowza/0_setup.py
with
2 additions
and
1 deletion
2.Common_services/4.Wowza/0_setup.py
+
2
−
1
View file @
1ea72949
...
@@ -12,7 +12,7 @@ def setup(interactive=True):
...
@@ -12,7 +12,7 @@ def setup(interactive=True):
if
not
license
:
if
not
license
:
utils
.
log
(
'
No Wowza license set, skipping Wowza installation.
'
)
utils
.
log
(
'
No Wowza license set, skipping Wowza installation.
'
)
return
return
wowza_setup_name
=
'
WowzaStreamingEngine-4.
5.0
-linux-x64-installer.deb
'
wowza_setup_name
=
'
WowzaStreamingEngine-4.
7.1
-linux-x64-installer.deb
'
utils
.
log
(
'
It may take a while to download the Wowza installer from the UbiCast server.
'
)
utils
.
log
(
'
It may take a while to download the Wowza installer from the UbiCast server.
'
)
if
utils
.
check_cmd
(
'
lsb_release -a | grep 14
'
)
==
0
:
if
utils
.
check_cmd
(
'
lsb_release -a | grep 14
'
)
==
0
:
jre_package
=
'
openjdk-7-jre-headless
'
# 14.04
jre_package
=
'
openjdk-7-jre-headless
'
# 14.04
...
@@ -21,6 +21,7 @@ def setup(interactive=True):
...
@@ -21,6 +21,7 @@ def setup(interactive=True):
cmds
=
[
cmds
=
[
'
apt-get install -y %s
'
%
jre_package
,
'
apt-get install -y %s
'
%
jre_package
,
# Get and install Wowza
# Get and install Wowza
'
[ -f
"
/tmp/%(name)s
"
] && (dpkg -I
"
/tmp/%(name)s
"
|| rm
"
/tmp/%(name)s
"
) || true
'
%
{
'
name
'
:
wowza_setup_name
},
'
[ -f
"
/tmp/%(name)s
"
] || wget -q
"
https://panel.ubicast.eu/media/storage/%(name)s
"
-O
"
/tmp/%(name)s
"'
%
{
'
name
'
:
wowza_setup_name
},
'
[ -f
"
/tmp/%(name)s
"
] || wget -q
"
https://panel.ubicast.eu/media/storage/%(name)s
"
-O
"
/tmp/%(name)s
"'
%
{
'
name
'
:
wowza_setup_name
},
'
dpkg -i
"
/tmp/%s
"'
%
wowza_setup_name
,
'
dpkg -i
"
/tmp/%s
"'
%
wowza_setup_name
,
# Configure Wowza
# Configure Wowza
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment