Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 2.13 KB

roomuserpayload.md

File metadata and controls

22 lines (17 loc) · 2.13 KB

RoomUserPayload

Example Usage

import { RoomUserPayload } from "livepeer/models/components";

let value: RoomUserPayload = {
  name: "name",
  canPublish: true,
  canPublishData: true,
};

Fields

Field Type Required Description Example
name string ✔️ Display name name
canPublish boolean Whether a user is allowed to publish audio/video tracks true
canPublishData boolean Whether a user is allowed to publish data messages to the room true
metadata string User defined payload to store for the participant