Ninja Docs
Search…
⌃K

&screenshareaspectratio

Changes the screen-share aspect ratio on the publisher side
Sender-Side Option! (&push)

Aliases

  • &ssar

Options

Value
Description
(no value given)
overrides &aspectratio and sets the screen-share to the default aspect ratio
(decimal number)
sets the screen-share aspect ratio
landscape
screen-share aspect ratio of 16:9 (1.777777)
portrait
screen-share aspect ratio of 9:16 (0.5625)
square
screen-share aspect ratio of 1:1 (1)
1.33333
screen-share aspect ratio of 4:3

Details

&screenshareaspectratio sets the aspect ratio for screen-shares on the publisher side.
&aspectratio works with screen-shares, so you can force crop an incoming screen-share to be a certain aspect ratio. If &screenshareaspectratio is used it will apply to just screen-shares. If &screenshareaspectratio does not have a value passed, it's assumed to be set as "default", which overrides &aspectratio option, if used also.