Lines Matching refs:recording
318 A recording management class that provides APIs to record media assets. Before calling any API in *…
409 Implements video recording. Before calling any API in the **VideoRecorder** class, you must use [cr…
419 | state<sup>9+</sup> | [VideoRecordState](#videorecordstate9) | Yes | No | Video recording state.|
425 Sets video recording parameters. This API uses an asynchronous callback to return the result.
437 | config | [VideoRecorderConfig](#videorecorderconfig9) | Yes | Video recording parameters to se…
493 Sets video recording parameters. This API uses a promise to return the result.
505 | config | [VideoRecorderConfig](#videorecorderconfig9) | Yes | Video recording parameters to set.|
564 Obtains the surface required for recording. This API uses an asynchronous callback to return the re…
611 …Obtains the surface required for recording. This API uses a promise to return the result. The call…
656 Starts recording. This API uses an asynchronous callback to return the result.
699 Starts recording. This API uses a promise to return the result.
740 Pauses recording. This API uses an asynchronous callback to return the result.
742 This API can be called only after [start()](#start9) is called. You can resume recording by calling…
783 Pauses recording. This API uses a promise to return the result.
785 This API can be called only after [start()](#start9-1) is called. You can resume recording by calli…
824 Resumes recording. This API uses an asynchronous callback to return the result.
865 Resumes recording. This API uses a promise to return the result.
904 Stops recording. This API uses an asynchronous callback to return the result.
906 To start another recording, you must call [prepare()](#prepare9) and [getInputSurface()](#getinputs…
947 Stops recording. This API uses a promise to return the result.
949 To start another recording, you must call [prepare()](#prepare9-1) and [getInputSurface()](#getinpu…
988 Releases the video recording resources. This API uses an asynchronous callback to return the result.
1027 Releases the video recording resources. This API uses a promise to return the result.
1064 Resets video recording. This API uses an asynchronous callback to return the result.
1066 To start another recording, you must call [prepare()](#prepare9) and [getInputSurface()](#getinputs…
1106 Resets video recording. This API uses a promise to return the result.
1108 To start another recording, you must call [prepare()](#prepare9-1) and [getInputSurface()](#getinpu…
1146 Subscribes to video recording error events. After an error event is reported, you must handle the e…
1156 … **'error'** in this case.<br>This event is triggered when an error occurs during video recording.|
1181 Enumerates the video recording states. You can obtain the state through the **state** attribute.
1190 | prepared | string | The video recording parameters are set.|
1191 | playing | string | Video recording is in progress. |
1192 | paused | string | Video recording is paused. |
1193 | stopped | string | Video recording is stopped. |
1194 | error | string | Video recording is in the error state. |
1198 Describes the video recording parameters.
1200 …recording from audio and video recording. (For audio-only recording, use [AVRecorder](js-apis-medi…
1208 … | No | Type of the audio source for video recording. This parameter is mandatory for audio re…
1209 …videosourcetype9) | Yes | Type of the video source for video recording. …
1210 | profile | [VideoRecorderProfile](#videorecorderprofile9) | Yes | Video recording profile…
1217 Describes the video recording profile.
1225 … | No | Audio encoding bit rate. This parameter is mandatory for audio recording.|
1226 … | No | Number of audio channels. This parameter is mandatory for audio recording.|
1227 …pe8) | No | Audio encoding format. This parameter is mandatory for audio recording. |
1228 … | No | Audio sampling rate. This parameter is mandatory for audio recording. |