Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save a video from live stream? #17

Open
ghost opened this issue Sep 21, 2019 · 2 comments
Open

How to save a video from live stream? #17

ghost opened this issue Sep 21, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2019

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?

@wonday
Copy link
Owner

wonday commented Sep 23, 2019

You can not save video stream by using this lib.

@wonday
Copy link
Owner

wonday commented Sep 26, 2019

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",
    }
  }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant