GLHKView

open class GLHKView : GLKView, NetStreamRenderer
extension GLHKView: GLKViewDelegate

A view that displays a video content of a NetStream object which uses OpenGL api. This class is deprecated. Please consider to use the MTHKView.

  • Undocumented

    Declaration

    Swift

    public static var defaultBackgroundColor: UIColor
  • Undocumented

    Declaration

    Swift

    open var isMirrored: Bool
  • A value that specifies how the video is displayed within a player layer’s bounds.

    Declaration

    Swift

    open var videoGravity: AVLayerVideoGravity
  • A value that displays a video format.

    Declaration

    Swift

    open var videoFormatDescription: CMVideoFormatDescription? { get }
  • Undocumented

    Declaration

    Swift

    override public init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override open func awakeFromNib()
  • Attaches a view to a new NetStream object.

    Declaration

    Swift

    open func attachStream(_ stream: NetStream?)

GLKViewDelegate

  • Undocumented

    Declaration

    Swift

    public func glkView(_ view: GLKView, drawIn rect: CGRect)