Twilio developer evangelist here.
If you're not using Node to install dependencies and build a client bundle then you can still use Twilio Video SDK version 2. You can do so by loading the SDK from the CDN here:
<script src="//media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta11/twilio-video.min.js"></script>
When you include that on the page you will then find the global Twilio
object. You can use all the video functions from the Video
namespace.
const Video = Twilio.Video;
Video.connect(token);
You can see examples of this in the Video SDK documentation.
Let me know if this helps at all.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…