Video controls improved
This commit is contained in:
parent
2b68eab7ae
commit
9331e2ff0b
2 changed files with 6 additions and 3 deletions
|
@ -107,7 +107,7 @@
|
|||
<Button
|
||||
android:id="@+id/conf_simple_video"
|
||||
style="@style/incall_control"
|
||||
android:text="@string/conf_simple_video_bt_txt"
|
||||
android:text="-Video"
|
||||
android:background="@drawable/clavier_bg" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -369,10 +369,13 @@ public class VideoCallActivity extends Activity implements LinphoneOnCallStateCh
|
|||
LinphoneManager.getLc().setPreviewWindow(mVideoCaptureViewReady);
|
||||
break;
|
||||
case R.id.conf_simple_pause:
|
||||
//TODO : pause call and launch audio call activity
|
||||
finish();
|
||||
LinphoneManager.getLc().pauseCall(videoCall);
|
||||
//TODO Fix neon crash
|
||||
break;
|
||||
case R.id.conf_simple_video:
|
||||
//TODO : stop video and launch audio call activity
|
||||
finish();
|
||||
LinphoneActivity.instance().startIncallActivity();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue