Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios 开始录制返回的数据显示失败 #68

Open
tzt1994 opened this issue Feb 19, 2023 · 0 comments
Open

ios 开始录制返回的数据显示失败 #68

tzt1994 opened this issue Feb 19, 2023 · 0 comments

Comments

@tzt1994
Copy link

tzt1994 commented Feb 19, 2023

日志如下:
flutter: 路径(true: /var/mobile/Containers/Data/Application/5D056127-89C3-49DF-B9DF-EF87403D989A/Documents/screenRecord screenRecord20230219150228 startRecording: w x h = 1290 x 2796 pixels Error Error Domain=NSCocoaErrorDomain Code=4 "“screenRecord20230219150228.mp4” couldn’t be removed." UserInfo={NSUserStringVariant=( Remove ), NSFilePath=/var/mobile/Containers/Data/Application/5D056127-89C3-49DF-B9DF-EF87403D989A/Documents/screenRecord20230219150228.mp4, NSUnderlyingError=0x2819f1260 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} flutter: >>> Start Record Response Output: flutter: File: File: '/var/mobile/Containers/Data/Application/5D056127-89C3-49DF-B9DF-EF87403D989A/Documents/screenRecord20230219150228.mp4' flutter: Event Name: startRecordScreen flutter: Progressing: true flutter: Message: Started Video flutter: Success: false flutter: Video Hash: 37b335c0b02a11ed88c433282341c1c7 flutter: Start Date: 1676793089036 flutter: End Date: 0

开启录制返回的success字段是false,这个日志是在录制前,会把文件先删除抛出的错误
这段代码,有什么用意
WX20230219-154832@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant