FImageTrackOptions
Image configurations.
USTRUCT(BlueprintType) struct FImageTrackOptions { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ImageTrackOptions") FString imageUrl = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ImageTrackOptions") int fps = 1; FImageTrackOptions(){} FImageTrackOptions(const agora::rtc::ImageTrackOptions & AgoraData){ imageUrl = UTF8_TO_TCHAR(AgoraData.imageUrl); fps = AgoraData.fps; } agora::rtc::ImageTrackOptions CreateAgoraData() const { agora::rtc::ImageTrackOptions AgoraData; SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.imageUrl,this->imageUrl) AgoraData.fps = fps; return AgoraData; } void FreeAgoraData(agora::rtc::ImageTrackOptions & AgoraData) const { SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.imageUrl) } };
Attributes
- imageUrl
- The image URL. Supported formats of images include JPEG, JPG, PNG and GIF. This method supports adding an image from the local absolute or relative file path.Note: On the Android platform, adding images from
/assets/
is not supported. - fps
- The frame rate of the video streams being published. The value range is [1,30]. The default value is 1.