Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/IAvaMediaSyncProvider
Description
Issue a "compare" request to a given remote, and calls back the completion delegate with status payload.
The remote name can be either a playback server name or a playback client name, depending on where the request is being triggered, eg.
- When local editor instance is a playback client, remote name is considered to be a server name.
- When local editor instance is a playback server, remote name is considered to be a client name.
- If local editor instance if both a playback client and server, remote name is considered to be a server name.
| Name | CompareWithRemote |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMedia/Public/ModularFeature/IAvaMediaSyncProvider.h |
| Include Path | #include "ModularFeature/IAvaMediaSyncProvider.h" |
void CompareWithRemote
(
const FString & InRemoteName,
const TArray < FName > & InPackageNames,
const FOnAvaMediaSyncCompareResponse & DoneDelegate
)
Parameters
| Name | Remarks |
|---|---|
| InRemoteName | The playback client or server name to compare with |
| InPackageNames | The list of "top level" package names (without inner dependencies / referencers) to base the comparison on |
| DoneDelegate | A completion delegate called when receiving a response with a FAvaMediaSyncCompareResponse payload |