LiveKit Swift Client SDK Documentation

Enumeration Video​View.​Layout​Mode

@objc
    public enum LayoutMode: Int, Codable  

Specifies how to render the video withing the VideoView's bounds.

%393 VideoView.LayoutMode VideoView.LayoutMode Codable Codable VideoView.LayoutMode->Codable Int Int VideoView.LayoutMode->Int

Member Of

VideoView

Conforms To

Codable
Int

Enumeration Cases

fit

case fit

Video will be fully visible within the VideoView.

fill

case fill

Video will fully cover up the VideoView.