TSReader

public class TSReader

The TSReader class represents read MPEG-2 transport stream data.

  • Specifies the delegate object.

    Declaration

    Swift

    public weak var delegate: (any TSReaderDelegate)?
  • Create a new TSReader instance.

    Declaration

    Swift

    public init()
  • Reads transport-stream data.

    Declaration

    Swift

    public func read(_ data: Data) -> Int
  • Clears the reader object for new transport stream.

    Declaration

    Swift

    public func clear()