ShenaniganDApp / shenanigan-monorepo

17 stars 4 forks source link

React native camera and react native ffmpeg for stream #157

Open youngkidwarrior opened 3 years ago

youngkidwarrior commented 3 years ago

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: