'Twilio Video JavaScript low quality local preview

Twilio Video shows the local video in low quality although the other users see it in much better quality. Actually, it should be in HD resolution. Is this a known problem?

createLocalVideoTrack({
  deviceId: { exact: this.selectedCamera },
  video: { height: 1080, width: 1920, frameRate: 24 },
})


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source