AgoraIO / API-Examples

Play with AgoraSDK and have fun! Everything you need to start learning Agora.
294 stars 217 forks source link

Agora cant send livestream video using FU SDK #397

Closed manhpv-1697 closed 1 month ago

manhpv-1697 commented 1 month ago

Im using FU for beauty but when viewer join channel. The channel has only audio For beauty, im using CameraRenderer for render beauty effect. Your example only use a basic beauty for changed light, it not useful

xgfd3 commented 1 month ago

The FU thirdparty beauty case is using rtc sdk raw video interface(rtcEngine.registerVideoFramerObserver),you can use this way to integrate FU beauty sdk. The CameraRenderer is an camera capture compose provided by FU. If you want to use CameraRenderer, you can refer to the pushExternalVideoFrame case. You should register video frame callback to CameraRenderer, then transform video data to agoar video frame for pushing it to sdk by pushExteranlVideoFrame api. This way is not suggested.

manhpv-1697 commented 1 month ago

@xgfd3 After debug your souce code demo, i found a issue When you call FurenderKit.renderWithInput(input), you didn't set input.renderConfig.isNeedBufferReturn = true then FuRenderKit alway return output with imageBuffer = null function : processBeautySingleTextureAsync() file : FaceUnityBeautyAPIImpl