-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Save stream as playable file #3
Comments
I think you can handle stream from camera and save as file without any problems. |
Thanks for reply. You wrote "handle stream from camera", what does that mean? |
Android camera to send stream through internet you need to set up local server and local client. Local client send stream to internet and here you can handle stream by creating new local client or just try read manual from android. There is all what you need. I don't give you ready code becouse it would be to simple to you. Read libstreaming source there are nice comments ;) |
I read the code/comments and I understand now how to stream with MediaRecorder and Sockets. |
As I remember you have file descriptor object and stream from camera. I think you can just direct your stream to file. If you want my code, I wrote similar library to this one but there is no stream to file too like in this one. But disadvantage of my code are comments in polish. In conclusion just direct stream to file. I think thats all. |
@quider where? |
+1 how |
Is there a way to save a rtsp stream as a playable file (i.e. mp4)?
I want to separate a stream into different files, that's why I'm not using androids MediaRecorder directly.
Thanks.
The text was updated successfully, but these errors were encountered: