StreamScreenObject

public final class StreamScreenObject : ScreenObject, ChromaKeyProcessable
extension StreamScreenObject: HKStreamOutput

An object that manages offscreen rendering a streaming video track source.

  • Declaration

    Swift

    public var chromaKeyColor: CGColor?
  • The video is displayed within a player layer’s bounds.

    Declaration

    Swift

    public var videoGravity: AVLayerVideoGravity { get set }
  • Declaration

    Swift

    override public func makeBounds(_ size: CGSize) -> CGRect
  • Declaration

    Swift

    override public func makeImage(_ renderer: some ScreenRenderer) -> CGImage?

HKStreamOutput