Closed kundanthe closed 9 months ago
We are working to incorporate background blur in Opentok React Native lib.
As @kapilmishr mentions, we will be adding a function to support the Vonage Media Processor library functionality, including background blur support. You will then access that JavaScript function in React Native. You do not have access to the PublisherKit directly in the OpenTok. React Native API.
Thank you @jeffswartz to letting me know. So when it will come on this library, We need to implement this feature as soon as possible.
Hi @jeffswartz you have any work around for this..?
Hi @kundanthe
Background blur support was included in the latest version published v2.26.1 https://www.npmjs.com/package/opentok-react-native. The new OTPublisher.setVideoTransformers()
method lets you set and clear video transformers such as a background blur for a publisher.
Thanks.
PublisherKit.VideoTransformer backgroundBlur = new PublisherKit.VideoTransformer("BackgroundBlur", "{\"radius\":\"High\"}");
This complete syntax is given on documentation, And I am following same but this syntax is not executing at compile time.
I am getting this error.
'com.opentok.android.PublisherKit' is not an enclosing class ?
Needed some help full information.