using System;
namespace Agora.Rtc
{
///
///
/// Receives encoded video images.
///
///
public abstract class IVideoEncodedFrameObserver
{
///
///
/// Occurs each time the SDK receives an encoded video image.
///
///
/// The user ID of the remote user.
///
/// The encoded video image buffer.
///
/// The data length of the video image.
///
/// For the information of the encoded video frame, see EncodedVideoFrameInfo .
///
///
/// Reserved for future use.
///
///
public virtual bool OnEncodedVideoFrameReceived(uint uid, IntPtr imageBufferPtr, UInt64 length, EncodedVideoFrameInfo videoEncodedFrameInfo)
{
return true;
}
}
}