我正在尝试为此类视频设置默认视频质量(来自示例):
createLocalTracks({
audio: true,
video: { width: 640 }
}).then(localTracks => {
return connect('$TOKEN', {
name: 'my-room-name',
tracks: localTracks
});
}).then(room => {
console.log('Connected to Room:', room.name);
});
而不是width:640我想为用户的互联网连接设置视频基础的动态分辨率。我怎么能这样做?