locked
Video Chat in app

    Question


  • So I want to include video chat inside of my application. I've seen Simple Communication, but the actual chatting with someone else feature doesn't work on my tablets.  I have one Win 8 laptop so I can't test it with myself. Anyone else have this issue/have an idea on how to test it. I'm using the C++/JS version considering I'm developing my app in JS. 

    Thanks.

    Monday, May 20, 2013 12:36 PM

All replies

  • What isn't working? Please provide specific details and repro steps.

    You need two systems with cameras (they don't have to be tablets) to test this.

    --Rob

    Tuesday, May 21, 2013 4:35 PM
    Owner
  • Yes I know they don't have to be tablets. I only have one Windows 8 laptop with a webcam. Then I have two Windows 8 pro surfaces.  I installed Visual Studio Express on both of the tablets, i have Visual Studio Pro on my laptop.  When i do it on the tablet this is the repro:

    1. Open SimpleCommunication

    2. Change the Debug from ARM format to x64

    3. Run the application

    4. Starting the preview works just fine

    5. Click "2) Video Chat"

    6. Under "Output" the text blinks between green text saying "Tap 'Call' button to start call" and blue text saying "Capture error code: Error"

    Maybe it's because I'm running it on Visual Studio Express?

    Tuesday, May 21, 2013 6:48 PM
  • VS Express shouldn't make a difference here. If you debug the app what line generates the error?

    Does this occur only on one of the machines or on all?

    --Rob

    Wednesday, May 22, 2013 3:41 AM
    Owner
  • It only breaks on the two tablets, and they both have VS Express. It breaks in videochat.js on line 172. 

    _onMediaCaptureFailed: function (e) {
                SdkSample.formatError(e.detail, "Capture error code: ");
    
                if (!this._isTerminator) {
                    this._isTerminator = true;
                    this._endCall();
                }
            },

    Thursday, May 23, 2013 3:45 PM
  • any idea? I haven't gotten a response on the example page either: http://code.msdn.microsoft.com/windowsapps/Simple-Communication-Sample-eac73290/view/Discussions
    Monday, June 3, 2013 7:33 PM