Based on example provided in docs for twilio-video v2.x I can connect to a chat room without automatically subscribing to any tracks published by remote participants like this:
const { connect } = require('twilio-video');
const room = await connect(token, {
automaticSubscription: false
});
If I do this then how can I subscribe to remote tracks at later time?
You can check Twilio Track Subscription API.
or check below code for Updating Track subscription later.