Class LayoutUtility
Utility to assist with managing the layout of a combined video feed.
Inheritance
System.Object
LayoutUtility
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class LayoutUtility : object
Methods
FloatLocalPreview(Layout, VideoLayout, String)
Floats the local preview over the combined video feed.
Declaration
public static bool FloatLocalPreview(Layout layout, VideoLayout videoLayout, string localConnectionId)
Parameters
Type | Name | Description |
---|---|---|
Layout | layout | The layout. |
Video |
videoLayout | The video layout. |
System. |
localConnectionId | The local connection identifier. |
Returns
Type | Description |
---|---|
System. |
FloatLocalPreview(Layout, VideoLayout, String, String)
Floats the local preview over the combined video feed.
Declaration
public static bool FloatLocalPreview(Layout layout, VideoLayout videoLayout, string localConnectionId, string viewId)
Parameters
Type | Name | Description |
---|---|---|
Layout | layout | The layout. |
Video |
videoLayout | The video layout. |
System. |
localConnectionId | The local connection identifier. |
System. |
viewId | The view id to compare with. |
Returns
Type | Description |
---|---|
System. |
FloatLocalPreview(LayoutFrame, LayoutFrame, VideoLayout, String)
Floats the local preview over the combined video feed.
Declaration
public static bool FloatLocalPreview(LayoutFrame localFrame, LayoutFrame remoteFrame, VideoLayout videoLayout, string localConnectionId)
Parameters
Type | Name | Description |
---|---|---|
Layout |
localFrame | The local frame. |
Layout |
remoteFrame | The remote frame. |
Video |
videoLayout | The video layout. |
System. |
localConnectionId | The local connection identifier. |
Returns
Type | Description |
---|---|
System. |
FloatLocalPreview<T>(Layout, VideoLayout, String, String, IViewSink<T>)
Floats the local preview over the combined video feed.
Declaration
public static bool FloatLocalPreview<T>(Layout layout, VideoLayout videoLayout, string localConnectionId, string viewId, IViewSink<T> localViewSink)
Parameters
Type | Name | Description |
---|---|---|
Layout | layout | The layout. |
Video |
videoLayout | The video layout. |
System. |
localConnectionId | The local connection identifier. |
System. |
viewId | The view id to compare with. |
IView |
localViewSink | The local view sink. |
Returns
Type | Description |
---|---|
System. |
Type Parameters
Name | Description |
---|---|
T |