src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
/**
     * Updates the recorder mute state by looking at the peers state.
     * If one of the peers is not muted and the recorder is not.
     * If all the peers are muted so must be and the recorder.
     * @param recorder the recorder we are operating on.
     */
Updates the recorder mute state by looking at the peers state.
If one of the peers is not muted and the recorder is not.
If all the peers are muted so must be and the recorder.
@param recorder the recorder we are operating on.
Updates the recorder mute state by looking at the peers state . If one of the peers is not muted and the recorder is not . If all the peers are muted so must be and the recorder . @param recorder the recorder we are operating on .
private void updateRecorderMuteState(Recorder recorder)
    {
        Iterator<T> iter = getCallPeers();
        while(iter.hasNext())
        {
            if(!iter.next().isMute())
            {
                recorder.setMute(false);
                return;
            }
        }
        recorder.setMute(true);
    }
private void updateRecorderMuteState ( Recorder recorder ) { Iterator < T > iter = getCallPeers ( ) ; while ( iter . hasNext ( ) ) { if ( ! iter . next ( ) . isMute ( ) ) { recorder . setMute ( false ) ; return ; } } recorder . setMute ( true ) ; }
Updates the recorder mute state by looking at the peers state.
Updates the recorder mute state by looking at the peers state .
// one peer is not muted so we unmute. // all peers are muted, so we mute the recorder