/ fm / liveswitch / LayoutUtility
Class: LayoutUtility
fm.liveswitch.LayoutUtility
Utility to assist with managing the layout of a combined video feed.
Table of contents
Constructors
Methods
Constructors
constructor
+ new LayoutUtility(): LayoutUtility
Returns: LayoutUtility
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:11
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:9
floatLocalPreview
▸ Static
floatLocalPreview(layout
: Layout, videoLayout
: VideoLayout, localConnectionId
: string): boolean
Floats the local preview over the combined video feed.
Parameters:
Name | Type | Description |
---|---|---|
layout |
Layout | The layout. |
videoLayout |
VideoLayout | The video layout. |
localConnectionId |
string | The local connection identifier. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:31
▸ Static
floatLocalPreview(layout
: Layout, videoLayout
: VideoLayout, localConnectionId
: string, viewId
: string): boolean
Floats the local preview over the combined video feed.
Parameters:
Name | Type | Description |
---|---|---|
layout |
Layout | The layout. |
videoLayout |
VideoLayout | The video layout. |
localConnectionId |
string | The local connection identifier. |
viewId |
string | The view id to compare with. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:41
▸ Static
floatLocalPreview<T>(layout
: Layout, videoLayout
: VideoLayout, localConnectionId
: string, viewId
: string, localViewSink
: IViewSink<T>): boolean
Floats the local preview over the combined video feed.
Type parameters:
Name |
---|
T |
Parameters:
Name | Type | Description |
---|---|---|
layout |
Layout | The layout. |
videoLayout |
VideoLayout | The video layout. |
localConnectionId |
string | The local connection identifier. |
viewId |
string | The view id to compare with. |
localViewSink |
IViewSink<T> | The local view sink. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:52
▸ Static
floatLocalPreview(localFrame
: LayoutFrame, remoteFrame
: LayoutFrame, videoLayout
: VideoLayout, localConnectionId
: string): boolean
Floats the local preview over the combined video feed.
Parameters:
Name | Type | Description |
---|---|---|
localFrame |
LayoutFrame | The local frame. |
remoteFrame |
LayoutFrame | The remote frame. |
videoLayout |
VideoLayout | The video layout. |
localConnectionId |
string | The local connection identifier. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/LayoutUtility.ts:62