Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/Broadcast > API/Plugins/AvalancheMedia/Broadcast/Channel
References
| Module | AvalancheMedia |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheMedia/Public/Broadcast/Channel/AvaBroadcastOutputChannel.h |
| Include | #include "Broadcast/Channel/AvaBroadcastOutputChannel.h" |
Syntax
USTRUCT ()
struct FAvaBroadcastOutputChannel
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInternalStateBroadcasting | This internal state is used to mark the channel as "should be broadcasting". | |
| int32 | ChannelIndex | Index of this channel in the broadcast's channel names array. | |
| EAvaBroadcastIssueSeverity | ChannelIssueSeverity | ||
| FText | ChannelNameText | ||
| EAvaBroadcastChannelState | ChannelState | ||
| TWeakObjectPtr< UTextureRenderTarget2D > | CurrentRenderTarget | Keep track of the active render target associated with the current playable group. | |
| TWeakObjectPtr< UAvaPlayableGroup > | LastActivePlayableGroup | Last Active Playable group associated with the current render target. | |
| TMap< const UMediaOutput *, FLocalMediaOutputStatus > | LocalMediaOutputStatuses | ||
| TMap< TObjectPtr< UMediaOutput >, FAvaBroadcastCapture > | MediaCaptures | A Map of Media Outputs with their Media Captures when Broadcast Starts, and deleted when Broadcast Stops. | |
| TArray< FAvaBroadcastMediaOutputInfo > | MediaOutputInfos | ||
| TArray< TObjectPtr< UMediaOutput > > | MediaOutputs | ||
| TObjectPtr< UUserWidget > | OverridePlaceholderUserWidget | Optional UMG Widget that is used to replace the Default Placeholder Widget | |
| TSharedPtr< SWidget > | OverridePlaceholderWidget | ||
| TObjectPtr< UTextureRenderTarget2D > | PlaceholderRenderTarget | ||
| TObjectPtr< UTextureRenderTarget2D > | PlaceholderRenderTargetTmp | Extra render target to perform alpha inversion needed to mimic scene rendering. | |
| FDelegateHandle | PlaceholderTickHandle | ||
| TSharedPtr< SAvaBroadcastPlaceholderWidget > | PlaceholderWidget | ||
| FAvaBroadcastProfile * | Profile | ||
| FAvaViewportQualitySettings | QualitySettings | ||
| TSharedPtr< FWidgetRenderer > | WidgetRenderer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAvaBroadcastOutputChannel
(
ENoInit NoInit |
|||
FAvaBroadcastOutputChannel
(
FAvaBroadcastProfile* InProfile |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMediaOutput
(
UMediaOutput* InMediaOutput, |
||
| UMediaOutput * | AddMediaOutput
(
const UClass* InMediaOutputClass, |
||
| EPixelFormat | |||
| FIntPoint | |||
| void | |||
| void | DuplicateChannel
(
const FAvaBroadcastOutputChannel& InSourceChannel, |
||
| FString & | EmplaceMessageForOutput
(
const UMediaOutput* InMediaOutput, |
||
| int32 | Index of this channel in the broadcast's channel names array. | ||
| FName | |||
| EAvaBroadcastChannelType | |||
| UTextureRenderTarget2D * | GetCurrentRenderTarget
(
bool bInFallbackToPlaceholder |
||
| EPixelFormat | |||
| FIntPoint | GetDefaultMediaOutputSize
(
EAvaBroadcastChannelType InChannelType |
||
| EAvaBroadcastIssueSeverity | |||
| UAvaPlayableGroup * | |||
| EAvaBroadcastIssueSeverity | GetLocalSeverityForOutput
(
const UMediaOutput* InMediaOutput |
||
| UMediaCapture * | GetMediaCaptureForOutput
(
const UMediaOutput* InMediaOutput |
||
| const FAvaBroadcastMediaOutputInfo & | GetMediaOutputInfo
(
const UMediaOutput* InMediaOutput |
||
| FAvaBroadcastMediaOutputInfo * | GetMediaOutputInfoMutable
(
const UMediaOutput* InMediaOutput |
||
| const TArray< FString > & | GetMediaOutputIssueMessages
(
const UMediaOutput* InMediaOutput |
||
| EAvaBroadcastIssueSeverity | GetMediaOutputIssueSeverity
(
EAvaBroadcastOutputState InOutputState, |
||
| const TArray< UMediaOutput * > & | |||
| const FString & | GetMediaOutputServerName
(
const UMediaOutput* InMediaOutput |
Returns the server name associated with the Media Output object. | |
| EAvaBroadcastOutputState | GetMediaOutputState
(
const UMediaOutput* InMediaOutput |
||
| FAvaBroadcastOutputChannel & | |||
| FOnAvaChannelChanged & | |||
| FMediaOutputStateChanged & | |||
| UTextureRenderTarget2D * | |||
| FAvaBroadcastProfile & | GetProfile () |
||
| FName | |||
| TArray< UMediaOutput * > | Returns the Media Output objects that are associated to a remote server. | ||
| EAvaBroadcastChannelState | GetState () |
||
| const FAvaViewportQualitySettings & | |||
| bool | Returns true if this channel has a least one local media output. | ||
| bool | Returns true if this channel has a least one remote media output. | ||
| bool | |||
| bool | IsMediaOutputCompatible
(
UMediaOutput* InMediaOutput, |
||
| bool | IsMediaOutputRemote
(
const UMediaOutput* InMediaOutput |
Returns true if the Media Output object is associated to a remote server. | |
| bool | |||
| void | OnAvaMediaCaptureStateChanged
(
const UMediaCapture* InMediaCapture, |
||
| void | OnMediaOutputModified
(
UMediaOutput* InMediaOutput |
Called when the output is modified. Propagates the configuration change accordingly. | |
| void | PostLoadMediaOutputs
(
bool bInIsProfileActive, |
||
| EAvaBroadcastChannelState | RefreshState () |
||
| void | |||
| void | |||
| void | |||
| int32 | RemoveMediaOutput
(
UMediaOutput* InMediaOutput |
||
| void | ResetLocalMediaOutputStatus
(
const UMediaOutput* InMediaOutput |
||
| void | SetChannelIndex
(
int32 InIndex |
Set this channel's index in the broadcast's channel names array. | |
| void | SetState
(
EAvaBroadcastChannelState InState, |
||
| void | SetViewportQualitySettings
(
const FAvaViewportQualitySettings& InQualitySettings |
||
| bool | |||
| void | |||
| void | StopCaptureForOutput
(
const UMediaOutput* InMediaOutput |
||
| void | |||
| void | |||
| void | TickPlaceholder
(
float |
||
| void | UpdateAudioDevice
(
const FAudioDeviceHandle& InAudioDeviceHandle |
||
| void | UpdateChannelResources
(
bool bInIsProfileActive |
Updates Channel's Data and Resources. | |
| void | |||
| void | |||
| void | |||
| void | UpdateRenderTarget
(
UAvaPlayableGroup* InPlayableGroup, |
||
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLocalMediaOutputStatus | Keep track of the media capture/output status while starting the broadcast. |
Typedefs
| Name | Description |
|---|---|
| FMediaOutputStateChanged | Called when the state of the capture changed. |
| FOnAvaChannelChanged |
Constants
| Name | Description |
|---|---|
| OnChannelChanged | |
| OnMediaOutputStateChanged |