update code/BasicFeature/Media/AVRecorder/entry/src/main/ets/recorder/VideoRecorder.ets.

Signed-off-by: tianmuhao <tianmuhao@h-partners.com>
This commit is contained in:
tianmuhao 2024-11-05 02:46:16 +00:00 committed by Gitee
parent ce01d3350b
commit 533540f95c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -730,7 +730,7 @@ struct CustomDialogSetting {
cancel?: () => void;
confirm?: () => void;
@State currentVideoResolution: Resolution = { frameWidth: 1920, frameHeight: 1080 };
@State currentVideoResolutionText: string = "[16:9]1080p";
@State currentVideoResolutionText: string = '[16:9]1080p';
@State currentVideoFramerate: number = 30;
@State currentVideoCodec: string = 'video/avc';
private initVideoResolution: Resolution = this.videoResolution;