I'm using camera plugin to record video. However, I need this video to be transferred to API. I want to do that in chunks, lets say 4MB. I would usually do this with a loop reading file size to check when we have new chunk. The problem is that from version 0.6.0
and above startVideoRecording()
no longer accepts path where to store it and I don't know where the file is to keep reading its size. It only gives the path after the recording is stopped. That means I have to start transferring after that and this would be annoying for the user.
I know I can downgrade my version below 0.6.0
but I really don't want to do that if there is another way.
So, is there a way to get current file being recorded after startVideoRecording()
is called?
question from:
https://stackoverflow.com/questions/65901443/flutter-camera-plugin-get-path-before-recoding-stopped 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…