pscholl / cmotion Goto Github PK
View Code? Open in Web Editor NEWSensor Logging with Matroska Storage on Android
Sensor Logging with Matroska Storage on Android
Due to name mangling, name (to be displayed to the user) and identifiers for sensors instantiation not all sensor worked. Find a way to make to this more explicit without using yet another wrapper.
Abandoned Video Buffer error
=> possible Memoryleaks (since Context is stored within those singletons)
(After merge) - Audio Data is not written or extremely speedup (duration <1s)
Looks like the Sensor.getAvailableSensors() and SRTHelper.getAvailableSensors() has duplicate code
Nexus 5x refuses to init AudioRecords, although it reports supported sampling rates
execessive traffic due to status messages, intentforwarder needs to be made more robust. I.e. use a queue for intents and do not recreate the bluetooth connection for each intent.
race condition here, need some mechanism to ask the RecordingStatus to return the current state immediately (i.e. something in the BroadcastReceiver)
since while(true) loops in monitors
aks for runtime permission when activating audio, video or location sensors. This needs to happen in the Service not in the UI, since we can also start the recording NOT from the UI. see PermissionDialog.java. This is currently asked for before starting a recording, which is too late, as the permissions are not effective (bummer). Need to use the RecorderCommands to delay a start command until the permissions have been cleared by the users.
AutoDiscovery might list a node multiple times in rare cases.
even though recording was stopped
Will throw no input specified exception
RecordingStatus broadcast should be enough
Pretty random: but the sensorlist will be empty before that.
Probably the autodiscovery is not registered properly and onDestroy we try to remove the broadcastreceiver
Sensor data is buffered until app is taken out from app standby (when?). Data might be eventually lost. To test start a recording and use
adb shell am set-inactive es.uni_freiburg.de.cmotion true
and check the TCP buffers with
netstat -tn
Possible fix: use unix sockets instead of TCP sockets
If a provider is never started, the session (and notification) will linger forever.
Not only long recordings by the looks of it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.