Swift

Understanding the Architecture

The custom video renderer consists of three main components that we will create in the next steps:

  1. CustomVideoRender - Implements the OTVideoRender protocol
  2. CustomRenderView - A UIView subclass that processes and displays video frames. It will be embedded in SwiftUI with a simple wrapper.
  3. VonageVideoManager - Manages the Vonage session and connects the renderer to the publisher
OTPublisher → CustomVideoRender → CustomRenderView → Display