How to change the use with camera

how can I select the camera with st.camera_input?
with cv2
it can use cv2.VideoCapture(1) to select the camera

Interested in this topic too.