- Home /
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!
Answer by Brophy237 · Nov 30, 2020 at 05:57 AM
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.
Your answer
Follow this Question
Related Questions
Interested in a Unity Plugin that does H.264 streaming? 2 Answers
Wowza and Unity3d intergration 0 Answers
Jittering render in simple 2D scene 0 Answers
Problem with excessive shake when animating 2D content 0 Answers
Change Depth Range? 0 Answers