Skip to main content

Ringing call

The component RingingCall is designed to represent incoming or outgoing ring call. The default implementation displays:

  • call member avatars
  • call connection status
  • call control buttons to accept or cancel the call
Default incoming call panel
Default incoming call panel
Default outgoing call panel
Default outgoing call panel

General usage

import { Call, RingingCall, StreamCall } from '@stream-io/video-react-sdk';

const MyRingingCallUI = () => {
let call: Call;

return (
<StreamCall call={call}>
<RingingCall />
</StreamCall>
);
};

Ringing call controls

The RingingCall component features CancelCallButton to reject/cancel the outgoing/incoming call and in case of incoming call panel, also AcceptCallButton is displayed.

Props RingingCall

includeSelf

TypeDefault
boolean | undefinedfalse

Whether to include the current user in the list of members to show.

totalMembersToShow

TypeDefault
number | undefined3

The maximum number of members to show.

Props RingingCallControls

None

Customization

If you want to create your own ringing call panel, have a look at our ringing call panel customization guide.

Did you find this page helpful?