OfficeDev / skype-ios-app-sdk-samples

This repository contains Objective C and Swift samples powered by the Microsoft Skype for Business App SDK.
MIT License
46 stars 23 forks source link

Audio & Video do not work with Lync 2013 backend server #32

Open YZSheng opened 8 years ago

YZSheng commented 8 years ago

Hi,

We are experiencing an issue with Lync 2013 backend. When we use iOS AppSDK version 0.7.1 together with the Banking Sample App (Objective-C), we could join a meeting with IM modality with Lync 2013 backend. However, we were not able to start audio/video. Instead we got the following error in console logs.

2016-11-14 02:30:09.681 BankingApp[317:19fcd9000] INFO APPLICATION CUcmpAudioVideoModality.cpp:5542 CUcmpAudioVideoModality::startNegotiation() called for type 2 2016-11-14 02:30:09.947 BankingApp[317:19fcd9000] ERROR APPLICATION CUcmpAudioVideoModality.cpp:5555 CUcmpAudioVideoModality::startNegotiation returned E_GetMediaSdpFailed (E3-7-7) 2016-11-14 02:30:09.947 BankingApp[317:19fcd9000] INFO APPLICATION CUcmpAudioVideoModality.cpp:5485 CUcmpAudioVideoModality::prepareOffersForOutgoingCall() failed with E_SdpNoMedia. Aborting the call 2016-11-14 02:30:09.947 BankingApp[317:19fcd9000] INFO APPLICATION CUcmpAudioVideoModality.cpp:1272 CUcmpAudioVideoModality::stop() called. 2016-11-14 02:30:09.947 BankingApp[317:19fcd9000] INFO APPLICATION CUcmpAudioVideoModality.cpp:8186 CUcmpAudioVideoModality::stopAudioInternal() called. callTerminationReason = FailedStartAudioStream

When we try to join a meeting hosted on Skype for Business backend server, IM, Audio and Video all work fine.

Can you please let us know the backend server requirements for iOS App SDK to work?

Setup: Xcode 8.0 iPhone 6S Plus iOS 9.2 iOS AppSDK version 0.7.1

Thank you.

alexisconia commented 7 years ago

Hi,

As mentionned on this mdsn thread, do you set "enablepreviewfeatures" to true to enable Skype for Business on prem ? (I have tried on Lync Server 2013 backend, and it's working as well) https://msdn.microsoft.com/en-us/skype/appsdk/download

YZSheng commented 7 years ago

Hi @alexisconia, yes I have set "enablepreviewfeatures" to true.

May I check in your test, whether both Lync Edge server and Lync Pool are running Lync 2013?

Thanks.

alexisconia commented 7 years ago

Hi @YZSheng yes they are! Full Lync 2013 Architecture