Coder Social home page Coder Social logo

Save stream as playable file about libstreaming HOT 7 OPEN

bronko79 avatar bronko79 commented on August 19, 2024
Save stream as playable file

from libstreaming.

Comments (7)

quider avatar quider commented on August 19, 2024

I think you can handle stream from camera and save as file without any problems.

from libstreaming.

bronko79 avatar bronko79 commented on August 19, 2024

Thanks for reply. You wrote "handle stream from camera", what does that mean?
How can I handle the stream from the camera and save as a file?

from libstreaming.

quider avatar quider commented on August 19, 2024

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 ;)

from libstreaming.

bronko79 avatar bronko79 commented on August 19, 2024

I read the code/comments and I understand now how to stream with MediaRecorder and Sockets.
But I understand not how to access the stream and save a playable file on sd-card. I did some tests but my files was never playable. Can you give me some hint?
Thanks.

from libstreaming.

quider avatar quider commented on August 19, 2024

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.

from libstreaming.

gordonpro avatar gordonpro commented on August 19, 2024

@quider where?

from libstreaming.

chrisjowen avatar chrisjowen commented on August 19, 2024

+1 how

from libstreaming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.