diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index ddd6d7b8cc99343a30ecd0f1930b253f276f0cee..1c6faa1d1311f3fa86fe13565402fb6a933bde37 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -5247,7 +5247,8 @@ declare namespace media { getInputSurface(callback: AsyncCallback): void; /** - * Obtains the surface required for recording. This API uses a promise to return the result. The caller obtains the **surfaceBuffer** from this surface and fills in the corresponding video data. + * Obtains the surface required for recording. This API uses a promise to return the result. + * The caller obtains the **surfaceBuffer** from this surface and fills in the corresponding video data. * * Note that the video data must carry the timestamp (in ns) and buffer size, and the start time of the timestamp must be based on the system startup time. * @@ -6042,7 +6043,8 @@ declare namespace media { * stop recording control. If the AVRecorderState is also switched to error, call reset() or release() * to exit the recording. * - * An application can subscribe to only one AVRecorder error event. When the application initiates multiple subscriptions to this event, the last subscription is applied. + * An application can subscribe to only one AVRecorder error event. + * When the application initiates multiple subscriptions to this event, the last subscription is applied. * @param { 'error' } type - Event type, which is **'error'** in this case. * This event is triggered when an error occurs during recording. * @param { ErrorCallback } callback - Callback invoked when the event is triggered.