boonya/rtsp-video-recorder

can it be used with react native for android?

Closed this issue · 3 comments

I want to get a stream from an IP camera and record the stream and send it to a server. is it possible using this package?

Hello @RaiyanKhalil
Not sure it's possible. This library supposed to be server side one. It spawns ffmpeg process using node.js API.

Hey bro! did you managed to make this work on React Native?

Hello. No, this doesn't work like that. It's a node package, so it requires some OS environmet and a Node JS runtime. Which is not the case for any client side solutions like React Js or React native. React is a static javascript bundle at the end.
If you need the functionality the package serves working with a client app, you have to create a server application which your client is going to interact with.
As an example you can look at meteor-recorder which is my own utilization of the rtsp-video-recorder lib.