Renater / SIPMediaGW

A media gateway to provide SIP access (audio+video) on top of Jitsi Meet, BBB,...web conferences
Apache License 2.0
30 stars 9 forks source link

Support for Jaas #5

Closed calloquy-mark-baker closed 1 year ago

calloquy-mark-baker commented 1 year ago

Amazing project! Lots of really solid work here.

We're a Jaas customer (i.e. using 8x8.vc and vpass-magic-cookie app IDs). Before I go through and try to completely understand every line of code and potentially mangle a refactor, do you have thoughts on how we might be able to utilize this project with a paid Jaas configuration?

As I understand it, the main difference is that the browser would need to go to https://WEBRTC_DOMAIN/vpass-magic-cookie-secret/room.

Apologies if this is not the way you'd like this question presented, and Thank You again for all the great work!

nicotyze commented 1 year ago

Thanks for the comment ! No problem for me to use the issue tracker for that :) Indeed, our goal at Renater is to provide SIPMediaGW as a large scale service to our users community.

About Jaas, I've never tried it but yes, it should work in the way you described it (with potentially slight adaptations needed in jitsi.py, depending on the specific versions/configurations of Jaas...).

This is not well documented yet, but SIPMediaGW relies on JitsiMeetUIHelper (for the Jitsi part). By default a UI Helper is embedded in the docker image but it is also possible to use your own by setting UI_HELPER_PATH variable. This UI helper allows to customize the way a user interact with a JitsiMeet instance. Among others, the UI Helper implements:

It is also possible to add a basic JWT authentication logic in the UI Helper (=>will allow the SIP endpoint to initiate a meeting).

nicotyze commented 1 year ago

Before closing the issue: PRs are welcome :)