Error attaching participant video to the session with Javascript

Hello everyone, I’m migrating from Twilio to Zoom and I’m having trouble getting a participant into the room. When it enters, the ‘peer-video-state-change’ event correctly detects the entry and obtains the userId correctly, however I get an error ‘zoom-video-1.9.8.min.js:1 Uncaught TypeError: zoomSession.attachVideo is not a function’. I have followed the migration instructions but I get that error. Also, if I get information from the payload, it comes out as action ‘stop’ when I suppose it should be ‘start’.

Thank you all.

Hey @d.munoz.semesur ,

The attachVideo was introduced in version 1.10.7. If you upgrade your Video SDK version to 1.10.7 it will work.