Code Monkey home page Code Monkey logo

skype-web-sdk-samples's Introduction

Microsoft Skype for Business Web SDK

The Microsoft Skype Web SDK provides multiple APIs from Microsoft Skype for Business through a JavaScript library. Using the Web SDK, your web app can use Skype for Business conversations and contact lists.


NOTE: You are free to use this code and library according to the terms of its included LICENSE and to open issues in this repo for unofficial support.

Information about official Microsoft support is available here.


There are two examples that demonstrate how to use the Skype for Business SDK to connect to and use information.

Setup

For instructions for setting up and running the Skype for Business SDK samples, see these topics:

Contributing

You will need to sign a Contributor License Agreement before submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to submit a request via the form and then electronically sign the Contributor License Agreement when you receive the email containing the link to the document. This needs to only be done once for any Microsoft OSS project.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.

skype-web-sdk-samples's People

Contributors

chbighammsft avatar davidchesnut avatar laschultz avatar lindalu-msft avatar microsoft-github-policy-service[bot] avatar nokafor avatar o365devx avatar sivijaya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skype-web-sdk-samples's Issues

creating users programatically

Is there anyway to create a user programmatically using the web sdk apis? Anyway to create a group programatically as a administrator user and set defaults to who the users are assigned to those groups?

How to set phoneUserAdmission property?

Thanks for this SDK code sample it was VERY useful to my company.

We are able to schedule the meeting but now are trying to set the phoneUserAdmission property to enabled and then get a conference ID that is a numerical value like: 88359341 for phone call in to the conference

My question is:
Does anyone know exactly how to SET/PUT the phoneUserAdmission property using the javascript websdk?

When I make a request to the set using: meeting.phoneUserAdmission.set("Enabled").then I get the following error in the response: {"code":"BadRequest","subcode":"ParameterValidationFailure","message":"Please check what you entered and try again.","parameters":[{"name":"phoneUserAdmission","reason":"Invalid"}]}

Any help would be greatly appreciated as I have been stuck on this for several days

