> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# meetingSessionState()

> Returns the current meeting session state, including shared data and network topology.

`meetingSessionState()`

Returns any shared data set via [`setMeetingSessionData()`](https://docs.daily.co/reference/react-native/instance-methods/set-meeting-session-data) and the current network topology.

This method is synchronous — it does not return a Promise.

## Return value

Returns `DailyMeetingSessionState`:

**data** `unknown`

Shared session data set by any participant via `setMeetingSessionData()`.

**topology** `string`

Current network topology: `'sfu'`, `'peer'`, or `'none'`.

## Example

```javascript theme={null}
const { data, topology } = call.meetingSessionState();
console.log('Shared data:', data);
console.log('Topology:', topology);
```

## See also

> [card] Methods
>
> * [setMeetingSessionData()](https://docs.daily.co/reference/react-native/instance-methods/set-meeting-session-data.md)
> * [meetingSessionSummary()](https://docs.daily.co/reference/react-native/instance-methods/meeting-session-summary.md)

> [card] Events
>
> * [meeting-session-state-updated](https://docs.daily.co/reference/react-native/events/messaging-events.md#meeting-session-state-updated)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.