From 296801385cc9bd0df3a05ace13da0bd5b661becf Mon Sep 17 00:00:00 2001 From: Jasper Hugo Date: Mon, 25 Oct 2021 14:57:52 +0700 Subject: [PATCH] Specify max_height like lib-jitsi-meet rather than ideal_height --- gst-meet/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-meet/src/main.rs b/gst-meet/src/main.rs index a287141..d2fe817 100644 --- a/gst-meet/src/main.rs +++ b/gst-meet/src/main.rs @@ -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, })