Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 2.5 KB

roomuserupdatepayload.md

File metadata and controls

20 lines (15 loc) · 2.5 KB

RoomUserUpdatePayload

Example Usage

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

let value: RoomUserUpdatePayload = {
  canPublish: true,
  canPublishData: true,
};

Fields

Field Type Required Description Example
canPublish boolean Whether a user is allowed to publish audio/video tracks (i.e. their microphone and webcam) 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