Kanzi Connect 3.9.10
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.
 
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.
 
- Public Member Functions inherited from kanzi::connect::InterfaceObserver
virtual void onMessageReceived (const MessagePackage &message)
 Notification that interface has received a message.
 
virtual void onSessionRunning ()
 Notification that interface/session entered running state.
 
virtual void onSessionStopped ()
 Notification that interface/session got stopped for a reason or another.
 
virtual ~InterfaceObserver ()
 Destructor.
 

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: