doogerk / ipcamera-for-android

Automatically exported from code.google.com/p/ipcamera-for-android
0 stars 0 forks source link

APK works, building from source does not (no stream) #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build the application from source, run the app and press Start.

What is the expected output? What do you see instead?
Application throws an error message when "Start" is pressed. 

What version of the product are you using? On what operating system?
Revision 64 of the source code on 4.0.2 on a Galaxy Nexus.

Please provide any additional information below.

myMediaRecorder.start() throws an exception. Commenting out 
targetProfile.videoFrameRate = 25; fixes this, but streaming still does not 
work. In MediaStreamer::doStreaming() in mediastreaming.cpp the follow if 
statement:

if ( mediaBuffer->PullBuffer(&media_package, MEDIA_TYPE_VIDEO) == false) {
            talk_base::Thread::SleepMs(50);             // wait for 1/20 second
            continue;
        }

always gets triggered, so the code following the statement never gets executed.

Original issue reported on code.google.com by jiahan1...@gmail.com on 24 Apr 2012 at 4:07