I am trying this sample, getting no errors, the video is recorded in the media folder but the result of Video_RecordComplete (Success As Boolean) is alwais false.
B4X:
video.Initialize("video") 'video is a process global VideoRecordApp variable.
Dim folder As String = Starter.Provider.SharedFolder
Dim FileName As String = "1.mp4"
video.Record3(folder, FileName, -1, Starter.Provider.GetFileUri(File.Combine(folder, FileName)))
Wait For Video_RecordComplete (Success As Boolean)
If Success Then
'Example of playing the recorded video
Dim in As Intent
in.Initialize(in.ACTION_VIEW, "")
Starter.Provider.SetFileUriAsIntentData(in, FileName)
in.SetType("video/*")
StartActivity(in)
Else
ToastMessageShow("No success", False)
End If