I tried to use camera in 30 to 60 fps. But when i set the parameters in more than 30, there was no change in fps. Is preview fps limited? Or is there any way to make the preview fps more than 30?
You can choose any framerate that your camera supports. Note that you may need to reduce resolution to achieve high frame rate. On modern devices, you will be better served with the camera2 API, see e.g. https://stackoverflow.com/a/43646443/192373.