MediaTimestamp

public struct MediaTimestamp

本ライブラリで使用される、タイムスタンプを格納する構造体。

  • サンプルデータのタイムスタンプ。

    Declaration

    Swift

    public var sample: TimeInterval
  • ntp

    NTPサーバーと同期したクロックをもとにしたタイムスタンプ。

    Declaration

    Swift

    public var ntp: TimeInterval
  • rtc

    ローカルのRTCをもとにしたタイムスタンプ。

    Declaration

    Swift

    public var rtc: TimeInterval
  • Declaration

    Swift

    public init(sample: TimeInterval, ntp: TimeInterval, rtc: TimeInterval)