openvidu-filters: text, time and clock filters commented (no support from KMS yet)

This commit is contained in:
pabloFuente 2018-09-28 11:36:23 +02:00
parent 14161516b2
commit 5bd4dad072
2 changed files with 4 additions and 4 deletions

View File

@ -202,7 +202,7 @@ function applyFilter() {
filter.type = 'GStreamerFilter';
filter.options = { "command": "videobox fill=black top=-30 bottom=-30 left=-30 right=-30" };
break;
case 'Text':
/*case 'Text':
filter.type = 'GStreamerFilter';
filter.options = { "command": 'textoverlay text="Embedded text!" valignment=top halignment=right font-desc="Cantarell 25" draw-shadow=false' };
break;
@ -213,7 +213,7 @@ function applyFilter() {
case 'Clock':
filter.type = 'GStreamerFilter';
filter.options = { "command": 'clockoverlay valignment=bottom halignment=right shaded-background=true font-desc="Sans, 20"' };
break;
break;*/
}
selectedStreamManager.stream.applyFilter(filter.type, filter.options)
.then(f => {

View File

@ -94,7 +94,7 @@
<label class="radio-inline">
<input type="radio" name="filter" value="Amplify">Audio amplify
</label>
<label class="radio-inline">
<!--<label class="radio-inline">
<input type="radio" name="filter" value="Text">Text
</label>
<label class="radio-inline">
@ -102,7 +102,7 @@
</label>
<label class="radio-inline">
<input type="radio" name="filter" value="Clock">Clock
</label>
</label>-->
</div>
</div>
<div id="filter-removed-opts">