westonsoftware / vue-webrtc

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

turn on video after joined room with video off #127

Closed thobiasvicente closed 1 year ago

thobiasvicente commented 1 year ago

When i enter the room with the param enableVideo = false, and need to active video, nothing happens.

Also i can do the opposite, when i enter the room with enableVideo = true, i can turn off by accessing the DOM stream and disable/enable the track. But i like to enter the room with video off.

westonsoftware commented 1 year ago

Hmm, after you change the setting, try calling .leave() and .join().