StreamObserver

class kanzi::connect::StreamObserver : public InterfaceObserver

Observer class for Stream interface.

Public Functions

virtual void onNewBlob(const kanzi::string &streamId, const kanzi::string &blob, const int &flags) = 0

New video frame from service to client.

virtual void onReceiveEncoderParameter(const kanzi::string &streamId, const kanzi::string &parameterName, const kanzi::string &parameterValue) = 0

Reply to a previous requestEncoderParameter call.

virtual void onReceiveStreamInfo(const StreamInfo &streamInfo) = 0

Reply to a previous requestStreamInfo call.

virtual void onSubscriptionResult(const kanzi::string &streamId, const bool &subscribed) = 0

Reply to a previous subscribeBlobs call.