> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/stoprecording.md).

# stopRecording()

Stops the recording of the meeting. The result **mp4** file will be available in your team dashboard soon after it is processed.

```javascript
sambaFrame.stopRecording();
```

The related event is [recordingStopped](/reference/sdk/events/recordingstopped.md), if you want to be informed when a recording is stopped.

{% hint style="info" %}
The method call will be ignored if recordings are not enabled for the room or if a room recording is not in progress.
{% endhint %}

**Sample use cases**:&#x20;

* You may want to control recording of the meeting, so participants can review it after. Especially useful in educational scenarios.

{% hint style="info" %}
**stopRecording** is often used in conjunction with [startRecording](/reference/sdk/methods/startrecording.md) method.
{% endhint %}
