react-native-live-stream
react-native-live-stream copied to clipboard
How to save a video from live stream?
I want to start and stop recording a video from the stream (hls / m3u8 uri file) and save it on the phone. There is any possible way to do this? any suggestions?
You can not save video stream by using this lib.
You can use
source={{uri:"rtsp://< user >:< password >@< ip > / < path-to-streaming-channel >"}}
or add some headers
source={{
uri: 'trsp://< ip > / < path-to-streaming-channel >',
headers: {
xxx: "yyy",
}
}}