StreamObserver

class kanzi::connect::StreamObserver : public InterfaceObserver

Observer class for Stream interface.

Public Functions

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

New video frame from service to client.

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

Reply to a previous requestEncoderParameter call.

void onReceiveStreamInfo(const StreamInfo &streamInfo) = 0

Reply to a previous requestStreamInfo call.

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

Reply to a previous subscribeBlobs call.