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

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

  • LLCameraVideoRec.bas
    3.3 KB · Views: 59
Last edited:
Top