Pixelated video contains irregular pixels with incorrect colors, preventing the video from displaying an image.
Green video contains jagged green blocks, preventing the video from displaying correctly.
The causes of pixelated or jagged, green video are due to any number of issues, including:
Refer to following sections to troubleshoot.
Complete the following steps to check the camera, third-party image enhancement SDK, and resolution:
Check the video source and the video renderer:
Stride
parameter and the width
parameter in VideoFrame
.If pixelated video appears in both the sender and the receiver, you need to check pixelated video in the sender first. If pixelated video appears in only the receiver, refer to the following steps to troubleshoot:
Stride
parameter and the width
parameter in VideoFrame
.Complete the following steps to check the camera, third-party image enhancement SDK, and resolution:
Ensure that the camera works correctly.
Check the third-party image enhancement SDK. If you are using a third-party image enhancement SDK, disable it and try again. If the video is no longer jagged and green, then this is the likely cause. Please contact the technical support of the third-party image enhancement SDK.
Check whether the resolution is recommended by Agora. If not, change the resolution.
setVideoSource
to set a custom source, check whether the data formats in getBufferType
and from IVideoFrameConsumer
to the SDK are consistent. If the data formats are inconsistent, update the data formats and re-check. Then check the custom renderer.setVideoSource
to set a custom source, check whether the data formats in getBufferType
and from IVideoFrameConsumer
to the SDK are consistent. If the data formats are inconsistent, update the data formats and re-check. Also check whether the video data is correctly sent from the custom source to the SDK.In Android, if you use a custom source in the communication profile, check whether the video data format is Texture. The Agora RTC SDK for Android does not support receiving video data in Texture format. You need to update the video data format to YUV and re-check the video.
If jagged, green video appears for both the sender and the receiver, you need to check jagged, green video in the sender first. If jagged, green video appears for the receiver only, refer to the following steps to troubleshoot:
setVideoSource
to set a custom source, check whether the data format in getBufferType
and from IVideoFrameConsumer
to the SDK are consistent. If the data format is inconsistent, update the data format and re-check.In Android, if you use a custom source in the communication profile, check whether the video data format is Texture. The Agora RTC SDK for Android does not support receiving video data in Texture format. You need to update the video data format to YUV and re-check the video.
If the previous steps in this article cannot help you fix this problem, please contact support@agora.io for technical support. Please provide the following information to help with the troubleshooting: