FSrcInfo
Information about the video bitrate of the media resource being played.
USTRUCT(BlueprintType) struct FSrcInfo { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SrcInfo") int bitrateInKbps = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SrcInfo") FString name = ""; FSrcInfo(){} FSrcInfo(const agora::media::base::SrcInfo& srcInfo) { bitrateInKbps = srcInfo.bitrateInKbps; name = UTF8_TO_TCHAR(srcInfo.name); } agora::media::base::SrcInfo CreateAgoraData() const { agora::media::base::SrcInfo srcInfo; srcInfo.bitrateInKbps = bitrateInKbps; SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(srcInfo.name,name) return srcInfo; } void FreeAgoraData(agora::media::base::SrcInfo& srcInfo) const { SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(srcInfo.name) } };
Attributes
- bitrateInKbps
- The video bitrate (Kbps) of the media resource being played.
- name
- The name of the media resource.