Comments (3)
Hi !
If you are using vlc to play the stream, you can easily control the size of the cache and therefore the latency (vlc "rtsp://xxx.xxx.xxx.xxx:8086/" --network-caching=500). By default, it seems that VLC is using a buffer of 1sec. If you're phone is also doing some buffering, unfortunately, there isn't much you can do.
Also, the VideoView API of android won't let you adjust the buffer size... It's a missing feature of this API.
Good luck !
from spydroid-ipcamera.
Yeah, after digging around, I believe it actually is the encoder itself in the low level android code. I didn't realize, but h.264 has a few different types of encoders. The top dog for real time collaboration and low latency encoding seems to be x264 right now, and it requires some flags to the encoder to let it know this is the intent. The android encoder is definitely not doing anything like that as it's purpose is to get a good video to disk, and latency is not a concern. It'd be nice if they made the api a little more robust.
Thanks for your response. I will probably still end up using this library, as it just makes the whole process dead simple. Thanks for your great work on it! If I do end up porting x264 to android to get some of these features, I wonder if you'd be interested in allowing me to use this library as a basis for that type of effort?
from spydroid-ipcamera.
Yeah sure, as long as you comply with the GPL, it's fine by me !
from spydroid-ipcamera.
Related Issues (20)
- 227 errors
- Spydroid's video stream stops when I press home button
- There should be force start button or setting.
- worked only one time under android 8.0 HOT 2
- Higher resolution and bitrate streaming?
- Change resolution will result as black screen.
- save streaming in sd card
- Unable to run in Android Studio
- Camera: Error 2
- Feature Request: Option to stream via MMS, RTSP or RTMP
- High resolutions don't work HOT 1
- Duplicate class com.google.ads.AdRequest found in modules GoogleAdMobAdsSdk-6.1.0.jar
- Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.ads.AdView" HOT 1
- "You need to install or update VLC and the VLC mozilla plugin!" with latest firefox under Linux HOT 1
- How to enable Switching between front and Rare camera in this application
- How to updated the project with dependencies? HOT 2
- Is this project still alive? HOT 5
- IP cameras
- How do I build this project?
- Yo
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 spydroid-ipcamera.