FDirectCdnStreamingMediaOptions

The media setting options for the host.

USTRUCT(BlueprintType)
struct FDirectCdnStreamingMediaOptions
{
	GENERATED_BODY()

	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	AGORAOPTIONAL publishCameraTrack;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	AGORAOPTIONAL publishMicrophoneTrack;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	AGORAOPTIONAL publishCustomAudioTrack;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	AGORAOPTIONAL publishCustomVideoTrack;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	AGORAOPTIONAL publishMediaPlayerAudioTrack;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	bool publishMediaPlayerId_SetValue;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	int publishMediaPlayerId;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	bool customVideoTrackId_SetValue;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingMediaOptions")
	int64 customVideoTrackId;
};

Attributes

publishCameraTrack
Sets whether to publish the video captured by the camera:
  • true: Publish the video captured by the camera.
  • false: (Default) Do not publish the video captured by the camera.
publishMicrophoneTrack
Sets whether to publish the audio captured by the microphone:
  • true: Publish the audio captured by the microphone.
  • false: (Default) Do not publish the audio captured by the microphone.
publishCustomAudioTrack
Sets whether to publish the captured audio from a custom source:
  • true: Publish the captured audio from a custom source.
  • false: (Default) Do not publish the captured audio from the custom source.
publishCustomVideoTrack
Sets whether to publish the captured video from a custom source:
  • true: Publish the captured video from a custom source.
  • false: (Default) Do not publish the captured video from the custom source.
customVideoTrackId
The video track ID returned by calling the CreateCustomVideoTrack method. The default value is 0.