Direct Video Upload and update data to my own server

need to update video upload status on my own server,
i have uploaded video using cloudflare-stream , video uploaded successfully and i have sent data on my server bu readyToSream return false so i want to update readyToSream true after success from cloudflare.
So please suggest the way to get response to update readyToStream flag.