BaseWebRtcProvider

protocol BaseWebRtcProvider

This is a base interface to a native call provider that allows you to use them dynamically.

  • returns a special type from the LiveKit provider , otherwise just UIView

    Declaration

    Swift

    func newVideoView() -> UIView?
  • attaching the video view from the provider to the call UI

    Declaration

    Swift

    func attachVideoTrackToView(participantId: String, num: Int, videoView: inout UIView?, _ isCallUI: Bool)
  • stop and dispose of the controller

    Declaration

    Swift

    func resetPiPController()