webrtc is not working on azure hsoting - azure

i am doing video conferencing in webrtc. and chat application in signalR. the video conferencing is working locally but when i host the application the conferencing on azure it is not working but signalR chat App is working properly. suggest me another hosting site for webrtc applications.

are you using https? Chrome only allows getUserMedia for secure origins with an exception for localhost.

Related

WebRTC getUserMedia not working for hosted application

I hosted a simple webRTC project(js,css files) in a public server. Although I can access my camera and mic when I hosed the project locally, getUserMedia does not access my camera and microphone when I hosted it in a public server and access via a url.
Is there anyway to access a local stream when the web is remotely accessed via URL?

Azure web and mobile app (shared API)

I'm currently in the planning process for a mobile app I'd like to build, with a companion web app. The Mobile app and the Web app will share common data (for example, users can take a questionnaire in the mobile app or take the same questionnaire on the web app).
I've used Azure a couple of years ago to create and host a web app, but this is my first venture in mobile development. I'm trying to wrap my head around the architecture in Azure for hosting the API.
I've searched high and low, but either can't find a definitive answer to my question, or am not quite understanding what I am reading on the subject.
Basically: Where would my API live in Azure? Would I create a Mobile App in my App Service, which hosts the shared web API? Then create a Web App in the app service, and use something like RESTSharp to access the API from the web app?
AFAIK, Web Apps and Mobile Apps are just different types of Azure App Service Apps which use to host the relevant applications (e.g. WebApps host website,webapi and MobileApps serve as the mobile backend service). Basically, they are the same and the difference between them is the app type and the Quickstart tutorial for them.
For mobile development, you could leverage the relevant SDKs (server-side and client-side) provided by Mobile Apps. You could also deploy your mobile backend application to Azure Web Apps to get the Mobile Functionality.
For Web Apps, you could follow here to build your web application and deploy to web app. For Mobile Apps, you could follow here to build your mobile backend and the tutorials for building your mobile client project.
Basically: Where would my API live in Azure? Would I create a Mobile App in my App Service, which hosts the shared web API? Then create a Web App in the app service, and use something like RESTSharp to access the API from the web app?
AFAIK, for Azure Mobile Apps backend, you could choose Node.js or C#. The relevant server SDKs provide out-of-the-box CRUD operations against the table. I would use the Mobile Apps SDKs to build my backend project and provide the ability to do operations on the specific table and the custom Web API to handle other operations. For your web app, you could use RESTSharp or just leverage the client SDKs provided by Azure Mobile Apps to communicate with your mobile backend endpoint (hosting on a web app or a mobile app).
For C# mobile app backend and mobile client side tutorials, you could follow adrian hall's book here.
For Node.js related mobile backend development, you could follow 30 DAYS OF AZURE MOBILE APPS.

secure connection from mobile device to application server

I am after a little bit of help.
I have a mobile application that currently runs on both iOS and Android. this application uses in house APIs to do most of the back end work.
I have a need to start using some legacy services that sit within the back end servers in my company.
I have proposed that we use a new application server that will sit in the DMZ and this will run an application that will contact the services and get me the data i need.
My question is how can i ensure that the connection from the Mobile device to this application server is secure? what protocol should i use?
thanks in advance.
If the Application Server exposes an HTTP-based end-point which the Mobile app calls, then it can be secured by SSL. Based on the flavor of your Application Server, look into how to setup an SSL-endpoint and your mobile app can then talk to the SSL-enabled HTTP endpoint (HTTPS).

Azure Mobile App Service

I would like to create a mobile app with Xamarin Forms and would like to use the new Azure Mobile App PaaS service. This mobile app shall be available also to users which uses my services from a web site and not only from a mobile device.
In regards to Authentication how can I have a single authentication point available either from a web site as well as from the mobile app?
Does anyone have suggestions on how to design this architecture?
The Azure App Service, the Mobile Apps backend service is really just a Web API running in Web Apps (think web site + mobile goodness), with all features of App Service sharing the same authentication endpoint. This means that any authentication you setup for mobile device clients can also be used by a web site. This topic should point you in the right direction: https://azure.microsoft.com/documentation/articles/app-service-mobile-auth/

MVC SignalR app acting as a hub for a WPF app

If I build a website that has a built-in SignalR hub (single IIS site), such as http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with-signalr-and-mvc,
can I use other apps to connect to it, such as WPF or whatnot. My impression is that I would need a standalone SignalR hub that runs on its own, on a different port.
You can use the same host. If you use windows auth you need to setup the credentials on the WPF client.
You can look at my WPF demo that uses Caliburn Micro for MVVM and my SignalR library for a MVVM/Aggregation friendly way of using SignalR
https://github.com/AndersMalmgren/SignalR.EventAggregatorProxy/tree/master/SignalR.EventAggregatorProxy.Demo.DotNet

Resources