Metadata

Media metadata.

struct Metadata {
    const char* channelId;
    unsigned int uid;
    unsigned int size;
    unsigned char *buffer;
    long long timeStampMs;
    Metadata() : channelId(NULL), uid(0), size(0), buffer(NULL), timeStampMs(0) {}
    };

Attributes

channelId
The channel name.
uid
The user ID.
  • For the recipient: The ID of the remote user who sent the Metadata.
  • For the sender: Ignore it.
size
The buffer size of the sent or received Metadata.
buffer
The buffer address of the received Metadata.
timeStampMs
The timestamp (ms) of when the Metadata is sent.