protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Set window styles for fullscreen-window size. Needs to be done before
            // adding content.
            RequestWindowFeature(WindowFeatures.NoTitle);
            Window.AddFlags(WindowManagerFlags.Fullscreen | WindowManagerFlags.KeepScreenOn
                            | WindowManagerFlags.DismissKeyguard | WindowManagerFlags.ShowWhenLocked
                            | WindowManagerFlags.TurnScreenOn);
            //getWindow().getDecorView().setSystemUiVisibility(getSystemUiVisibility());

            SetContentView(Resource.Layout.activity_conference);

            SurfaceViewRenderer        publishViewRenderer = FindViewById <SurfaceViewRenderer>(Resource.Id.publish_view_renderer);
            List <SurfaceViewRenderer> playViewRenderers   = new List <SurfaceViewRenderer>();

            playViewRenderers.Add(FindViewById <SurfaceViewRenderer>(Resource.Id.play_view_renderer1));
            playViewRenderers.Add(FindViewById <SurfaceViewRenderer>(Resource.Id.play_view_renderer2));
            playViewRenderers.Add(FindViewById <SurfaceViewRenderer>(Resource.Id.play_view_renderer3));
            playViewRenderers.Add(FindViewById <SurfaceViewRenderer>(Resource.Id.play_view_renderer4));

            audioButton = FindViewById <Button>(Resource.Id.control_audio_button);
            videoButton = FindViewById <Button>(Resource.Id.control_video_button);

            // Check for mandatory permissions.
            foreach (String permission in CallActivity.MandatoryPermissions)
            {
                if (this.CheckCallingOrSelfPermission(permission) != Andr.Content.PM.Permission.Granted)
                {
                    Toast.MakeText(this, "Permission " + permission + " is not granted", ToastLength.Short).Show();
                    return;
                }
            }

            this.Intent.PutExtra(CallActivity.ExtraCapturetotextureEnabled, true);
            //  this.getIntent().putExtra(CallActivity.EXTRA_VIDEO_CALL, false);

            String streamId = null;//"stream1";
            String roomId   = "room1";

            conferenceManager = new ConferenceManager(
                this,
                this,
                Intent,
                "",    //MainActivity.SERVER_URL,
                roomId,
                publishViewRenderer,
                playViewRenderers,
                streamId,
                this
                );

            conferenceManager.SetOpenFrontCamera(true);
        }