diff --git a/openvidu-filters/web/app.js b/openvidu-filters/web/app.js index d0f716ed..7848adac 100644 --- a/openvidu-filters/web/app.js +++ b/openvidu-filters/web/app.js @@ -192,12 +192,28 @@ function applyFilter() { break; case 'Audioecho': filter.type = 'GStreamerFilter'; - filter.options = { "command": "audioecho delay=50000000 intensity=0.6 feedback=0.4" }; + filter.options = { "command": "audioecho delay=40000000 intensity=0.7 feedback=0.4" }; + break; + case 'Amplify': + filter.type = 'GStreamerFilter'; + filter.options = { "command": "audioamplify amplification=1.7" }; break; case 'Videobox': filter.type = 'GStreamerFilter'; filter.options = { "command": "videobox fill=black top=-30 bottom=-30 left=-30 right=-30" }; break; + case 'Text': + filter.type = 'GStreamerFilter'; + filter.options = { "command": 'textoverlay text="Embedded text!" valignment=top halignment=right font-desc="Cantarell 25" draw-shadow=false' }; + break; + case 'Time': + filter.type = 'GStreamerFilter'; + filter.options = { "command": 'timeoverlay valignment=bottom halignment=right font-desc="Sans, 20"' }; + break; + case 'Clock': + filter.type = 'GStreamerFilter'; + filter.options = { "command": 'clockoverlay valignment=bottom halignment=right shaded-background=true font-desc="Sans, 20"' }; + break; } selectedStreamManager.stream.applyFilter(filter.type, filter.options) .then(f => { diff --git a/openvidu-filters/web/index.html b/openvidu-filters/web/index.html index e6009cdb..f47d5d01 100644 --- a/openvidu-filters/web/index.html +++ b/openvidu-filters/web/index.html @@ -91,6 +91,18 @@ + + + +