38 #include "CoherentUIViewListener.h"
39 #include "CoherentMediaRequestHandler.generated.h"
47 GENERATED_USTRUCT_BODY()
58 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FUIMediaStreamRequest, const TArray<FMediaDevice>&, Devices);
64 UCLASS(meta = (BlueprintSpawnableComponent), MinimalAPI, Blueprintable)
67 GENERATED_UCLASS_BODY()
70 UPROPERTY(BlueprintAssignable)
71 FUIMediaStreamRequest AudioStreamRequest;
77 UFUNCTION(BlueprintCallable, Category = "Response")
78 void SelectAudioStream(int32 Index);
81 UPROPERTY(BlueprintAssignable)
82 FUIMediaStreamRequest VideoStreamRequest;
88 UFUNCTION(BlueprintCallable, Category = "Response")
89 void SelectVideoStream(int32 Index);
91 void Handle(Coherent::UI::MediaStreamRequest* request);
94 int32 m_SelectedAudio;
95 int32 m_SelectedVideo;