Render video from MediaStream

Hi I am working on a web targeted app.

I am trying to use the browser’s screen capture API to get the media stream and show it on a plane in Unity. I have figured out how to send data from JS to Unity using the jslib solution.

I have also checked that we can get blobs of stream data using this. Now, I am trying to figure out how this data can be rendered in Unity? Any help is appreciated!

The MediaStream Recording API is comprised of a single major interface, MediaRecorder, which does all the work of taking the data from a MediaStream and delivering it to you for processing. The data is delivered by a series of data available events, already in the format, you specify when creating the MediaRecorder. You can then process the data further or write it to file as desired paycheckrecords.