src/net/java/sip/communicator/impl/gui/main/call/LocalVideoButton.java
/**
     * Enables or disables local video when the button is toggled/untoggled.
     */
Enables or disables local video when the button is toggled/untoggled.
Enables or disables local video when the button is toggled / untoggled .
@Override
    public void buttonPressed()
    {
        /*
         * CallManager actually enables/disables the local video for the
         * telephony conference associated with the Call so pick up a Call
         * participating in callConference and it should do.
         */
        List<Call> calls = callConference.getCalls();
        if (!calls.isEmpty())
        {
            Call call = calls.get(0);
            CallManager.enableLocalVideo(
                    call,
                    !CallManager.isLocalVideoEnabled(call));
        }
    }
@ Override public void buttonPressed ( ) { /*
         * CallManager actually enables/disables the local video for the
         * telephony conference associated with the Call so pick up a Call
         * participating in callConference and it should do.
         */ List < Call > calls = callConference . getCalls ( ) ; if ( ! calls . isEmpty ( ) ) { Call call = calls . get ( 0 ) ; CallManager . enableLocalVideo ( call , ! CallManager . isLocalVideoEnabled ( call ) ) ; } }
Enables or disables local video when the button is toggled/untoggled.
Enables or disables local video when the button is toggled / untoggled .