# Web RTC - Screen Capture

### Explanation of Web RTC - Screen Capture

The **Media Capture** and **Streams API**, often called the **Media Streams API** or **MediaStream API**, is an API related to [WebRTC](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) which provides support for streaming audio and video data. It provides the interfaces and methods for working with the streams and their constituent tracks, the constraints associated with data formats, the success and error callbacks when using the data asynchronously, and the events that are fired during the process.

> In short:
>
> This is a method that just screenshot on the video stream.

{% hint style="warning" %}
Quality of the image will be low.
{% endhint %}

### Supported Operating System

1. Android
2. iOS

### Image Requirements&#x20;

**Maximum Image Size**

* iOS = 720 x 1280
* Android = 480 x 640

### Sample HTML Code

{% file src="<https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FFXsyVFLMoCCSVvWqdyg0%2Fscreen_capture.rar?alt=media&token=5d8e383e-b9c0-4174-9254-9aadfc1609c8>" %}
