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

IOVideoCaptureUnit#colorFormat property #1332

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Conversation

shogo4405
Copy link
Owner

Description & motivation

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots:

@shogo4405 shogo4405 modified the milestones: 1.6.2, 1.7.1 Nov 3, 2023
@shogo4405 shogo4405 merged commit ae1d215 into main Nov 3, 2023
1 check failed
@shogo4405 shogo4405 deleted the feature/color-format branch November 3, 2023 23:01
@mkrn
Copy link

mkrn commented Nov 8, 2023

Any example how to use?
rtmpStream.videoCapture(for: 0)?.colorFormat is not defined

@shogo4405
Copy link
Owner Author

I can compile it on the main branch. 1.7.1 hasn't been released yet. Is it okay to say that you are verifying on the main branch?
stream.videoCapture(for: 0)?.colorFormat = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange

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

Successfully merging this pull request may close these issues.

2 participants