# 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](https://docs.digitalsamba.com/reference/sdk/events/recordingstopped), 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](https://docs.digitalsamba.com/reference/sdk/methods/startrecording) method.
{% endhint %}
