Is it possible to provide a token in simple-peer opts
What version of this package are you using? 9.11.1
What problem do you want to solve? Since we want to restrict access to our WebRTC service, we were wondering whether it would be possible to provide a token (like from Auth0 or so) via simple-peer opts (https://github.com/feross/simple-peer#peer--new-peeropts).
However, we were unable to find out whether it is possible. Hence, it would be great if you could support us here. 😀
Perhaps you could implement this in your signaling layer instead?
Hi @jzombie
many thanks for getting back to me.
Specifically my question relates to the following signaling server and I suspect I have to make some modifications here (they use your package), but I am unsure what I would have to do exactly.
Would be terrific, if you could help me here! 😀
@junoriosity It is not my package. I am just advising on my own accord.
With that in mind all I can do is point you to the docs here: https://nodejs.org/api/http.html#httpcreateserveroptions-requestlistener