Is it possible to use more than one JEELIZFACEFILTER instance? #270
-
I am interested in using JEELIZFACEFILTER on more than one video simultaneously. It appears to be a singleton though. I am aware of the MediaStream demo which swaps the current video for another. But for the use case of multiple simultaneous videos, is there a path forward for that with the current version of the library? Thanks for any input. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi yes it is possible please check: https://github.com/jeeliz/jeelizFaceFilter#multiple-videos If it is for a video call application, where participants should have face filters over the face, it is really better that each user run Jeeliz FaceFilter only on its own video, then you stream the video with the facefilter on than if each user run Jeeliz Facefilter for all the videos of the other users. It is better for performance, but also for privacy (it is not possible to remove the masks). |
Beta Was this translation helpful? Give feedback.
Hi yes it is possible please check: https://github.com/jeeliz/jeelizFaceFilter#multiple-videos
However, be careful about the computing power. If you run facefilter for N videos it will require N times computing power (GPU power, the GPU is the limiting resource most often). Video resolution should be as low as possible.
If it is for a video call application, where participants should have face filters over the face, it is really better that each user run Jeeliz FaceFilter only on its own video, then you stream the video with the facefilter on than if each user run Jeeliz Facefilter for all the videos of the other users. It is better for performance, but also for privacy (it is not possibl…