Sparika / ACOR_SDP

1 stars 0 forks source link

ACOR SDP Negotiation

ICWE Demonstration

This simple WebRTC service demonstrates how to negotiate over identity parameters for a WebRTC session.

Users first authenticate to the WebRTC service, then connect to a room. For instance /room/42. When there is two users in a room a WebRTC conversation starts. However, although both users are logged into the website, they are anonymous to each others.

One user can then request the other user to authenticate. To do so it must

The requesting user will then receive an identity assertion from the other peer and verify it through the linked IdP Proxy. The web application will then display the verified identity assertion (though in real life scenario, it should be the browser).

Installation: ‘sudo mongod npm install node index.js‘

Negotiation: Main negotiation code is in webrtc_service/public/javascripts/main.js

Prerequisites

The main requirement is for user to use a compatible IdP to login. It is not necessary for the user to be logged into the website with this IdP, the username+password method could be used. But the user must have an active session with the IdP.

IdPs: Compatibles IdPs are available at

The connect login option uses a Firefox extension to let the user select his own Identity Provider rather than being locked by implementation choices made by the website.

Connect login: Use OIDC adapter extension for login on Firefox.

Database: Requires Mongo

SDP Offer diagram

sdp_offer

SDP Answer diagram

sdp_answer