Currently, we are utilizing react-native-node-media-client to serve the stream to livepeer. The issue is we can't save the stream while its happening.
The fix is to utilize react-native-camera to stream the video to a file on the client, then use react-native-ffmpeg to stream that file to the livepeer rtmp endpoint.
We can then save the streamed file at the end with react-native camera and send it to ipfs.
Background Issues:
Check if the phone has storage space for video. Require some minimum of space.
Currently, we are utilizing react-native-node-media-client to serve the stream to livepeer. The issue is we can't save the stream while its happening.
The fix is to utilize react-native-camera to stream the video to a file on the client, then use react-native-ffmpeg to stream that file to the livepeer rtmp endpoint.
We can then save the streamed file at the end with react-native camera and send it to ipfs.
Background Issues: