B4i Library LLCameraVideoRec - Record Video with LLCamera (audio inclusive)

narek adonts

Well-Known Member
Licensed User
Hi All again,

Here a small add-on to LLCamera to be able to record video (inclusive audio) with the custom size and parameters that you are configuring with LLCamera.

It is very simple.

B4X:
Dim myVideoRec as LLCameraVideoRec
myVideoRec.Initialize(Me,"myVideoRec",LL)
YOU SHOULD INITIALIZE IT AFTER INITIALIZING YOUR LLCAMERA OBJECT !!!
AND INITIALIZE AGAIN IF YOU WILL CHANGE ANY LLCAMERA SETTINGS AFTER.


LL - is your LLCamera object.
you can set the EventName the same as your LLCamera for your ease.


To start recording

B4X:
myVideoRec.StartRecording(Folder,FileName)
To Stop recording

B4X:
myVideoRec.StopRecording
After stopping the recording event will be raised

B4X:
Sub myVideoRec_RecordingEnd(folder As String,filename As String)
  
End Sub
Thank you ))

Narek
 

Attachments

Last edited:
Top