Metadata

Used to represent media metadata.

struct Metadata {
    const char* channelId;
    unsigned int uid;
    unsigned int size;
    unsigned char *buffer;
    long long timeStampMs;
};

Properties

channelId
Channel name.
uid
User ID.
  • For receivers: the remote user ID that sent this Metadata.
  • For senders: ignore this field.
size
Buffer size of the Metadata.
buffer
Output parameter, indicates the buffer address of the received Metadata.
timeStampMs
Timestamp when sending Metadata (in milliseconds).