Metadata
Media metadata
public class Metadata
{
public Metadata()
{
buffer = new byte[0];
}
public Metadata(uint uid, uint size, byte[] buffer, long timeStampMs)
{
this.uid = uid;
this.size = size;
this.buffer = buffer;
this.timeStampMs = timeStampMs;
}
public uint uid { set; get; }
public uint size { set; get; }
public byte[] buffer { set; get; }
public long timeStampMs { set; get; }
};
Attributes
- uid
-
User ID.
- For the receiver: The user ID of the user who sent the Metadata.
- For the sender: Ignore this value.
- size
- The buffer size of the sent or received Metadata.
- buffer
- The buffer address of the sent or received Metadata.
- timeStampMs
- The timestamp (ms) of the Metadata.