Platform docs
Auth, users, webhooks & more

Permission requests

The default component to display a list of permission requests from other call participants is called PermissionRequests. The component takes care of:

  1. listing the permission requests if the user has permissions to grant permissions
  2. displaying the buttons to grant or ignore the permission requests
Default UI of permission request notification
Default UI of permission requests listing

General usage

The default component is just rendered without passing any props:

import { PermissionRequests } from "@stream-io/video-react-sdk";

const MyComponent = () => {
  // omitted code ...

  return (
    /* omitted code ... */
    <PermissionRequests />
    /* omitted code ... */
  );
};

Customization

The component is not customizable through props, only by applying CSS to elements it renders.

Note:

To learn more about creating custom permission requests listings, see our permission requests customization guide.

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video React v1: <Your Question>