Comments (6)
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.
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.
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.
I see. So wondering, how do download accelerators cause faster downloads by creating multiple parallel threads?
from srtdroid.
from srtdroid.
No news question -> closing the issue
from srtdroid.
Related Issues (18)
- openssl_project compiler error HOT 7
- I am having a problem trying to send camera stream to srt server (vMix) HOT 3
- is stable the srtdroid ? HOT 17
- Rendezvous mode works only with outgoing connection HOT 6
- Upgrade to SRT 1.5.0 HOT 1
- Is there a Java version available HOT 1
- how to use the lib send byte array HOT 1
- How to add SRT over RTMP HOT 1
- Run failed HOT 6
- how to use MsgCtrl HOT 1
- srtcore/core.cpp@6491:sendmsg2 14:54:30.657568/Thread-60*E:SRT.as: INVALID: Data size for sending declared with length: 0 HOT 5
- How often to send a SDT PMT PAT? HOT 1
- srtdroid on API 19+ HOT 6
- how can I transfer the video stream from one android device to another and play it HOT 4
- Segfault when attempting to connect using hostname without internet (SRT v1.5.1) HOT 2
- I am getting build command failed issue when I am syncing this project in my system HOT 2
- streamID not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srtdroid.