Specify max_height like lib-jitsi-meet rather than ideal_height
This commit is contained in:
parent
0e63257b57
commit
296801385c
|
@ -171,8 +171,8 @@ async fn main_inner() -> Result<()> {
|
||||||
.map(|endpoints| endpoints.split(',').map(ToOwned::to_owned).collect()),
|
.map(|endpoints| endpoints.split(',').map(ToOwned::to_owned).collect()),
|
||||||
on_stage_endpoints: None,
|
on_stage_endpoints: None,
|
||||||
default_constraints: opt.recv_video_height.map(|height| Constraints {
|
default_constraints: opt.recv_video_height.map(|height| Constraints {
|
||||||
ideal_height: Some(height),
|
max_height: Some(height),
|
||||||
max_height: None,
|
ideal_height: None,
|
||||||
}),
|
}),
|
||||||
constraints: None,
|
constraints: None,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue