StartRecording

<< Click to Display Table of Contents >>

Manual > Control Reference > Other > Video player control > Method >

StartRecording


 

Start recording.

 


syntax

StartRecording(

         outputFile

         [,fps = 0]

         [,videoCodec = ""]

         )

 


Parameters

 

outputFile


Type:

character


The output file name.

 

fps


Type:

Number


Specify the frame rate of the output video. See the explanation for details.

 

videoCodec


Type:

character


Video codec name. If not specified, a codec will be selected automatically.

 


Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


 


reference