Describes timed metadata that is contained at a specific time within the media.
#include <player/YiAbstractVideoPlayer.h>
Public Member Functions | |
TimedMetadata () | |
Public Attributes | |
CYIString | identifier |
CYIString | value |
std::chrono::microseconds | timestamp |
std::chrono::microseconds | duration |
std::map< CYIString, CYIString > | additionalData |
CYIAbstractVideoPlayer::TimedMetadata::TimedMetadata | ( | ) |
Creates an initialized TimedMetadata object.
Provides additional data associated with the timed metadata. This data is contextual to the identifier.
std::chrono::microseconds CYIAbstractVideoPlayer::TimedMetadata::duration |
The time duration for which the metadata is relevant within the media.
CYIString CYIAbstractVideoPlayer::TimedMetadata::identifier |
Identifies the metadata value contents. For example when the metadata is of the ID3 format this may be a frame type such as TXXX or PRIV. When the metadata is a DASH Event Message the identifier will be EMSG.
std::chrono::microseconds CYIAbstractVideoPlayer::TimedMetadata::timestamp |
The presentation time at which the metadata is located within the media.
CYIString CYIAbstractVideoPlayer::TimedMetadata::value |
The metadata value. The value contents will match that described by the identifier.