Marketplace API / Types

LivestreamParticipantRole

Enum

What part a participant plays in a livestream. The part decides the uid the participant joins on and what it may publish, so a client chooses neither.

This enum is only sent to the API, never returned by it, so a client never receives a value it does not recognize. More values may be added.

enum LivestreamParticipantRole

Values

  • COHOST_BOOSTER: Broadcasts audio beside the streamer and publishes no video. The microphone starts muted. Its audio is mixed into the recording, and it adds nothing to the recorded video. Refused unless the caller administers this storefront.
  • COHOST_INVITEE: Broadcasts audio and video beside the streamer. Its video appears in the recording, inset over the streamer's frame. Refused unless the caller accepted an invitation to co-host this livestream and has joined.
  • HOST: Broadcasts audio and video from a mobile application, and fills the recorded video frame. Refused unless the caller can produce this show: the streamer or a store staff member of the streamer, holding SELLER or higher in this storefront, who can go live in it. A streamer who cannot go live in this storefront is refused, and so is a caller whom this show kicked.
  • HOST_MONITOR: Watches the channel from a second device without publishing, while the show broadcasts from another device. It adds nothing to the recording. Refused unless the caller is this livestream's streamer.
  • HOST_OBS: Broadcasts audio and video from the studio browser, and fills the recorded video frame. OBS and other external encoders publish the same uid through an encoder key, not through this session. Refused unless the caller can produce this show: the streamer or a store staff member of the streamer, holding SELLER or higher in this storefront, who can go live in it. Refused with CONFLICT while an encoder key is active for this livestream.
  • VIEWER: Watches the channel and publishes nothing. Open to every caller except a signed-in user whom this show kicked.