Kanzi Connect  1.1.10
Kanzi Connect C++ API
kanzi::connect::StreamObserver Class Referenceabstract

Observer class for Stream interface. More...

#include <stream_session_client.hpp>

Inheritance diagram for kanzi::connect::StreamObserver:
kanzi::connect::InterfaceObserver

Public Member Functions

virtual void onNewBlob (const kanzi::string &streamId, const kanzi::string &blob, const int &flags)=0
 New video frame from service to client. More...
 
virtual void onReceiveEncoderParameter (const kanzi::string &streamId, const kanzi::string &parameterName, const kanzi::string &parameterValue)=0
 Reply to a previous requestEncoderParameter call. More...
 
virtual void onReceiveStreamInfo (const StreamInfo &streamInfo)=0
 Reply to a previous requestStreamInfo call. More...
 
virtual void onSubscriptionResult (const kanzi::string &streamId, const bool &subscribed)=0
 Reply to a previous subscribeBlobs call. More...
 
- Public Member Functions inherited from kanzi::connect::InterfaceObserver
virtual void onMessageReceived (const MessagePackage &)
 Notification that interface has received a message. More...
 
virtual void onSessionRunning ()
 Notification that interface/session entered running state. More...
 
virtual void onSessionStopped ()
 Notification that interface/session got stopped for a reason or another. More...
 
virtual ~InterfaceObserver ()
 Destructor. More...
 

Detailed Description

Observer class for Stream interface.

Member Function Documentation

◆ onNewBlob()

virtual void kanzi::connect::StreamObserver::onNewBlob ( const kanzi::string &  streamId,
const kanzi::string &  blob,
const int &  flags 
)
pure virtual

New video frame from service to client.

◆ onReceiveEncoderParameter()

virtual void kanzi::connect::StreamObserver::onReceiveEncoderParameter ( const kanzi::string &  streamId,
const kanzi::string &  parameterName,
const kanzi::string &  parameterValue 
)
pure virtual

Reply to a previous requestEncoderParameter call.

◆ onReceiveStreamInfo()

virtual void kanzi::connect::StreamObserver::onReceiveStreamInfo ( const StreamInfo streamInfo)
pure virtual

Reply to a previous requestStreamInfo call.

◆ onSubscriptionResult()

virtual void kanzi::connect::StreamObserver::onSubscriptionResult ( const kanzi::string &  streamId,
const bool &  subscribed 
)
pure virtual

Reply to a previous subscribeBlobs call.


The documentation for this class was generated from the following file: