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.

To learn more about creating custom permission requests listings, have a look at our permission requests customization guide.

© Getstream.io, Inc. All Rights Reserved.