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

Add AVSampleBufferDisplayLayer rendering mode to VideoView #222

Merged
merged 11 commits into from
Sep 6, 2023

Conversation

hiroshihorie
Copy link
Member

@hiroshihorie hiroshihorie commented Jun 24, 2023

This is needed for PiP.

@hiroshihorie hiroshihorie changed the title Experimental PIP support Add AVSampleBufferDisplayLayer rendering mode to VideoView Sep 4, 2023
@hiroshihorie hiroshihorie marked this pull request as ready for review September 4, 2023 08:50
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg. just one question re: classname

import Foundation
import WebRTC

internal class InternalSampleBufferVideoRenderer: NativeView {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does Internal reference? or should we call it AVSampleBufferDisplayLayerRenderer ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not exposed, the VideoView uses it internally as a subview.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, sounds good!

@hiroshihorie hiroshihorie merged commit e49434e into main Sep 6, 2023
@hiroshihorie hiroshihorie deleted the experimental-pip-support branch September 6, 2023 08:54
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