MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
millicast::SeiUserUnregisteredData Class Referenceabstract

Holds a User Data Unregistered Sei message. More...

#include <metadata.h>

Inheritance diagram for millicast::SeiUserUnregisteredData:
Inheritance graph
[legend]
Collaboration diagram for millicast::SeiUserUnregisteredData:
Collaboration graph
[legend]

Public Member Functions

SeiMessageType type () const final
 
SeiUserUnregisteredDatasei_user_unregistered_message () override
 Get the SeiMessage as UserUnregisteredSeiMessage. This will only work if the type of the message is SeiMessageType::UNREGISTERED_USER_DATA.
 
virtual std::array< uint8_t, UUID_SIZEuuid () const =0
 Returns the uuid of the message.
 
virtual const std::vector< uint8_t > & user_data () const =0
 Gets the user data contained in the messge.
 
- Public Member Functions inherited from millicast::SeiMessage
virtual SeiMessageType type () const =0
 
virtual SeiUserUnregisteredDatasei_user_unregistered_message ()
 Get the SeiMessage as UserUnregisteredSeiMessage. This will only work if the type of the message is SeiMessageType::UNREGISTERED_USER_DATA.
 
virtual SeiPicTimingsei_pic_timing_message ()
 Get the SeiMessage as PicTimingSeiMessage. This will only work if the type of the message is SeiMessageType::PIC_TIMING.
 
virtual ~SeiMessage ()=default
 

Static Public Attributes

static constexpr unsigned int UUID_SIZE = 16
 The length in bytes of the UUID.
 

Detailed Description

Holds a User Data Unregistered Sei message.

Member Function Documentation

◆ sei_user_unregistered_message()

SeiUserUnregisteredData * millicast::SeiUserUnregisteredData::sei_user_unregistered_message ( )
overridevirtual

Get the SeiMessage as UserUnregisteredSeiMessage. This will only work if the type of the message is SeiMessageType::UNREGISTERED_USER_DATA.

Returns
Pointer to UserUnregisteredSeiMessage

Reimplemented from millicast::SeiMessage.

◆ type()

SeiMessageType millicast::SeiUserUnregisteredData::type ( ) const
finalvirtual

Get the type of this Sei Message.

Implements millicast::SeiMessage.

◆ user_data()

virtual const std::vector< uint8_t > & millicast::SeiUserUnregisteredData::user_data ( ) const
pure virtual

Gets the user data contained in the messge.

Returns
An array of bytes containing the user data.

◆ uuid()

virtual std::array< uint8_t, UUID_SIZE > millicast::SeiUserUnregisteredData::uuid ( ) const
pure virtual

Returns the uuid of the message.

Returns
Array of bytes describing the uuid.

Member Data Documentation

◆ UUID_SIZE

constexpr unsigned int millicast::SeiUserUnregisteredData::UUID_SIZE = 16
staticconstexpr

The length in bytes of the UUID.


The documentation for this class was generated from the following file: