Class LayoutUtility
Utility to assist with managing the layout of a combined video feed.
Inheritance
System.Object
LayoutUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class LayoutUtility
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. |
VideoLayout | videoLayout | The video layout. |
System.String | localConnectionId | The local connection identifier. |
Returns
Type | Description |
---|---|
System.Boolean |
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. |
VideoLayout | videoLayout | The video layout. |
System.String | localConnectionId | The local connection identifier. |
System.String | viewId | The view id to compare with. |
Returns
Type | Description |
---|---|
System.Boolean |
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 |
---|---|---|
LayoutFrame | localFrame | The local frame. |
LayoutFrame | remoteFrame | The remote frame. |
VideoLayout | videoLayout | The video layout. |
System.String | localConnectionId | The local connection identifier. |
Returns
Type | Description |
---|---|
System.Boolean |
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. |
VideoLayout | videoLayout | The video layout. |
System.String | localConnectionId | The local connection identifier. |
System.String | viewId | The view id to compare with. |
IViewSink<T> | localViewSink | The local view sink. |
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
T |