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的屏幕共享NTESYUVConverter方法返回怎么是空的 #74

Open
lnd1992 opened this issue Apr 16, 2022 · 1 comment
Open

ios的屏幕共享NTESYUVConverter方法返回怎么是空的 #74

lnd1992 opened this issue Apr 16, 2022 · 1 comment

Comments

@lnd1992
Copy link

lnd1992 commented Apr 16, 2022

测试苹果se出现的
NTESI420Frame *videoFrame = [NTESYUVConverter pixelBufferToI420:pixelBuffer
withCrop:cropRate
targetSize:targetSize
andOrientation:targetOrientation];

@lnd1992
Copy link
Author

lnd1992 commented Apr 16, 2022

CGSize targetSize = CGSizeMake(720, 720 / cropRate); 720不应该写死吧

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