peerjs-server icon indicating copy to clipboard operation
peerjs-server copied to clipboard

Add an option to support disabling perMessageDeflate

Open joewood opened this issue 5 years ago • 1 comments

Azure AppService's support for websockets requires disabling perMessageDeflate extension to websockets. This is an option in the constructor to the WebSocketLibrary. I added the following line to fix this:

this.socketServer = new WebSocketLib.Server({ path: this.path, server, perMessageDeflate: false });

Could you add a configuration option for this? Would you accept pull requests?

joewood avatar Apr 26 '20 17:04 joewood

@joewood of course, any PR are welcome!

afrokick avatar May 11 '20 19:05 afrokick