Skip to main content
useViewportSize(): Object Returns an object describing the viewport size, i.e. the video output resolution.

Return type

Sample code

Additional examples of usage for this custom hook can be found in the source code for the VCS SDK.