westonsoftware / vue-webrtc

WebRTC video component for Vue.js
MIT License
369 stars 127 forks source link

add option for io #74

Closed RezaErfani67 closed 2 years ago

RezaErfani67 commented 3 years ago

could you add custome options for io like {path:'/subdir/socket.io'} and etc

this.socket = io(this.socketURL, { -------custome options------- });
westonsoftware commented 3 years ago

Yes, the default options are ... { rejectUnauthorized: false, transports: ['websocket'] } which works with the existing lobby code. We can add a new ioOptions param with this as the default.

westonsoftware commented 2 years ago

Added in 3.0.1