
/*---------------------------------------------------------------------------*/
/* ios_screen_capture_receiver.h                                             */
/* copyright (c) innovaphone 2015                                            */
/*                                                                           */
/*---------------------------------------------------------------------------*/

class UIosScreenCaptureReceiver
{
public:
    virtual void IosScreenCaptureRunning(bool running) = 0;
};

class IosScreenCaptureReceiver : public UIoContext
{
    class IIoMux *iomux;
    UIosScreenCaptureReceiver *user;
    byte * frameBuf;
    unsigned frameSize;
    unsigned framePos;
    bool running;
    bool keyframe;
    unsigned fullIntraAck;

    void IoContextNotify(bool indRX, bool indTX);

public:
    IosScreenCaptureReceiver(class IIoMux * iomux, UIosScreenCaptureReceiver *user);
    ~IosScreenCaptureReceiver();
};

/*---------------------------------------------------------------------------*/
