VideoView

public class VideoView : NSView

A view in which a video stream will be rendered. This is derived from NSView for the MacOS SDK and derived from UIView for the iOS SDK. While the stream is active, the video associated with the stream will be rendered in this view. You should add this view as a subview in your user interface to display the video.

  • The actual UIImageView used to render each frame of the video stream. This is created automatically by the SDK.

    Declaration

    Swift

    @objc
    public var frameView: NSImageView?
  • A low level object containing the raw image data. Only populated if enableVideoStream in the MeetingSDK singleton is called with an optional third argument (lowLevel) of true. Currently this data will be in RGB888 format, but in future versions of the SDK will allow this format to be specified.

    Declaration

    Swift

    @objc
    public dynamic var imageData: Data
  • The streamId associated with this video view

    Declaration

    Swift

    @objc
    public var streamId: String
  • if set to true (default), video frames will be actively processed for this VideoView. If set to false, the VideoView will not process video frames coming from the underlying video engine.

    Declaration

    Swift

    public var isEnabled: Bool { get set }