0
votes

I'm trying to build a back-end service to query for room status in a twilio video conversation.

Following this example:

https://www.twilio.com/docs/api/video/rooms-resource#get-by-unique-name

The client created from the constructor doesn't have a video member, so the API isn't working. I get 'client.video' as null, so can't call any of the client.video.XXX functions.

Using twilio version 2.11.4.

What am I missing?

1

1 Answers

0
votes

Twilio developer evangelist here.

The Twilio Video REST API was not supported in the Twilio package for Node.js in version 2. Please upgrade to version 3 to use the Video functions. There is an upgrade guide if you have other functions built using the version 2 package.