Skip to content
Platform docs
Auth, users, webhooks & more
Info:
This is beta documentation for Stream Video React Native SDK v2. For the latest stable version, see the latest version (v1).

StreamCall

Declarative wrapper around Call objects. Uses StreamCallProvider to make call and state available to child components.

General usage

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

export const App = () => {
  const call = /* ... */;

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

Props

call

Stream's Call instance propagated to the component's children as a part of StreamCallContext. Children can access it with useCall() hook.

Type
Call