Skip to content

Conversation

@ipavlidakis
Copy link
Contributor

No description provided.

Introduce stream_enable_rendering_backend GN arg to isolate Stream-specific
rendering changes. When enabled, build a new shared Metal backend target and
swap in an NV12-capable ObjC frame buffer bridge; otherwise keep upstream
objc_frame_buffer unchanged.

- add RTCSharedMetal* view/context/adapter and wire RTCVideoRenderingView
  to use it on iOS when RTC_STREAM_RENDERING_BACKEND is set
- add maxInFlightFrames to RTCVideoRenderingView and forward to backend
- gate NV12 wrappers and ObjC frame-buffer policy to stream builds only
- move NV12 policy implementation to objc_frame_buffer_stream.mm and keep
  objc_frame_buffer.mm clean
- export NV12 headers only when the stream flag is enabled
- add comments to clarify gating and platform behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants