Limited devices Login's like Netflix - authentication

I am trying to build a video streaming platform and I need to implement a limited devices login feature just like netflix. I have seen some people using node device detector to get the device type from the useragent, but I don't think this is a good solution since the user agent can be faked. Please any ideas on how to effectively implement this?

Found a solution to my own answer, I can use fingerprint.js to identify devices and store in mongodb. and I found an open source version for fingerprint.js that is broprint.js

Related

Send real-time video via wifiSend

I would like to make a personal application to be installed on two iPhones. The first to be used as a webcam that transmits to the second via wifi.
Having no experience with xCode, I am looking for a code example to connect 2 devices via wifi and transmit a real-time video stream.
Unfortunately, the documentation and examples I found are deprecated or partial and inconsistent.
Where can I find some code examples to help me solve my problem, preferably in ObjectiveC (but also in Swift)?
Thank you

Is there any way to send data to cumulocity without physical devices

Finding a way to push data to cumulocity without physical devices
I am trying to find a way to push data to cumulocity without physical devices. is there any to implement in java?
If there is a way, please drop some snippets and doc links.
You can find an example implementation in Java for an MQTT client here: https://cumulocity.com/guides/device-sdk/mqtt-examples/#hello-mqtt-java.
Examples in other languages are next to it.
You can also use a tool like MQTTBox or MQTTFx if you don't want to implement something.

I don't want camera permission needed for each video chat when there is a series of 1-1 video chats at an event

I am not a coder and having a web platform built with PHP that includes a series of 1-1 video chats in a scheduled networking "event". The problem that the developer is not able to solve with the video plug in that they are using (https://www.magnoliyan.com/video-chat-pro/) is that the user needs to give camera permisson before each chat. I need this permisson to happen one time only at the beginning of the event and not need there to be any further permission giving throughout the event. Of course I would like this to work on all platforms. I'm exploring agora.io as an option to solve this and replace the current plug in with agora. Does anyone know if agora would be the right fit for this or which video chat platform I should use to accomplish this? And if there is specific developer kind of language or code - please speak in as if I was a developer and I will pass on what you say to him directly. You don't need to worry about whether I will understand it.
Thanks!
Jon
Agora.io like any other WebRTC provider requests device camera permission only once. And all subsequent Videocall won't need any special permission (provided that they are on the same domain)
More specifically, Agora.io requests browser permission when stream.init method is invoked. This also turns on the camera light. stream.close turns off the camera light and deallocates the resources.
However, the subsequent stream.init function calls do not require permissions. (Camera light will just turn on)
References:
stream.init: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#init
stream.close: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#close

How to use biometric fingerprint reader to develop a fingerprint database

I have purchased a simple biometric fingerprint reader that is usually used for laptop security through a USB connection. It is just called biomentric finger print reader, not branded! It came with the software for creating security for laptop, and it works great.
However, I had a different idea for it: I am intending to create a database of users fingerprints so that I can identify which user swiped their fingers on it, ie, to use it for different users' authentication using fingerprints. I don't seem to be making any head or tail on how to go about that.
I would like to find out if there is other kind of software to install that will make this gadget print the fingerprint or a code to say a spreadsheet or database whenever I swipe a finger on it? I was thinking it would be a simple as when I use a bar code scanner to print codes of various items to a spreadsheet.
Could someone please advise how to go about this. I believe it should do that but I just dont know where to start.
thanks.
As an alternative wrapper to WinBioNET as mentioned by Robinicks there is WinBiometric.Net.
Disclaimer: I do not own this project.
It has a really nice test project for playing around with the different API functions available in the Windows Wiometric Framework. This test project was monumental in helping me understand the Windows Biometric Framework.
The WinBiometric.Net wrapper has a claim of 100% API coverage, a NuGet package and has the MIT license.
I found it to generally have a very high quality of code as well.
As for storing the fingerprints in a database you could use the WinBioCaptureSample API function to capture a sample, which can then be stored in a database.
The sample can be converted into an image as well, there is a nice example of this in the wrapper.
I know this is an old question but I figured I'd post anyway.
You can use the WBF (Windows biometric Framework) API that is free, but you must first verify if your biometric device is WBF compatible. The documentation and samples for WBF are for C++, but there is a wrapper sample in C# that you can download here: Cirrostrata biometrics Regarding how to convert the scanned data into an image, you can check this post: How to convert winbio data into image. Hope this helps to start.
You can use the WinBioNET .NET wrapper for Windows Biometric Framework (WBF). It has a demo winforms app in the solution. Just open it up, select the demo app as the "startup project" and run. If you have any devices connected it will enumerate it at startup.

One to many video Audio conferencing - webrtc - openTok

I searched about this on google but could not find any suitable answer so posting here for help.
I want to implement video streaming with multiple participants connected. While google this topic I found that WebRTC provide similar functionality but I want to make sure whether WebRTC can support all my requirements.
I want to build an application that should support large number of participants in conference (around 10000).
I want to implement facility like one participant is broadcasting its video and audio streams and other are just listening to their stream.
Also when prompted only one participant will be able to communicate with broadcaster which will be managed by one participant (a administrator). Administrator will decide who can communicate with broadcaster.
Is same can be possible with any other WebAPI ?? I found OpenTok, but not confident if it provide any feature of moderation in conference (i.e. feature of having an Administrator who manages stuff)
Did anybody worked on similar concept or having any information related to this.
Let me know if I am not clear of any further details are required.
Any help would be useful,
Thanks in anticipation
Hardik - I am Product Manager at TokBox, the makers of the OpenTok platform. Good news: TokBox can fulfill virtually all of your requirements, but with a few caveats.
TokBox has been building a video chat/conferencing platform for years, long before WebRTC even existed in fact. In that time we have supported many customers with almost your exact requirements on OpenTok, a platform that is based on Flash (Major League Baseball is one such customer). Building applications on this architecture has the added advantage of solving virtually all of the interop issues that exist when connecting people using different devices and browsers. It is based on Flash however, which technically doesn't meet your WebRTC requirement. So you know, there's that.
WebRTC is where it's at though, which is why we created OpenTok for WebRTC in 2012. It was a complete rewrite of the platform that not only provides higher quality video, but also gives developers more hooks and far more control over how exactly they integrate video and audio chat into their primary customer experience.
Currently in beta (as of this writing in June 2013) are two new components in our WebRTC infrastructure. The first we refer to as Mantis, which solves many of the challenges associated with hosting large multi-party calls. The other is Cloud Raptor, which gives developers access to a stream of events stemming from a WebRTC session, and through which developers can issue events and commands of their own. Raptor is what enables you for example to moderate calls, boot participants, and control whose audio and video streams are broadcast to all the other participants.
So, TokBox has what you need. In the short term we can help you get up and running using OpenTok pretty quickly. Then we can discuss with you how to get you onto OpenTok for WebRTC and into our Mantis and Raptor beta program.