I am making a video conferencing app using Electron that is built off a browser-based app that does the same thing. I want to allow users to go through the typical user flow within the browser on the website, but once they get to the “join your video call” button, the Electron based app recommends to handle the request and open app to conduct the video call.
If anyone has experience doing such a thing (not so much the video conferencing aspect, but more allowing Electron to take control of specific links) I would love to see how you did it.
I have found the app.setAsDefaultProtocolClient but I am confused on how to use this. Would the
protocol in my case here always be
http and in which case, would my Electron app want to open every link from the browser? Or should I set the protocol to
my-app-name and within the browser-based code, explicitly set the protocol to on the link to the same?