Setup SipSorcery Server - c#

I am new in SIP Programming, while searching on Google "voip sdk c# open source github", I got reference of sipsorcery. I had downloaded it and try to play with samples but I am unable to execute it. I had search tutorials on google and youtube but I can't found any.
https://github.com/sipsorcery/sipsorcery
Please someone guide if I have to implement sipsorcery (Video and Audio Call) then How can I setup Server, which support to multiple client.
Thanks in advance,

Best way to get started are the example applications:
Get Started Audio,
Get Started Video you will need something to call such as MicroSIP.
All the examples are .NET Core or Framework applications and can be generally be executed from the command line with dotnet run. If you have problems with them, or the library, I'd recommend the asking on the GitHub Issues page.
Also note that the sipsorcery project is library not a Server application. It can be used to build server applications but the only ones available in the repo are examples.

Related

How to send data from iOS to C# using "remoting" library?

// question
I have an existing c# program that uses Microsoft .net's "remoting" SDK.
I want to send some data from a new iOS app to this c# program.
The existing c# program is huge (with existing clients) and I am not sure if rewriting the entire thing in asmx is a good idea.
I have looked at other online sources, they all say no, but some mentioned Xamarin (wfc server).
Xamarin.Forms Connection to Wcf Service from iOS
I don't mind converting to iOS app to Xamarin, but just want to get some expert opinion before going ahead.
I am also open to other options as well.
Thank you very much for you help.
// what I have tried
I have looked at various stack-overflow posts & online sources and tried to use regular soap request instead, but I realized that this requires restructuring of entire c# codebase.
I would like to know if there is a smarter way to do this.
// update
I've tried Xamarin and it keeps crashing for some reason... when I try to use .dll reference.

Connect to CEN/XFS device from C#

I'm trying to connect my C# application to Encrypted PIN Pad through CEN/XFS.
I installed and read protocol documentation from CEN website. During my research I read that I should use msxfs.dll to connect to XFS Manager which is build in C language (at least that what I read), and there is no documentaion regarding this dll as Microsoft don't own it, and it follow CEN standards.
I'm lost and looking for some guidance regarding my starting point:
Should I copy msxfs.dll beside my application and start calling msxfs.dll functions depending on CEN specicifations.
Or I'm moving in the wrong path, and there is another way to build integration?
If anyone has any article or tutorial regarding how to connect to CEN/XFS using C# that will be very helpful, all the samples I found was through using j/xfs or they were describing how to build SPI functions not how to consume API functions.

UWP's Windows.Devices.Perception sample app

I can't seem to find any samples demonstrating the use of the Windows.Devices.Perception APIs. There doesn't seem to be one in the UWP SDK samples. Also, information is scarce other than the Microsoft API doc.
Is this API deprecated or still active?
I am trying to work out how to use the API.
Is this the recommended way to get the depth/infra frames or is the recommended way using the Windows.Media.Capture APIs?
Ok after closer look at the Microsoft API docs for this namespace. I can see it is tagged as Deprecated. So I guess the Windows.Media.Capture is the correct way to grab the infra frames now.

Google YouTube API example not working

I wish to use Google YouTube API. I am following this example: https://developers.google.com/youtube/v3/code_samples/dotnet#upload_a_video
I have used package manager to download the api (https://www.nuget.org/packages/Google.Apis.YouTube.v3/1.7.0.94-beta) but I see that the code doesn't work as the apis must have changed.
For example the namespaces have changed and the functions in the code is not recognised.
Does anyone know how to get this working?
I cannot leave a comment because i don't have enough reputation.
Please make sure you're using NuGet to install the latest client library and the related assemblies into your project. See https://developers.google.com/api-client-library/dotnet/get_started#setup

Using Mapnik in .net environment

Has anybody used Mapnik for rendering Maps from .net c# environment? I would like to use it to render maps in a desktop application developed under .net4. I found it the best open source map renderer tool, much more better, than the well known sharpmap, dotspatial (...). The 'only' problem is that it was written in C++ and Python and does not have a trivial way to use it from C#.
Do you know any .net Mapnik wrappers? Do you know any sample code?
I've just published my attempts in C# bindings.
They are available at: http://sourceforge.net/projects/mapniknet/
Some good new about Mapnik-.Net integration:
"Another thing that will help Windows developers is a way to use Mapnik from .Net languages. Although a full .Net wrapper is too much work besides all the other issues, hopefully I can make a meaningful start and open the door for .Net developers to leverage Mapnik in their applications."
Source: Mapnik homepage http://mapnik.org/news/2011/jun/09/gsoc_2011_windows_build_system_introduction/
NET-Mapnik
You might want to give this a try. Its pretty recent and has a simple example with options to create vector tiles.
https://github.com/kernelsanders/NET-Mapnik
So, finally I hacked it. Not a nice solution, but it works at least. In nutshell it operates in the following way:
developed a python script, which takes parameters as command line arguments. (using python api of mapnik)
call this python script by shell fom c# code (Process)
after map image has been generated, I show it in SharpMap as a background layer
In case of any map refresh (zoom, pan) I regenerate 'mapnik map layer'. I have also some kind of cache, in which I can store generated maps, so I can make tricks by using earlier generated map images or pre-generate them (e.g. generate maps for the next zoom level when user uses zoom tool). I also use some asynchron calls to do this, so I can create 1-3 map images paralelly.
The weak part of this solution is the communication between python and c# modules. I could not find better than command line arguments + shell.
My solution works, mapnik is fast, can genarate my maps less than a sec.
If you have any advice on .net - python communication (NO ironpython, it is not suitable for manik api), pls write it here. Thx.
Do you know about TAO Project?
It is a .Net project that takes unmanaged opengle library to .Net Managed Form by calling DllIMport() in C#.
You must do it for Mapnik, simaliar to TAOFramework.net

Categories

Resources