RawVideoSinkConfig
public class RawVideoSinkConfig : SinkCoreConfig
Raw video sink configuration.
-
Dispatch queue into which callbacks are dispatched.
Declaration
Swift
public let dispatchQueue: DispatchQueue
-
Size of the frame queue;
0
for unlimited queue, otherwise older frames will be automatically dropped when the queue is full to make room for new frames.Declaration
Swift
public let frameQueueSize: UInt
-
Sink listener.
Declaration
Swift
public private(set) weak var listener: RawVideoSinkListener? { get }
-
Constructor with unlimited frame queue
Declaration
Swift
public init(dispatchQueue: DispatchQueue, listener: RawVideoSinkListener)
Parameters
dispatchQueue
dispatch queue into which callbacks are dispatched
listener
sink listener
-
Constructor
Declaration
Swift
public init(dispatchQueue: DispatchQueue, frameQueueSize: UInt, listener: RawVideoSinkListener)
Parameters
dispatchQueue
dispatch queue into which callbacks are dispatched
frameQueueSize
size of the frame queue;
0
for unlimited queue, otherwise older frames will be automatically dropped when the queue is full to make room for new frameslistener
sink listener