Lync server clientless audio video - silverlight

I wish to make a web based IM system for a website with Lync server, it must have audio and video capabilities though. Is this possible? I understand you cannot do it with the UCWA Web API for Lync, but can you use Silverlight and the Lync SDK to achieve this? Or must all computers that use audio video have the lync client installed?

Currently the only way to do this is for all computers to have the Lync client installed.
UCWA currently only does IM and Presence. Voice and Video IS coming to UCWA and is expected this year. (announced at Lync Conference 2014 keynote)
The Silverlight controls require Lync on the machine - they won't work without it.

Related

Connect to SIP server from React Application for audio and video video communication

I'm new to the world of VoIP. I've built a client side app in Reactjs that needs to connect with a SIP server to make and receive calls. Any help on how to connect to the SIP server and how to steam audio and video.
react-native-jssip should offer the JavaScript SIP extension:
https://www.npmjs.com/package/react-native-jssip
Then you need to setup a SIP server with websocket/webrtc support, like Asterisk, FreeSwitch or Kamailio. For the latest, instructions for a sample deployment are available at:
https://github.com/havfo/WEBRTC-to-SIP

Lync Client SDK 2013 : Skype for Business File Attachement

I'm trying to log the file name when attaching the file in skype for business by using Lync Client SDK 2013.
I used the ContentSharingModality's ModalityStateChanged and ContentAdded event.
My problem is that this ContentSharingModality's event only raised successfully on a online meeting
but this cannot raised when normal IM,Audio/Video Call.
Could you advice the best solve of my problem?
Thank you.
Content sharing is a feature of the conference server so it's only available in meeting conversations. It's not available in one-to-one conversations.
As soon as you add content in the Lync Client UI your conversation is auto-upgraded to a meeting conversation. If your using the Lync Client SDK you have to upgrade the conversation in code before you can start to use the ContentSharingModality or you have to detect the conversation being converted to a meeting conversation before you can use the ContentSharingModality.

How to make external emoticons on Lync

I want to make external emoticons(I got images, like jpeg, png, whatever I want to import),
and I want to import to Microsoft Lync application.
I heard that there is a Lync SDK for developing Lync application, but I don't know it can be used what I want to make.
Does anybody have any idea use external emoticons in my chat on Lync?
You could definitely create a lync client using the lync SDK and replace certain placeholders like :mynewemoticon: with an image.
You'd have to Listen to the conversation events and do the replace on the Conversation's MessageReceived events.
Transferring images through the existing lync requires setting up a sort of tcp file transfer and is not really what you're after.
You can't modify the existing Lync client to do this - none of the SDKs are designed to let you modify the client in this way.
As Chris has already said, if you really want to achieve this then you'd have to write your own Lync client...which you can do using the Lync Client SDK and UI Suppression Mode. But, you'd then be responsible for writing all parts of the client: signing in, sending and receiving messages, handling calls, conferences, etc.

Does the new Microsoft Lync 2010 Client API work in non-IE browsers?

I'm writing a Silverlight app that uses the Lync 2010 Client API to communicate with the Lync 2010 Client. Works fine in Internet Explorer, but in Chrome/Firefox i get this:
Microsoft.Lync.Model.UnsupportedBrowserException:
Browser doesn't support ActiveX
at Microsoft.Lync.Model.LyncClient.HandleJavascriptException(String
error)
at Microsoft.Lync.Model.LyncClient.EnsureOfficeIntegration()
at Microsoft.Lync.Model.LyncClient.GetClient()
at LyncSilverlightApplication2.Page.button1_Click(Object
sender, RoutedEventArgs a)
The documentation hints that the API might only work in IE: "Internet Explorer 7 and Internet Explorer 8 currently support Lync Controls." This statement doesn't really exclude other browsers and the API could be independent from the controls. But still.
So; Does the new Microsoft Lync 2010 Client API work in non-IE browsers?
Unfortunately, no - the Lync API will only work in ActiveX enabled browsers - the Silverlight controls use ActiveX under the hood to talk to Lync.
The recommended way to achieve cross-broswer functionality is to create a back-end service using UCMA 3.0, and expose this to your web pages over e.g. WCF.
See mine and George Durzi's answers to this question for a bit more info.
You get an error about ActiveX so apparently the Lync API uses ActiveX. That technology is only available in Internet Explorer I'm afraid.
Some browsers offers plugins to enable ActiveX but I'm not sure it will solve your problem.
According to Wikipedia, most of the plugin options for FireFox are out of date. In general, ActiveX implies IE only.

How get data from Microsoft Outlook with Silverlight?

I need to get information from Microsoft Outlooks calendar to show it on calendar application which I made with Silverlight.
I can get all needed information with Silverlight 4 but in trusted mode and my application must be installed on users computer and work as Desctop application.
But I need for my application to work on browser.
Is it possible or the only way is using it as Desctop application?
Thanks.
No, you can't. The best that you can do is to create a web service to communicate with Silverlight and then an Outlook add-in to communicate with that web service.
I did it with WebDav server. I published my calndar to WebDav server. Calendar is on .ics format so I can read all information from it as with other files and then parse it.
My WCF service is on the same computer in which is WebDav so I can get all needed information with Silverlight. I decided to use this version because in this case user have no need to install .Net freamework on his computer. I also found that user can publish his calendar from internet so this version do what I need.
#Otaku thanks for your answer, it was very nice solution and it is the best version for people who can't(or don't want) use WebDav.
Here is how to publish it.
EDIT: In this case calendar opens as readonly because it located on server and cannot be synchronized with existing calendar without add-in, so #Otaku's answer is right.
My version can be used if you don't need synchronization.

Resources