My full code:
function createMeeting() {
var client = window.skypeWebApp;
var meeting = client.conversationsManager.createMeeting();
meeting.accessLevel("Everyone");
meeting.attendees([]);
meeting.leaders(["sip:[email protected]"]);
meeting.onlineMeetingUri.get().then(function (uri) {
//Meeting created
meeting.phoneUserAdmission.set("Enabled").then(
function (idk) {
//works
},
function (idk2) {
//Fail
});
meetingURL = meeting.joinUrl._value;
$("#meetingURL").html("Your Meeting URL is:
" + meetingURL + "
Your Meeting ID is:
");
}, function (reason) {
//Rejections
console.log('the reason: ' + reason);
});
}

can't login into skype web api

I have an issue with signing into Skype account using login and password. I have used code from Skype Web SDK docs(https://docs.microsoft.com/en-us/skype-sdk/websdk/docs/getapientrysignin).


 <!doctype html>
    <html>
    <head>
      <title>My Skype Web SDK app</title>
      <script src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"></script>
    </head>
    <body>
      <script>
        Skype.initialize({ apiKey: 'a42fcebd-5b43-4b89-a065-74450fb91255' }, api => {
          var app = new api.application;

          app.signInManager.signIn ({
            username: '****',
            password: '****'
          }).then(() => {
            console.log("signed in as", app.personsAndGroupsManager.mePerson.displayName());
          }, err => {
            console.log("cannot sign in", err);
          });
        }, err => {
          console.log("cannot load the sdk package", err);
        });
      </script>
    </body>
    </html>

The POST request is sent, but API returns nothing. Can anybody advice?

Message sent appears twice in chat-service script

Hello,
I am just trying to see how the SDK works, I have launched the chat-service while logged as [email protected] (as mentionned in the msdn doc ). I then tried to chat with my personnal skype fo business acount.
I can send and receive message but the message sent appears twice (but send only once).
I resolve the problem by changing this function : https://github.com/OfficeDev/skype-web-sdk-samples/blob/master/SkypeWebSDKOnlineSample/UI/samples/scripts/chat-service.js#L97
by that :

 conversation.historyService.activityItems.added(function(message) {
    if (message.type() == 'TextMessage') {
        if (message.direction() == 'Incoming' ) {
            historyAppend(XMessage(message));
        } else if (message.direction() == 'Outgoing' && message.status() === "Succeeded") {
                historyAppend(XMessage(message));
        }
   }

});

The message was first appended to the chat zone because of the "Pending" message, then added again because of the "Succeedeed" message.
I don't know if it's a legit way to handle this issue, but it may help.

403 error.

Succeed signin, but oauth request was 403 error.

client.personsAndGroupsManager.mePerson is undefine.

Do you have any good solutions in regards to it?

2016-05-30 17 50 41

Audio Video not working in IE, Chrome and Firefox

I tried to run Audio Video functionality from IE 11, Chrome 55.xx and Firefox. But it does not seem to work in any of the browsers. I have installed Skype for Business Web App Plug-in as well but it does not seem to make any difference.
On the other hand Audio Video works well on Windows 10 + Edge.
Is there anything additional that needs to be done in order to make it work on browsers except Edge. Please let me know.

Sending Files Via Instant Messaging

I've noticed that within a Conversation's chatService there is no attachments Collection or addAttachment Command. From my understanding, the only way to send an IM is by using the sendMessage Command which only accepts text.

I was wondering if it was currently possible to attach files to messages via the Skype for Web SDK?

Thank you

How can I get all contacts from Office 365?

Hi, is there any way I can get all users from Office 365, not only ones that were added to my contacts list. For example, I have 10 users in my Office 365, and added two of them in my contacts list in Skype. When I call personsAndGroupsManager.all.persons.get() I receive only my two contacts.
Same happens when I get all my groups personsAndGroupsManager.all.groups.get() and retrieve contacts from each of them group.persons.get(). Only two contacts that were added previously are retrieved.

Is there a way to get all my 10 contacts? I saw OWA Skype app able to do that as it shows all the contacts from Office365 on Contacts pane.

SignIn Issues

I'm attempting to integrate Skype for Business into my existing AngularJS web application and I am unable to sign in. My question is, what exactly are the prerequisites for developing web applications for Skype for Business Online and/or Skype Web SDK?

I've tried implementing the steps from https://msdn.microsoft.com/en-us/library/office/mt622687(v=office.16).aspx as well as this blog post that covers the same steps http://blog.thoughtstuff.co.uk/2016/03/skype-web-sdk-online-setting-everything-up-step-by-step-guide/ and yet I am faced with various lync discovery issues (see below).

The first failed request:

image

This error is followed by an infinite loop that sends the following request (see below) approximately every three seconds:

image

However, if I leave out the part in the development document that calls signInManager.signIn with my application's Azure AD clientId and try signing in solely with the oauth2 access token I get the following errors (see below; P.S. I get the same errors if I set the domain to my Azure AD tenant, i.e. longbowadvantage).

image

Similarly, if I go to the online interactive Skype SDK demo at https://ucwa.skype.com/websdk# and attempt to authenticate with password, I get the following error (see below).

image

These errors all seem to be related to lync discover/autodiscover which leads me to believe that I am missing some prerequisites, however it is my understanding that if I am authenticating via Azure AD then Office 365 handles the Lync/Skype for Business servers and I believe my app is properly registered on Azure AD since I have already integrated Outlook (O365) into my web application which required me to register my app on Azure AD.

Any suggestions/feedback would be very much appreciated.

How to setup Skype Web SDK to accept login from database of Users from personal db

Hi all, I have an issue. I am a newbie to the Skype Web SDK and O365 development. I am trying to integrate the Skype web sdk with my ASP.NET Core Web app. I have registered and confirmed ASPNETUsers in my Database, I want to setup the Skype Web SDK to enable skype once a user is signed into the app and he/she can talk with another registered user in the ASPNETUser database table. From the tutorials I have seen, it caters to only office 365 work accounts or special domain email addresses.
Please any help will be greatly appreciated.

Unable to view the user image

I checked in the on premise sample code. I am getting a URL in
person.avatarUrl.get().then(function(imgUrl) {
console.log("IMG URL:: " + imgUrl);
});
However, unable to see the user image. I am getting a 404 not found in the browser console. Also, if I copy paste this url in the browser, I get:

403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.

FYI: I am able to view the user image in my Lync Application, logged in with the same user. So, I am assuming 401 unauthorized access isn't really the root cause.

Can someone please help me in fixing it.

Conference multi party video conversation not working (conference.js has issue)

I am working for Skype for business online using Skype web sdk. I am trying to create multi party video conversation i.e video conference.

I am using below code to create conversation.

var conversation = app.conversationsManager.createConversation(); //created conversion
//self video listener
conversation.selfParticipant.video.state.changed(function (newState, reason, oldState) {
    notify("selfParticipant.video.state : "+newState)
});
//self audio listener
conversation.selfParticipant.audio.state.changed(function (newState, reason, oldState) {
    notify("selfParticipant.audio.state :"+newState);
});
//listner for conversion state
conversation.state.changed(function (newValue, reason, oldValue) {
    notify("conversation.state : "+newValue)
});

//add participants
addParticipants(conversation,sip_uris); //Added participants

notify("conversation.videoService.maxVideos : "+conversation.videoService.maxVideos());
notify("conversation.videoService.videoMode : "+conversation.videoService.videoMode());
//start video service
conversation.videoService.start().then(function () {
    notify("Video conference successfully started : "+conversation.uri());
},function (error) {
    notify("Video conference start failed : "+error);
});

And logs of above code as bellow

1:26:51 PM : selfParticipant.video.state : Disconnected
1:26:51 PM : selfParticipant.audio.state :Disconnected
1:26:51 PM : conversation.state : Created
1:26:51 PM : conversation.videoService.maxVideos : null
1:26:51 PM : conversation.videoService.videoMode : ActiveSpeaker
1:26:52 PM : conversation.state : Conferenced
1:26:53 PM : selfParticipant.audio.state :Connecting
1:26:53 PM : selfParticipant.video.state : Connecting
1:27:04 PM : selfParticipant.audio.state :Connected
1:27:04 PM : selfParticipant.video.state : Disconnected
1:27:04 PM : Video conference successfully started

I am having two issues.

  • conversation.videoService.maxVideos showing as null (my browser details - chrome Version 56.0.2924.87 (64-bit)).

  • selfParticipant.video.state getting Disconnected, but selfParticipant.audio.state is fine(changing to connected).

Same question I have asked stackoverflow, no solution.

Skype web SDK logs

Any help appreciated.

SfB-Online: mePerson does not return info about logged user

Hi guys,

I can login into Skype for Business Online. However, I cannot retrieve any info about the logged user (email, presence, photo, etc). Do I need to add some configuration to Azure AD or this functionality is not currently supported?

Thanks

Adding Participants to Conversation

I am unable to add participants to a Conversation and I was wondering if anybody could provide some insight, is this a bug?

I am attempting to do so by a function resembling this (as per
https://github.com/OfficeDev/skype-web-sdk-samples/blob/master/SkypeWebSDKOnlineSample/UI/samples/scripts/conference.js#L106):

function addParticipant(conversation, user) {
    var participant = conversation.createParticipant(user);
    conversation.participants.add(participant);
}

It appears to work for about a fraction of a second as the conversation.participantsCount and conversation.participants get updated properly, but then immediately the values return to those previous to the add participant attempt.

By extension of this issue, I am unable to start a conversation with multiple participants. Also, in order to start a conversation I must proceed as such:

var conversation = client.conversationsManager.getConversation(person);

Which is actually the suggested usage as per https://github.com/OfficeDev/skype-web-sdk-samples/blob/master/SkypeWebSDKOnlineSample/UI/samples/scripts/chat-service.js#L92

As opposed to starting a conversation as such:

function createConversation(user) {
    var conversation = client.conversationsManager.createConversation();
    var participant = conversation.createParticipant(user);
    conversation.participants.add(participant);
}

skype web sdk sign-in

I'm trying to sign-in into the sample web SDK project. https://ucwa.skype.com/websdk

I have everything set up in the Azure portal all necessary permissions for skype business are provided also the oauth2allowimplicitflow is set up to true.

As suggested in the AzureAD login I have setup the reply URL to https://ucwa.skype.com/websdk.

But I'm getting the below error:

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: 'e9a70a77-0663-4f53-9f98-fc1a5467b18d'

audio /video call get disconnected

i have implemented skype web sdk sample i am facing a problem regarding video /audio calling whenever i call a user which it get disconnected i have check this issue with different browser install there plug-in still the issue is same
screenshot 1

Skype web control stopped working

I've noticed the web control stopped working a couple of days ago. When clicking on the chat bubble, nothing happens. Here is some sample code:

<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>

Also, I had a question. Does a user need Skype installed on their device for the control to work? (I do have Skype installed on my test machine.)

History lost after refreshing my web app

Hello,

I've an issue with skype web control. After refreshing my web app (asp.net mvc), the meeting history is lost and not displayed in the web control.

Does someone have any idea?

Thanks

Skype logs out with 401 error if Office 365 is logged out on same browser

I am logged in to Skype for Businesson my AngularJS application, through Microsoft Outlook account, and am facing the issue that if I open Office 365 in a new browser, log out of my Microsoft Outlook account account and then refresh my AngularJS application, Skype will have logged out on my application. Is there any possible fix for this?

Console displays 401 error:
GET https://webdirca1.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user 401 (Unauthorized)

Accepting call from response group in chrome

When accepting the call from response group, there is an error saying:

sdk.js:12219 23:17:42:352 [MEDIA]  webrtc: onsignalingstatechange signalingState: have-remote-offer
sdk.js:12219 23:17:42:476 [MEDIA]  WebRtcAudioVideoSession(1d0f70440e2e4)::accept failed DOMException: Failed to set remote offer sdp: Session error code: ERROR_CONTENT. Session error description: rtcpMuxPolicy is 'require', but media description does not contain 'a=rtcp-mux'..

Is there a way to workaround this? Is there a special way to handle incoming calls from response group?

Having odd sign-in issue

We have one user who can run the samples and our demos just fine, but when they sign-in to another profile on the same PC, same user, we receive the login/authentication issue/error that other individuals are complaining about when they are not using Office 365 accounts. This is, however, a tested and proven Office 365 account that works perfectly in other devices via Edge. We are also aware of the requirement for adding the URL to the Trusted Sites setting in IE as well. Attaching error message received when trying to login to the samples and our demo apps with the notorious, "Can't sign in, please check the user name and password" error. Any help would be great!

Screenshots attached, error message below in console using my own Office 365 E5 account:

HTML1300: Navigation occurred.
UI
HTTP401: DENIED - The requested resource requires user authentication.
(XHR): GET - https://webdir1b.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user
SCRIPT5007: Unable to get property 'onConfigurationLoaded' of undefined or null reference
905_1.2.15.0 (1,5)
code=OAuthFailed&url=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fauthorize%3Fresponse_type%3Dtoken%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26redirect_uri%3Dhttp%253A%252F%252Fmychartsample.azurewebsites.net%252FUI%252F%253Fauto%253D1%2526ss%253D0%2526cors%253D1%2526client_id%253D1320dbff-db54-4bbb-bd90-522295aa3dea%2526origins%253Dhttps%253A%252F%252Fwebdir.online.lync.com%252Fautodiscover%252Fautodiscoverservice.svc%252Ftoken.html%26resource%3Dhttps%253A%252F%252Fwebdir1b.online.lync.com%26state%3D10f6fc962111e8.1%26prompt%3Dnone&error=login_required&error_description=AADSTS50058%3A+User+account+identifier+is+not+provided.%0D%0ATrace+ID%3A+99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7%0D%0ACorrelation+ID%3A+df0bd932-7aa2-4e61-8304-041564c61051%0D%0ATimestamp%3A+2016-04-20+23%3A41%3A37Z&state=10f6fc962111e8.1
eval code (4) (115,13)
{
[functions]: ,
proto: { },
code: "OAuthFailed",
description: "OAuthFailed",
error: "login_required",
error_description: "AADSTS50058: User account identifier is not provided.
Trace ID: 99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7
Correlation ID: df0bd932-7aa2-4e61-8304-041564c61051
Timestamp: 2016-04-20 23:41:37Z",
message: "OAuthFailed",
name: "Error",
stack: "code=OAuthFailed&url=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fauthorize%3Fresponse_type%3Dtoken%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26redirect_uri%3Dhttp%253A%252F%252Fmychartsample.azurewebsites.net%252FUI%252F%253Fauto%253D1%2526ss%253D0%2526cors%253D1%2526client_id%253D1320dbff-db54-4bbb-bd90-522295aa3dea%2526origins%253Dhttps%253A%252F%252Fwebdir.online.lync.com%252Fautodiscover%252Fautodiscoverservice.svc%252Ftoken.html%26resource%3Dhttps%253A%252F%252Fwebdir1b.online.lync.com%26state%3D10f6fc962111e8.1%26prompt%3Dnone&error=login_required&error_description=AADSTS50058%3A+User+account+identifier+is+not+provided.%0D%0ATrace+ID%3A+99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7%0D%0ACorrelation+ID%3A+df0bd932-7aa2-4e61-8304-041564c61051%0D%0ATimestamp%3A+2016-04-20+23%3A41%3A37Z&state=10f6fc962111e8.1
at Task.prototype.exec2 (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:4427:29)
at Task.prototype.exec (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:4403:21)
at Anonymous function (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:3865:50)",
state: "10f6fc962111e8.1",
url: "https://login.windows.net/common/oauth2/authorize?response_type=token&client_id=1320dbff-db54-4bbb-bd90-522295aa3dea&redirect_uri=http%3A%2F%2Fmychartsample.azurewebsites.net%2FUI%2F%3Fauto%3D1%26ss%3D0%26cors%3D1%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26origins%3Dhttps%3A%2F%2Fwebdir.online.lync.com%2Fautodiscover%2Fautodiscoverservice.svc%2Ftoken.html&resource=https%3A%2F%2Fwebdir1b.online.lync.com&state=10f6fc962111e8.1&prompt=none"
}
2016-04-20_18-41-53
2016-04-20_18-42-10

Join meeting anonymous - Cannot read property 'init' of undefined

When I'm try the sample to yoin a meeting anonymous, I get the following error:

Uncaught TypeError: Cannot read property 'init' of undefined(…)
Unhandled exception at line 58893, column 9 in https://latest-swx.cdn.skype.com/v/1.64.37/js/skype-web-sdk.js

It seems something goes wrong with local storage?

This happens when I try to run the sample from my own server (hosting the samples in IIS) and when try it from https://ucwa.skype.com/websdk

I hope someone can look in to this issue.

skype web sdk

Also have similar issues, working on developing a contact centre application using onpremises sfb, but having issues with authentication.

Skype for business CU8

I have successfully installed SFBS 2015 6.0.9319.537.
I have this test project "https://github.com/OfficeDev/skype-web-sdk-samples/tree/master/SkypeWebSDKOnPremSample" with skype web sdk, then I have run videoservice.start() so the response was timeout, with CU7 I did not have this problem. Following the code: $('#startNewVideoMeeting').click(function () {
var conv, dfd, meetingUri, error;
conv = client.conversationsManager.createConversation();
$('#newMeetingUri').val("");
dfd = conv.videoService.start().then(function () {
meetingUri = conv.uri(); $
('#newMeetingUri').val(meetingUri);
$(".c-add-p-container").removeClass('hide'); },
function (reason) {
// rejection error = reason;
}); });
Response: Code: InvitationFailed
Error: The operation was timed out. at Anonymous function (https://latestswx.cdn.skype.com/jLync/master_0.4.940/sdk.js:25361:41) at Task.prototype.exec2 (https://latest-swx.cdn.skype.com/jLync/master_0.4.940/sdk.js:5721:29)
Description: The operation was timed out.
Can you help me, please?
Best regards Francesco

Skypeforlinux freezes frequently

It freezes if window is not focused and message comes in. It also freezes if I chat with one person and message comes in from someone else. Seems like it freezes as soon as the channel to which message is comming in is not focused.

Can't sign in to OnlineSample

I am on Office365 Essentials and using Edge. When I attempt to sign in on the "index" login page, it works once and asks me to authorize the app to my skype for business account. After this I get
Sorry, but we’re having trouble signing you in. We received a bad request.

Does the sample not work locally?

Leaving Conversation Feature Disabled

Hi,

When attempting to leave a conversation via conversation.leave() or attempting to stop an IM modality via conversation.chatService.stop() nothing happens.

When examining the conversation BaseModel, via for example skypeWebApp.conversationsManager.conversations.get() it can be seen that both methods leave() and chatService.stop() have the enabled property set to false.

Could we be provided with an explanation as to why this is the case and/or if this feature is or is to be in development?

Thank you in advance.

Joining a Conference Anonymously

Hi,
I got these error with try to signIn (Anonymously)
GET https://lyncdiscoverinternal.mdfronts.com/xframe net::ERR_NAME_NOT_RESOLVED
GET https://lyncdiscover.mdfronts.com/xframe net::ERR_INSECURE_RESPONSE

Code:
` var hasToken = /^#access_token=/.test(location.hash);
var hasError = /^#error=/.test(location.hash);
var client;
var client_id = '9c9eb6f0-5207-4888-b873-50dc041802d8';

    testForConfigAndSignIn({
        "client_id": client_id,
        "origins": ["https://webdir.online.lync.com/autodiscover/autodiscoverservice.svc/root"],
        "version": 'skypeforbusiness/1.0.0',
        "redirect_uri": 'token.html'
    });

    $("#connect").click(function () {
        var uri = $("#url").val();

        client.signInManager.signIn({
            version: 'skypeforbusiness/1.0.0',
            name: "Abdul Basit",
            meeting: uri
        }).then(function () {
            var conversation = client.conversationsManager.getConversationByUri(uri);

            conversation.chatService.start().then(function () {
                conversation.chatService.sendMessage("Hi");
            });
        });
    });


    function testForConfigAndSignIn(options) {
        Skype.initialize({
            apiKey: '9c967f6b-a846-4df2-b43d-5167e47d81e1'
        }, function (api) {
            client = api.UIApplicationInstance;
        }, function (err) {
            console.log(err);
        });
    }`

Multiple meetings in different tabs at the same time

Is it possible to have multiple skype conversation controls (referencing this: https://msdn.microsoft.com/en-us/skype/websdk/docs/ptuicontrolsconversationcontrol) joined to different meeting uris on different tabs of the browser at the same time? Every time I try it, I immediately get kicked out of both rooms (it says "user has left the room") and in my network tab I can see a lot of 404s firing:

skype-web-sdk.js:31753 GET https://webpoolsn11a13.infra.lync.com/ucwa/oauth/v1/applications/11999020930/events?ack=2&key=c2lwOmprdWVmbGVyQHBpdHRzdGF0ZS5lZHU%3D-11999020930-ZGVmYXVsdA%3D%3D 404 (Not Found)

Has anyone else been able to do this? Any guidance?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.