Swift

Integrate with Vonage Video Manager

In your VonageVideoManager.swift, create an instance of the custom renderer and assign it to the publisher:

Key Points:

  • Create a single instance of CustomVideoRender (reuse it, don't create multiple instances)
  • Assign it to publisher.videoRender before publishing
  • Add the renderer's view as a subview of the publisher's view
  • Use a Wrap helper to display UIView in SwiftUI