public synchronized Boolean updateAVClientByStreamId(String streamId,RoomClient rcm){
  try {
    RoomClient rclUsual=getClientByPublicSID(rcm.getPublicSID(),false);
    if (rclUsual != null) {
      rclUsual.setBroadCastID(rcm.getBroadCastID());
      rclUsual.setAvsettings(rcm.getAvsettings());
      rclUsual.setVHeight(rcm.getVHeight());
      rclUsual.setVWidth(rcm.getVWidth());
      rclUsual.setVX(rcm.getVX());
      rclUsual.setVY(rcm.getVY());
      if (clientList.containsKey(rclUsual.getStreamid())) {
        clientList.put(rclUsual.getStreamid(),rclUsual);
      }
 else {
        log.debug("Tried to update a non existing Client " + rclUsual.getStreamid());
      }
    }
    updateClientByStreamId(streamId,rcm);
  }
 catch (  Exception err) {
    log.error("[updateAVClientByStreamId]",err);
  }
  return null;
}

public synchronized Boolean updateAVClientByStreamId ( String streamId , RoomClient rcm ) { try { RoomClient rclUsual = getClientByPublicSID ( rcm . getPublicSID ( ) , false ) ; if ( rclUsual != null ) { rclUsual . setBroadCastID ( rcm . getBroadCastID ( ) ) ; rclUsual . setAvsettings ( rcm . getAvsettings ( ) ) ; rclUsual . setVHeight ( rcm . getVHeight ( ) ) ; rclUsual . setVWidth ( rcm . getVWidth ( ) ) ; rclUsual . setVX ( rcm . getVX ( ) ) ; rclUsual . setVY ( rcm . getVY ( ) ) ; if ( clientList . containsKey ( rclUsual . getStreamid ( ) ) ) { clientList . put ( rclUsual . getStreamid ( ) , rclUsual ) ; } else { log . debug ( "Tried to update a non existing Client " + rclUsual . getStreamid ( ) ) ; } } updateClientByStreamId ( streamId , rcm ) ; } catch ( Exception err ) { log . error ( "[updateAVClientByStreamId]" , err ) ; } return null ; }
update the session object of the audio / video - connection and additionally swap the values to the session object of the user that holds the full session object
