Virtual Webcam for Live Streaming - New Asset Proposal

Hi!

We had an idea to create a plugin for Unity that would create a virtual webcam on your system and stream the Unity visuals and audio to the virtual camera.

  • This would allow developers you easily share their Unity development progress over a Skype/Hangout chat with other deverlopers/publishers.
  • It would also allow developers to expose their game as a virtual webcam so that their players could easily stream their live game play uStream/JustinTV etc.
  • Finally it would easily expose Unity game output to other software video such as Virtualdub, After Effects etc and this could be used to make recordings.

We’re just not sure if this is something that anyone would want… Do you think something like this would be useful? Comments?

Yes, if you could do this with acceptable performance on mobile

This would be for PC only to start with…Mac support coming later if there’s enough interest. Mobile support I’m not sure about as I don’t know whether we could create a virtual webcam…

bump any interest?

This is interesting. I am a little new to unity, trying to figure out how a game can be shared to Skype via a virtual webcam driver. Can you elaborate more on how you plan to stream unity visuals to a virtual camera? I am particularly trying to figure out how to render Unity output buffer to a DirectX surface so that it can be sent to a AV stream driver filter. Is your approach something similar?

Yes, we would write a native plugin to grab the Unity output from the GPU frame buffer or render target and then steam it to our virtual webcam device so that 3rd party apps (like Skype or a web streaming app) could broadcast the Unity output.

So far there doesn’t seem to be a great deal of interest so I’m not sure this is something people actually want/need :slight_smile:

I’m actually very interested in this.

I would love to see a demo. Yes I am interested.

I also think this would be very useful.

In this moment I need some like that!

Having the possibility to render Unity to a virtual Webcam would offer a lot of possibilities. I also need something like that. Does it it exist already?

Did anything ever come to fruition with this project?

https://github.com/mrayy/UnityCam

1 Like

@leavittx I’ve used that, and it worked well (been around a year since I tried it, though). Looks like it’s been updated since then. There’s another one here (GitHub - schellingb/UnityCapture: Streams Unity rendered output to other Windows applications as virtual capture device), that seems to be an improvement overall, but unfortunately that one doesn’t seem to work with firefox in case you need your camera to work in that browser.

@Straafe Thanks for pointing me out to UnityCapture! I think I’ve seen it recently, but haven’t tried yet. UnityCam didn’t worked too nice - got it working inside OBS, but not Zoom or Skype (they both are 32-bit apps IIRC). Did you have any luck with the latter apps with UnityCapture? That’s my goal more or less

It’s definitely worth a shot, it seemed like an improvement over UnityCam except for the fact that it didn’t work in Firefox. Btw, if OP ever did restart this asset/project, I’d still be interested.

I need this urgently, for Windows and Mac. I’ve been looking for a professional solution for a while now, not very successfully.

I need this !!Now live streaming is very popular !

Do you have this on sell?

I need HDRP support,can’t find any solution

Does it support MAC? or does UnityCam supports MAC?