IMediaClock

Interface for media framework clocks.

Choose your operating system:

Windows

macOS

Linux

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaClock.h

Include

#include "IMediaClock.h"

Syntax

class IMediaClock

Remarks

Interface for media framework clocks.

Destructors

Name Description

Public function Virtual

~IMediaClock()

Virtual destructor.

Functions

Name Description

Public function

void

 

AddSink

(
    const TSharedRef< IMediaClockSink, ...
)

Add a media clock sink.

Public function Const

FTimespan

 

GetTimecode()

Get the clock's current time code.

Public function Const

bool

 

IsTimecodeLocked()

Whether the clock's time code is locked to an external time source.

Public function

void

 

RemoveSink

(
    const TSharedRef< IMediaClockSink, ...
)

Remove a media clock sink.