I’m trying to put the VB Blur in my application using the the pro version of openVidu
I keep getting this error:
ERROR:org.kurento.client.internal.server.KurentoServerException:Factory ‘VB:blur’ not found (Code:40108, Type:null, Data: {“type”:“MEDIA_OBJECT_NOT_AVAILABLE”}) in Request: method:publishVideo params:{“doLoopback”:false,“hasAudio”:true,“hasVideo”:true,“audioActive”:true,“videoActive”:true,“typeOfVideo”:“CAMERA”,“frameRate”:-1,“videoDimensions”:“{"width":640,"height":480}”,“filter”:{“type”:“VB:blur”,“options”:{}}, … etc
Here is part of my code:
await this.openViduWebRTCService.publishWebcamPublisher().then(data =>{
const publisher = this.localUsersService.getWebcamPublisher();
let UserData = JSON.parse(sessionStorage.getItem("UserData"));
let LabelUserName = UserData.userName ;
publisher.stream
.removeFilter()
.then(
async () => await publisher.stream.applyFilter("VB:blur", {})
);
where I remove the already exist and working filter, and adding the blur
note that we have only one function for the applyFilter which accept only 2 argument
your help is appreciated
Thank you in advance