react-native-nodemediaclient
react-native-nodemediaclient copied to clipboard
Get the captured frames in real time while the streaming is on.
I was working on a use case where i need to capture each frame while the streaming is on and then store these pictures in local storage.
Is there an option to get the captured frames in real time while the streaming is on? I checked the android library and found a function
onCapture(byte[] pictureBuffer, int width, int height, int orientation)
which is kind of a listener while the frame is captured, is there a wrapper around this function in react library?
Appreciate your help!
Hi, @rishihashbinary! I've just opened a PR #130 with iOS implementation for capturing pictures during the stream. Maybe it can help you with implementing the same logic for the Android?