Classes

The following classes are available globally.

  • Class representing Control Timestamps reported by the DVB-CSS Timeline Synchronisation protocol. It provides operations to serialise and de-serialise control timestamps.

    See more

    Declaration

    Objective-C

    @interface ControlTimestamp : NSObject <NSCoding, NSCopying>

    Swift

    class ControlTimestamp : NSObject, NSCoding, NSCopying
  • A DVB-CSS Timeline Synchronisation protocol client implementation. A TSClient object will connect to a DVB-CSS Timeline Synchronisation protocol server and negotiate to receive timestamps from a selected timeline on the Timeline Synchronisation protocol server host. The protocol messages are exchanged via a WebSockets connection. The TSClient notifies other objects when new control timestamps are received in 2 ways: 1) via callbacks to a TClient delegate 2) via notifications kTSNewCRTLTimestampNotification

    See more

    Declaration

    Objective-C

    @interface TSClient : NSObject

    Swift

    class TSClient : NSObject
  • Class to build a Timeline Synchronisation setup message Uses JSONModel library for serialisation to JSON and deserialisation from JSON.

    See more

    Declaration

    Objective-C

    @interface TSSetupMsg

    Swift

    class TSSetupMsg
  • A timeline synchroniser class. This will try to synchronise a programme timeline via timeline progress updates reported via the DVB-CSS TS protocol. The programme timeline is represented as a CorrelatedClock with parent clock as the WallClock. An example of this timeline is a PTS ticks timeline that a CSS-TV playing a broadcast MPEG2 Transport Stream can report progress on.

    A Control Timestamp represents a new correlation for the programme timeline: {WallClock time, Content time, speed}.

    Please note that TimelineSynchroniser is not a singleton. It is perfectly possible to have multiple TimelineSynchroniser instances, each synchronising a different programme (e.g. programmes with ads, interstitials)

    See more

    Declaration

    Objective-C

    @interface TimelineSynchroniser : NSObject

    Swift

    class TimelineSynchroniser : NSObject