How to set file path of MediaCapture?

I want to use MediaCapture to record video, but how can I specify the path to save the video?I cannot find any functions or parameters to set the path and file name