Specify max_height like lib-jitsi-meet rather than ideal_height

This commit is contained in:
Jasper Hugo 2021-10-25 14:57:52 +07:00
parent 0e63257b57
commit 296801385c
1 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ async fn main_inner() -> Result<()> {
.map(|endpoints| endpoints.split(',').map(ToOwned::to_owned).collect()),
on_stage_endpoints: None,
default_constraints: opt.recv_video_height.map(|height| Constraints {
ideal_height: Some(height),
max_height: None,
max_height: Some(height),
ideal_height: None,
}),
constraints: None,
})