QNConferenceRepository

public class QNConferenceRepository
extension QNConferenceRepository: ReactiveCompatible

Represents a conference

Properties

  • True if the user was invited to the room

    Declaration

    Swift

    public var invited: Bool { get }
  • Current user media constraints

    Declaration

    Swift

    public var userConstraints: [(constraint: QNConferenceConstraint, muted: Bool)] { get }
  • Incoming invitation identifier

    Declaration

    Swift

    public var incomingInvitationId: String? { get }
  • QSS room identifier

    Declaration

    Swift

    public var roomId: String { get }

API

  • View rendering local video if user is sharing video

    Declaration

    Swift

    public func userView(frame rect: CGRect, metalRender: Bool) -> UIView?

    Parameters

    rect

    Rect for UIView

    metalRender

    Use metal library for video view

    Return Value

    UIView rendering local video

  • View rendering remote video if participant is sharing video

    Declaration

    Swift

    public func viewFor(remoteParticipant: QNConferenceParticipant, frame rect: CGRect, metalRender: Bool) -> UIView?

    Parameters

    participant

    Participant

    rect

    Rect for UIView

    metalRender

    Use metal library for video view

    Return Value

    A UIView rendering remote video if participant is sharing it