Identifying online users in WebRTC [closed] - webrtc

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to create a website which implements webrtc functionality.But in all the samples and reference documents , I was unable to find how to select for a specific user to chat with. Do i need to have some server kind of setup to list all available users or anything like that. Any sort of ideas will be helpful.
For eg:
In all the samples which i refered, the user was joining a particular room or a session and the other recipient also joins the same room for chat.But what i need is something similar to skype or hangout which shows the callee status before call, and want to get rid of this chat room concept.

There are three core areas of any real time communication service:
Presence - identifying who's online and who's available to speak for a call. (e.g showing a contact list and identifying who's online)
Signaling - initiating the call, exchanging IP addresses, negotiating capabilities, hanging up. In a lot of cases, Signaling and Presence can be combined into a single service.
Media connectivity and streaming - actually getting "connected" to the other endpoint and streaming audio/video. It typically requires some assistance from the signaling service to get the initial set of local, stun, and turn addresses exchanged in order to establish a connection with the other node. It also includes the codec technology, streaming code, and rendering.
Unless something has changed, WebRTC, to the best of my understanding, is just about #3 - media connectivity and streaming. It still requires the website to provide signaling (exchanging the SDP messages).
There are some companies and open source projects that indicate they provide the complete solution, but I've never used any.

Related

What is the best way to send payment information to the server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have made an application with React native and the application consumes information from an api made with django rest framework.
while working with this I had a concern on how to transfer card information from the application to the api.
I configured the server to use ssl certificates, but i feel this is not enough.
My question is, what and how are the best and safe ways to pass card information from my app to the server?
I appreciate experiences and knowledge
I would suggest to not send card information to your server. Instead use one of the modern payment provides:
Stripe
BrainTree
etc (there are quite a few services that work this way)
All of these providers work a little differently to how you were thinking of taking payments:
What you do is in your frontend you send the user's card-details directly to them (Stripe or braintree etc)
they then store these securely and return to your frontend a random ID.
You can then send that to your backend (and store it)
to charge the card you hit their api asking them to charge the stored card for the ID.
This way your server never has the users card details.
If processing payments is not part of your core business, it is advised not to attempt store or process the card numbers yourself. The rules on security around handling card details are extremely complex. An example of this is the PSD2 of the European Union (for an easy to digest piece on one of the obligations, read this)

Looking for an scalable api solution [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
iam new on stackoverflow and this is my first question.
Sorry for my typo's or bad gramar, my english is not verry good.
Situation:
Iam doing research for a kind API.
We building an system for sending out messages and alerts to end users. Endusers can recieve the messages and alerts on mobilephones over an app (IOS, Android, Windows), over SMS or .........
For this an backend is in development by another team. This backend contains and user interface for add messages or alerts (notifications). This backend contains ALL the notifications. This backend need to push all actual notifications to an API system witch holds only the actual notifications.
This api need to send out an new alert as an push message to the app. Normal messages are not pushed to end devices.
End devices and 3th party users can be ask data (normal messages or alerts) on from the API (with an filter if they are configured) Example: Give me all the messages from the city Heerlen or all messages that contains the word "car".
When there are new messages or alerts inserted in the backend, the backend updates the api data. When the api recieves an new alert, he send out and new push notification for the new alert.
Update---------------------------------------
This all is necessary because the API and the Backend need to be operate separated from eachother. So when the backend goes offline the api will still work. Otherwise when the api goes down the backend still works.
END Update---------------------------------------
The api is allways online but don't need to handle a lot of requests. At the moment there is an alert, the api needs to send out 2.000.000 notifications so scalablity is an must! After an alert a lot of requests need to be handled.
Now my questions:
- Is there an existing software solution(s) that can be configured or used for my problem?
- Can we better build an own solution for this problem, maybe based on an framework?
- Are there frameworks that can be used for create an api with this functionality?
THANKS A LOT for understand my bad english, problem and trying to help me ;-)
EDIT---------------------------------------
Maybe this image make my situation a bit better understandable
Wished situation image
I think i found some solutions by my self but iam not sure if they can provide my requirements and iam not sure i can use it for my problem.
Amazon API Gateway
tyk.io
WSO2
END EDIT---------------------------------------
I couldn't find an solution so i talked with my teacher at school and he told me that it doesn't matter how i solve this. The only thing i need to do is unlink the api from the back end so the back end stays online when the API is timed-out or goes offline. Otherwise the API needs to stay online when the back end is in maintenance. I have updated my question with this information!
I did a lot of research and i couldn't find an software solution that solves my problem. BUT i have found an other solution that solves my problem.
I create an second backend with an own database. The main backend manages the data in the second backend, the "API_backend". This mini backend only provides data for the API. The API gateway (yes i found that this is the name of the API thing) gets his data from this "API_backend" and provides it on all the end devices.
I have make an diagram of it. visit it
The Alert push problem i solved by sending an push message to the app over google cloud message. In case of an alert the app regonizes that it is an alert in stead of an normal message and then it wil ask the new alert information to the API.

Fingerprint connected to Web Server via Get/Post method [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm going on develop web api server (php) that has an attendance feature
client need me to make fingerprint-direct-to-webserver I created
So, my question is what is the easy way to accomplish this requirement?
Does it have any Fingerprint that already be able to do this? (connected to PHP web server, or it has an API to reply what data inside it?) [If it already in market, I might not need to created it]
Does anyone ever do this before, I'm looking on some IP Fingerprint (such as BIOEntry / BioStation series), I'm little worried that, is it has some encrypted key also or not, if it has it might be problem for me. could you give the fingerprint product name?
How fingerprint send the data? (GET/POST? TEXT/XML/JSON? If you have some copy/paste of its data, it would help me alot)
Yes there some middleware solutions available to integrate fingerprint attendance with web based applications. Bio-Plugin™ is one of them that can be integrated with your web api server (php). Also encrypted key might be available now. The system send fingerprint data thorugh SOAP protocol. Hope this will help.
Almost the same web api exist in the market. API details are http://camsunit.com/application/biometric-web-api.html.

Does monitoring tools affect my website rank in google? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
It's been a month that I use a service that monitors my website and if the website is down email alerts are sent for me.
I checked my visitors last day and found that almost 5000 visits have been added two my site since using this service and this service is generating fake traffic for my web site.This service watches HTTP protocol and if HTTP service is down the email is sent.
My concern is that I don't know that this fake traffic affects my SEO or not! If yes I prefer not to use monitoring tools for my website.
Maybe you will have some trouble indirectly, because these visits can spoil your traffic quality. For example, if they increase bounce rate, that is a bad signal for Google. Besides that, you should create another view in Analytics, and apply filters to remove traffic from these sources in order to have a real insight into your traffic.
That tool should identify as a robot, so their visits are not counted in Analytics. If that's not the case, I would recommend changing the tool.

Apigee API to check if platform is alive [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I know Apigee comes with several out of the box API to do deployments and query various pieces of information. Is there a lightweight out of the box API that we can give to our customers to verify if the APigee platform is still alive and running? This will prevent them from sending us API traffic when the system is unable to process it.
The following may be a good partial solution, but it really depends on how you intend to expose this information, where your monitoring server sits in the architecture, and what facilities you have to process/report status. That said...
Depending on what you define as 'lightweight', there is an option for OPDK installations to CURL on the following:
http://{management-server-ip}:8080/v1/servers
To check status, there is a field called IsUp (Boolean). To get more specific, you can use the query parameter type so you can get back specific components. The valid values are:
http://{management-server-ip}:8080/v1/servers/?type=app-datastore
http://{management-server-ip}:8080/v1/servers/?type=kms-datastore
http://{management-server-ip}:8080/v1/servers/?type=message-processor
http://{management-server-ip}:8080/v1/servers/?type=router
I don't believe this is possible on Cloud due to the nature of component resourcing.
If you are trying to determine whether Apigee is able to serve your own APIs, it might make sense to create a ping API call manually. You might want a couple of different flavors -- one that immediately turns around and responds from within Apigee (testing connectivity to the Apigee layer), and one that pings your backend servers (testing end to end connectivity). Anything out of the box wouldn't be able to ping your backend.
What many customers do is create a "Health Check" API Proxy.
This can just be an Echo Server, which you can easily create by building an API Proxy with No Target.
In the New API Proxy tool, choose (o) No Target. And that's it.
Then whatever data you pass to that proxy will be returned in the response.
For example:
$ curl http://{your-org}-{env}.apigee.net/v1/healthcheck -d "Hello"
Hello