Comments (1)
I found the cause, it is the google android bugs:
While the recorder record the AAC to fd, the AACWriter does not init the
profile(only init it while record to file).
As below:
mAACProfile(OMX_AUDIO_AACObjectLC) not init in the AACWriter(fd).
AACWriter::AACWriter(const char *filename)
: mFd(-1),
mInitCheck(NO_INIT),
mStarted(false),
mPaused(false),
mResumed(false),
mChannelCount(-1),
mSampleRate(-1),
mAACProfile(OMX_AUDIO_AACObjectLC) {
ALOGV("AACWriter Constructor");
mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
if (mFd >= 0) {
mInitCheck = OK;
}
}
AACWriter::AACWriter(int fd)
: mFd(dup(fd)),
mInitCheck(mFd < 0? NO_INIT: OK),
mStarted(false),
mPaused(false),
mResumed(false),
mChannelCount(-1),
mSampleRate(-1) {
}
Original comment by [email protected]
on 4 Mar 2015 at 11:44
from spydroid-ipcamera.
Related Issues (20)
- Intermixing videos using 2 spydroid on vlc
- stsd box could not be found error on Google Glass HOT 1
- Doesn't work on Motorola Razr i XT890 (x86 architecture)
- Patch for /res/values-de/strings.xml
- Maven Build Failure
- Can't open camera after start spydroid for once on Samsung i9100 with cyanogenmod-10.2-20131225-NIGHTLY-i9100 rom. HOT 1
- USB camera use
- Spydroid not showing what i expected
- No video streaming on Firefox (or Chrome) on Ubuntu 12.04 when running v.8.0.2 on Nexus 4 HOT 2
- VideoEncoder is different from Android code
- Editing web page content
- Doesn't work on Xperia Z1. HOT 1
- Communication method on Wowza Server Side
- Http connetion read exception HOT 1
- BlueIris software compatibility HOT 1
- No video
- Couldn't skip mp4 header
- Audio not streaming
- how to run the code in android studio?
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.