Git Product home page Git Product logo

Comments (6)

ThibaultBee avatar ThibaultBee commented on August 15, 2024

Hi,

For an upload SRT might be faster. It depends of your upload protocol. As SRT is a UDP-based protocol, it will be faster by design than most TCP-based protocol. Your question is SRT specific, for this type of question you should directly reach SRT developers on their github or slack.

Anyway, it shouldn't be difficult to create quickly an Android app (all you need is Socket.sendFile. For the server, you should look at SRT examples.

You should know the main use case of SRT is livestreaming. For a livestreaming Android app, you can have a look at my other project StreamPack.

from srtdroid.

arianaa30 avatar arianaa30 commented on August 15, 2024

Thanks. So in my usecase, I should deal with it like a file transfer (which still is faster). It doesn't matter if the file is actually a mp4 video file or any other file. Is it right?

And second question: I'm thinking to chunk up the video file into 5s chunks and send them in parallel. Do you think it will help with faster uploads?

from srtdroid.

ThibaultBee avatar ThibaultBee commented on August 15, 2024

Thanks. So in my usecase, I should deal with it like a file transfer (which still is faster). It doesn't matter if the file is actually a mp4 video file or any other file. Is it right?

No, it doesn't matter. You can send any type of file with sendFile.

And second question: I'm thinking to chunk up the video file into 5s chunks and send them in parallel. Do you think it will help with faster uploads?

Not sure it will be faster as the limit here is the bandwidth. If you send one file or multiple files, you are still limited by the same bandwidth (it won't increase your bandwidth). The advantage of chunking video file into multiple chunk is if you want to stop/restart to send the file, you don't have to send the whole file each time, you have to send only the chunk that wasn't received. But this is something you will have to implement on your own.

from srtdroid.

arianaa30 avatar arianaa30 commented on August 15, 2024

I see. So wondering, how do download accelerators cause faster downloads by creating multiple parallel threads?

from srtdroid.

ThibaultBee avatar ThibaultBee commented on August 15, 2024

from srtdroid.

ThibaultBee avatar ThibaultBee commented on August 15, 2024

No news question -> closing the issue

from srtdroid.

Related Issues (18)

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.