fm.liveswitch.LayoutUtility Class Reference

Utility to assist with managing the layout of a combined video feed. More...

Public Member Functions

 LayoutUtility ()
 

Static Public Member Functions

static boolean floatLocalPreview (fm.liveswitch.Layout layout, fm.liveswitch.VideoLayout videoLayout, String localConnectionId)
 Floats the local preview over the combined video feed. More...
 
static boolean floatLocalPreview (fm.liveswitch.Layout layout, fm.liveswitch.VideoLayout videoLayout, String localConnectionId, String viewId)
 Floats the local preview over the combined video feed. More...
 
static< T > boolean floatLocalPreview (fm.liveswitch.Layout layout, fm.liveswitch.VideoLayout videoLayout, String localConnectionId, String viewId, fm.liveswitch.IViewSink< T > localViewSink)
 Floats the local preview over the combined video feed. More...
 
static boolean floatLocalPreview (fm.liveswitch.LayoutFrame localFrame, fm.liveswitch.LayoutFrame remoteFrame, fm.liveswitch.VideoLayout videoLayout, String localConnectionId)
 Floats the local preview over the combined video feed. More...
 

Detailed Description

Utility to assist with managing the layout of a combined video feed.

Constructor & Destructor Documentation

◆ LayoutUtility()

fm.liveswitch.LayoutUtility.LayoutUtility ( )

Member Function Documentation

◆ floatLocalPreview() [1/4]

static boolean fm.liveswitch.LayoutUtility.floatLocalPreview ( fm.liveswitch.Layout  layout,
fm.liveswitch.VideoLayout  videoLayout,
String  localConnectionId 
)
static

Floats the local preview over the combined video feed.

Parameters
layoutThe layout.
videoLayoutThe video layout.
localConnectionIdThe local connection identifier.

◆ floatLocalPreview() [2/4]

static boolean fm.liveswitch.LayoutUtility.floatLocalPreview ( fm.liveswitch.Layout  layout,
fm.liveswitch.VideoLayout  videoLayout,
String  localConnectionId,
String  viewId 
)
static

Floats the local preview over the combined video feed.

Parameters
layoutThe layout.
videoLayoutThe video layout.
localConnectionIdThe local connection identifier.
viewIdThe view id to compare with.

◆ floatLocalPreview() [3/4]

static <T> boolean fm.liveswitch.LayoutUtility.floatLocalPreview ( fm.liveswitch.Layout  layout,
fm.liveswitch.VideoLayout  videoLayout,
String  localConnectionId,
String  viewId,
fm.liveswitch.IViewSink< T >  localViewSink 
)
static

Floats the local preview over the combined video feed.

Parameters
layoutThe layout.
videoLayoutThe video layout.
localConnectionIdThe local connection identifier.
viewIdThe view id to compare with.
localViewSinkThe local view sink.

◆ floatLocalPreview() [4/4]

static boolean fm.liveswitch.LayoutUtility.floatLocalPreview ( fm.liveswitch.LayoutFrame  localFrame,
fm.liveswitch.LayoutFrame  remoteFrame,
fm.liveswitch.VideoLayout  videoLayout,
String  localConnectionId 
)
static

Floats the local preview over the combined video feed.

Parameters
localFrameThe local frame.
remoteFrameThe remote frame.
videoLayoutThe video layout.
localConnectionIdThe local connection identifier.