TSReader
public class TSReader<T> where T : TSReaderDelegate
The TSReader class represents read MPEG-2 transport stream data.
-
Specifies the delegate object.
Declaration
Swift
public weak var delegate: T?
-
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()