Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Videochat

Discussion in 'Scripting' started by BusterBlader, May 17, 2012.

  1. BusterBlader

    BusterBlader

    Joined:
    Apr 23, 2012
    Posts:
    79
    Hey Guys!

    I have a question: How can I make a Web Player with a videochat where you can see all "chatting" users?

    Thx
    Buster
     
  2. PhobicGunner

    PhobicGunner

    Joined:
    Jun 28, 2011
    Posts:
    1,813
    If you're still interested in something like this, I have a voice chat solution I'm working on (see sig for a link), and I'm currently working on video chat functionality (the audio part is already mostly done) and hope to have an update on the asset store soon.

    EDIT: I've decided to drop the video chat. This is something I don't think is currently feasible in Unity. I can generate webtextures fine, I can serialize those across the network, and I can receive them, the only problem is actually getting those into a Texture2D, which generally involves SetPixels32 or LoadImage and Texture2D.Apply. Slow slow slow. Even running the video at 10FPS still brought my 60FPS demo down to 5FPS. Since my only other option is to lock out DirectX users altogether (OpenGL hacks), I'm just going to drop it.
    I guess at this point we can only put in feature requests for this stuff.
     
    Last edited: Oct 18, 2012
  3. Jeremy-Alessi

    Jeremy-Alessi

    Joined:
    Oct 18, 2007
    Posts:
    125