FLVTag

public protocol FLVTag : CustomDebugStringConvertible

The interface of FLV tag.

  • The type of this tag.

    Declaration

    Swift

    var tagType: FLVTagType { get set }
  • The length of data int the field.

    Declaration

    Swift

    var dataSize: UInt32 { get set }
  • The timestamp in milliseconds.

    Declaration

    Swift

    var timestamp: UInt32 { get set }
  • The extension of the timestamp.

    Declaration

    Swift

    var timestampExtended: UInt8 { get set }
  • The streamId, always 0.

    Declaration

    Swift

    var streamId: UInt32 { get set }
  • The data offset of a flv file.

    Declaration

    Swift

    var offset: UInt64 { get set }
  • Initialize a new object.

    Declaration

    Swift

    init()
  • Read data of fileHandler.

    Declaration

    Swift

    mutating func readData(_ fileHandler: FileHandle)

CustomDebugStringConvertible

  • debugDescription Extension method

    Declaration

    Swift

    public var debugDescription: String { get }