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

Video Chat for Unity

Discussion in 'Assets and Asset Store' started by Jeremy-Alessi, May 6, 2013.

  1. Jeremy-Alessi

    Jeremy-Alessi

    Joined:
    Oct 18, 2007
    Posts:
    125
    Hello everyone! I just wanted to drop in and let everyone know that Video Chat 1.002 for Unity is now available on the Asset Store. Performance has been improved in a big way from version 1.001.

    There are YouTube videos of both versions so you can compare and you can also try it out in Swap Fire, a game I made for the 7 Day FPS Challenge last year. Integration was quick and easy, even into an old side project.

    Please check it out and integrate it into your Unity project today!

    http://u3d.as/content/midnight-status/video-chat/4k3
     
  2. jim3D

    jim3D

    Joined:
    Apr 29, 2013
    Posts:
    23
    Just checked your video.
    Did you make any tests with high res live video, say 720p?
     
  3. Jeremy-Alessi

    Jeremy-Alessi

    Joined:
    Oct 18, 2007
    Posts:
    125
    Depending on your platform and hardware requirements 720p is certainly possible. Video Chat allows for any resolution. That said, I think HD resolutions will require some special attention. Video Chat gives you a number of options to control video speed and quality. Whether they are enough to create engaging 720p streaming I do not know.

    I am working on more demos and further optimizations for Video Chat and I will post back here when I've got an HD sample.
     
  4. jim3D

    jim3D

    Joined:
    Apr 29, 2013
    Posts:
    23
    Thanks, looking forward to it!
     
  5. PAEvenson

    PAEvenson

    Joined:
    Nov 12, 2009
    Posts:
    47
    Pretty cool sir. Great job.
     
  6. Jeremy-Alessi

    Jeremy-Alessi

    Joined:
    Oct 18, 2007
    Posts:
    125
    Thank you very much!
     
  7. the_gnoblin

    the_gnoblin

    Joined:
    Jan 10, 2009
    Posts:
    722
    I see a white cylinder instead of opponent's face in the webplayer demo.
    What's wrong?

    Do you use only Unity's networking to stream the video?

    Awesome solution!

    thanks,
    Slav
     
  8. darkmax

    darkmax

    Joined:
    Feb 21, 2012
    Posts:
    83
    hi i'm interested in your plugin, but i have a question, it works for android, ios platforms?
     
  9. daisySa

    daisySa

    Joined:
    Dec 29, 2011
    Posts:
    341
    This looks great, but are there any plans to provide the source code with it?
     
  10. samim23

    samim23

    Joined:
    Sep 11, 2012
    Posts:
    60
    hey,
    does this plugin support one to many video streaming?
    If yes, i´ll pick it up today.
     
  11. erran-liu

    erran-liu

    Joined:
    May 13, 2013
    Posts:
    10
    Doesn't work on mine, a exception had been thrown from the DLL

    IndexOutOfRangeException: Array index is out of range.
    VideoChat.Add (UnityEngine.GameObject addObject, UnityEngine.AudioSource addAudioIn, UnityEngine.AudioSource addAudioOut)
    VideoChatExample+<Start>c__Iterator0.MoveNext () (at Assets/VideoChat/VideoChatExample.cs:58)
     
  12. Dalmia

    Dalmia

    Joined:
    Sep 7, 2012
    Posts:
    7
    is it posible to chat with multiple users....??on one to one only? :(
     
  13. retox

    retox

    Joined:
    Sep 12, 2012
    Posts:
    29
    Hi I keep getting 'Must have Photon installed to use this script' when loading the Photon demo. I have Photon installed and and configured the login codes separately. Any help would be appreciated.
     
  14. elgarstorm

    elgarstorm

    Joined:
    Dec 13, 2012
    Posts:
    3
    I am just testing an application using VideoChat and also encountered basically the same error as this. Mine was being thrown on the VideoChat.Init() method. It was weird because it worked on one machine and not another. Then I realized that the inbuilt webcam on the machine that was not working was not turning on (I think it had been turned off for testing with an external webcam). I plugged in a webcam and now it works as expected. My guess is that the initialize method for VideoChat is expecting to have a working webcam connected. If there is no webcam then it attempts to read from a null device, and so it breaks.
     
  15. TheRaider

    TheRaider

    Joined:
    Dec 5, 2010
    Posts:
    2,245
    I tried to email support and the address came back as broken.

    I was wondering if this could be used to display h264 streaming video?
     
  16. elgarstorm

    elgarstorm

    Joined:
    Dec 13, 2012
    Posts:
    3
    Hey,

    I have been working on an application using Unity 4.3. Recently we have been working on integrating VideoChat into this to provide the ability to have a video chat inside our application. Overall this has been working well, with the integration going very smoothly.

    However, we have run into a problem lately where the audio is routinely crashing for some unknown (and unreported) reason - to the point where the entire application freezes and we need to force quit. After hours spent trying to track down where this might be happening (and finding out nothing more than the fact that it is the audio, not the video, causing the problem) we decided to try the original demo from the package. So we loaded up the demo that uses the Unity networking (since that is what we are using at the moment for our networking) and discovered that this too crashed in exactly the same way. This verifies that the problem is not with our application but is happening somewhere inside VideoChat, which is most unfortunate.

    I was wondering if you had any thoughts on what might be causing this, and what we can do to overcome this problem.

    I have a feeling that this might be a hardware / driver related bug (in which case there is not a whole lot we can do about it apart from change hardware). At the moment we have been running things on a MacBook Pro and a MacBook Air, both of which are running OSX Mavericks and using the free version of Unity 4.3. We are going to try running on a pair of Windows machines to see if that solves the problem (and thus verifying that it probably is a hardware issue).
     
  17. daisySa

    daisySa

    Joined:
    Dec 29, 2011
    Posts:
    341
    Looks like abandonware - the developer doesn't appear to have logged in for over 8 months, and no answers to our questions... :(
     
  18. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,623
    And their support website is gone.

    Unity might want to do a little more checking before they put things on sale. ;)
     
  19. Arkade

    Arkade

    Joined:
    Oct 11, 2012
    Posts:
    653
    Yeah, just checked -- @jeremyalessi is active on FB broadcasting to Twitter so pinged him at the latter. If he can fix and answer that "many-to-many" question, this is quite interesting. Perhaps if he's no longer pursuing, he might consider open-sourcing? (hey, I can put it out there!)
     
  20. Omidja

    Omidja

    Joined:
    Jul 16, 2014
    Posts:
    19
    hi,i have problems too.
    1.i want send server sound to other client,for all!i changed codes but one of them hears me yet!
    2.i want send server webcam to other client that they havent Webcam device!
    tankyou!
     
  21. Omidja

    Omidja

    Joined:
    Jul 16, 2014
    Posts:
    19
    my company is ready to pay your work cost for writing:
    (In UnityNetwork)
    1.a script C# that Clients Can send themself voice to network (Internet) and every body can hear him!
    2.a script C# that clients Can Send WebCam to otherOne!one to one!for example i choise my friend "Jon" and i want send my webcam to him!but he hasnt webcam!
    please help us!
     
  22. Omidja

    Omidja

    Joined:
    Jul 16, 2014
    Posts:
    19
    my error when a client hasnt webcam
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. VideoChat.PreVideo ()
    and he cant see other webcam
    how can i solve it?
     
  23. JermyAker

    JermyAker

    Joined:
    Aug 4, 2014
    Posts:
    17
    Has anyone converted this to work with Unity 5 UNET?
     
  24. pabloHatzi

    pabloHatzi

    Joined:
    Jan 30, 2015
    Posts:
    7
    Your product does not work in unity 2017!
    I bought the product and then read the manual that you recommended photon!
    Unity must remove your product from asset store
     
    Sec12345 likes this.