Metadata

Media metadata.

export class Metadata {
  channelId?: string;
  uid?: number;
  size?: number;
  buffer?: Uint8Array;
  timeStampMs?: number;
}

Properties

channelId
Channel name.
uid
User ID.
  • For receivers: ID of the remote user who sent this Metadata.
  • For senders: Ignore this field.
size
Buffer size of the received or sent Metadata.
buffer
Buffer address of the received Metadata.
timeStampMs
Timestamp when the Metadata is sent, in milliseconds.