Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am using skype web sdk to initiate and receive skype calls. The problem is that when i make/receive a call for the first time the video of skype call is displayed but there is some error also in console log regarding polyfills uncaught promises. due to this issue when i make/receive call the 2nd time the video is not displayed. If i refresh the application then it again works but one time only. I am using angular 7.

Error after skype call connects

Quote:
[object Error]: {description: "Uncaught (in promise): [object Undefined]", message: "Uncaught (in promise): [object Undefined]", promise: Object, rejection: undefined, stack: "Error: Uncaught (in promise): [object Undefined] at resolvePromise (http://localhost:4200/polyfills.js:8385:25) at Anonymous function (http://localhost:4200/polyfills.js:8295:17) at reject (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:42241:33) at createCb (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:47235:25) at start (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:47007:25) at startAsync (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:47161:25) at Anonymous function (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:47347:33) at ZoneAwarePromise (http://localhost:4200/polyfills.js:8464:17) at configureTransportAsync (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:47337:25) at Anonymous function (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:50068:29) at ZoneAwarePromise (http://localhost:4200/polyfills.js:8464:17) at _completeNegotiationAsync (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:50049:25) at completeNegotiationAsync (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:50436:25) at ucwaEventHandlers[audioVideoInvitation completed] (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:53487:41) at onServerEvent (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:53316:33) at Event.prototype._invoke (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22154:29) at Event.prototype._fire (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22185:25) at Event.prototype.fire (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22142:21) at Anonymous function (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:34685:37) at Event.prototype._invoke (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22154:29) at Event.prototype._fire (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22185:25) at Event.prototype.fire (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:22142:21) at notifyListeners (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:31368:33) at Anonymous function (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:31303:37) at Task.prototype.exec2 (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:21516:29) at Task.prototype.exec (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:21496:21) at dequeue (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:21271:25) at process (https://latest-swx.cdn.skype.com/v/1.125.43/js/skype-web-sdk.js:21292:21) at ZoneDelegate.prototype.invokeTask (http://localhost:4200/polyfills.js:7976:13) at Zone.prototype.runTask (http://localhost:4200/polyfills.js:7749:21) at ZoneTask.invokeTask (http://localhost:4200/polyfills.js:8052:17) at invokeTask (http://localhost:4200/polyfills.js:9298:9) at globalZoneAwareCallback (http://localhost:4200/polyfills.js:9324:17)"...}


What I have tried:

I implemented the functionality in javascript and plain html file separately for testing and it works fine no matter how many times i make/receive call. But in angular 7 i am using typescript and its creating the issue there.
Posted
Updated 22-Jun-19 7:04am

1 solution

From what I see, I believe this is a problem with SDK, as it does not state where in your code the exception is being raised—the line number is above 8k. It would be good if you can create an issue with Skype SDK team and check how they respond.

It would be nice if you can share the code that you are actually using to make the requests for calls, maybe we can tell what is missing, but in most cases Skype support is your best bet.
 
Share this answer
 
Comments
Member 14359787 21-Aug-19 14:27pm    
Thank you Afzal i will follow up with microsoft support then

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900