Navigation
API > API/Plugins > API/Plugins/LiveLinkFaceDiscovery
Periodically sends out multicast discovery requests and listens for any responses from devices running the Live Link Face application.
In addition, if a device sends a discovery notification the internal list of discovered servers will be updated.
Each time the internal server list is updated the delegate will be triggered on the game thread with a set of discovered servers.
| Name | FLiveLinkFaceDiscovery |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanLiveLink/Source/LiveLinkFaceDiscovery/Public/LiveLinkFaceDiscovery.h |
| Include Path | #include "LiveLinkFaceDiscovery.h" |
Syntax
class FLiveLinkFaceDiscovery : public TSharedFromThis< FLiveLinkFaceDiscovery >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FLiveLinkFaceDiscovery
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLiveLinkFaceDiscovery
(
const double InRefreshDelay, |
LiveLinkFaceDiscovery.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLiveLinkFaceDiscovery() |
LiveLinkFaceDiscovery.h |
Structs
| Name | Remarks |
|---|---|
| FServer | A representation of a discovered device running the Live Link Face application |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnServersUpdated | TBaseDelegate_OneParam< void, const TSet< FServer > &Servers > | LiveLinkFaceDiscovery.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnServersUpdated | FOnServersUpdated | Bind to this delegate before starting discovery in order to receive every update | LiveLinkFaceDiscovery.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DiscoveryMessenger | TUniquePtr< UE::CaptureManager::FDiscoveryMessenger > | LiveLinkFaceDiscovery.h | ||
| RefreshDelay | const float | LiveLinkFaceDiscovery.h | ||
| RefreshTickerHandle | FTSTicker::FDelegateHandle | LiveLinkFaceDiscovery.h | ||
| ServerExpiry | const float | LiveLinkFaceDiscovery.h | ||
| Servers | TSet< FServer > | LiveLinkFaceDiscovery.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Start() |
Start discovery. Bind to the OnServersUpdated delegate before starting to receive every update. | LiveLinkFaceDiscovery.h | |
void Stop() |
LiveLinkFaceDiscovery.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 Pack
(
const uint8 InA, |
LiveLinkFaceDiscovery.h |