constraints.insets = new Insets(0, 0, 3, 0);
mainPanel.add((Component) confPeerRenderer, constraints);
// Create an adapter which would manage all common call peer listeners.
CallPeerAdapter callPeerAdapter
= new CallPeerAdapter(peer, confPeerRenderer);
confPeerRenderer.setCallPeerAdapter(callPeerAdapter);
peer.addCallPeerListener(callPeerAdapter);
peer.addPropertyChangeListener(callPeerAdapter);