diff --git a/src/org/linphone/LinphoneService.java b/src/org/linphone/LinphoneService.java index 10b1c55e6..e9317dbc2 100644 --- a/src/org/linphone/LinphoneService.java +++ b/src/org/linphone/LinphoneService.java @@ -316,13 +316,6 @@ public class LinphoneService extends Service implements LinphoneCoreListener { throw new LinphoneConfigException(getString(R.string.wrong_settings),e); } boolean isVideoEnabled = mPref.getBoolean(getString(R.string.pref_video_enable_key),false); - if (isVideoEnabled) { - try { - System.loadLibrary("msandroiddisplay"); - } catch (Throwable e) { - Log.e(TAG, "cannot load video plugin", e); - } - } mLinphoneCore.enableVideo(isVideoEnabled, isVideoEnabled); //1 read proxy config from preferences String lUserName = mPref.getString(getString(R.string.pref_username_key), null); diff --git a/src/org/linphone/VideoCallActivity.java b/src/org/linphone/VideoCallActivity.java index a480d469d..ac5a2b2bd 100644 --- a/src/org/linphone/VideoCallActivity.java +++ b/src/org/linphone/VideoCallActivity.java @@ -28,6 +28,7 @@ public class VideoCallActivity extends Activity { SurfaceView mVideoView; public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); setContentView(R.layout.videocall); mVideoView = (SurfaceView) findViewById(R.id.video_surface); LinphoneService.instance().getLinphoneCore().setVideoWindow((Object) mVideoView) ;