Closed Sandip-Z closed 2 years ago
Hi @Sandip-Z
What is the exception that you are seeing when it crashes?
I would also suggest calling cameraCaptureSource.addVideoSink(myVideoProcessor)
before cameraCaptureSource.start()
Hi @zhinang-amazon
Thank you for your response. Yes, calling cameraCaptureSource.addVideoSink(myVideoProcessor)
before cameraCaptureSource.start()
did solve our issue.
Thank you again. 🙇🏾
Our team is trying to add skin smoothing filter. We are following Implementing a custom video processing step for local source from custom_video.md
In NativeMobileSDKBridge.kt, we added
and inside @ReactMethod fun startMeeting(meetingInfo: ReadableMap, attendeeInfo: ReadableMap) method, we added eglCoreFactory in defaultMeetingSession
and then in setCameraOn method, we did the following:
GpuVideoProcessor is from demo code provided here
we know this processor turns the camera feed black and white, instead of smoothing it.
Our problem: Our application crashes when we
cameraCaptureSource.start()
Any guidance to successfully turn the camera feed into b/w would be appreciated and if you could guide us with adding skin smoothing filter, it would be much much appreciated.
Thank you, have a good day.