i-p-tel / sipdroid

Free SIP/VoIP client for Android
http://sipdroid.org
GNU General Public License v3.0
621 stars 262 forks source link

Video Call on Android API 22+ do not work #1024

Open tianranwangcs opened 7 years ago

tianranwangcs commented 7 years ago

I can take a video call on Android 4.4.4, however I can't do it in Android 5.0 or 6.0. When I debug the source code, the app crush at line 411 in org.sipdroid.sipua.ui.VideoCamera.java. Can anyone help me?

try {
            mMediaRecorder.prepare();
            mMediaRecorder.setOnErrorListener(this);
            mMediaRecorder.start(); // crush at here, line 411
        } catch (IOException exception) {
            releaseMediaRecorder();
            finish();
            return false;
        }

The console output is this:

E/MediaRecorder: start failed: -38
jkisanga commented 7 years ago

Can not even make call in android 6

yeahia2508 commented 5 years ago

Did you found any solution? @tianranwangcs

hamzabutt33221 commented 5 years ago

runtime permissions issue.