Observer class for Stream interface.
More...
#include <stream_session_client.hpp>
|
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 ¶meterName, const kanzi::string ¶meterValue)=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.
|
|
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.
|
|
Observer class for Stream interface.
◆ 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:
- connect/stream_session_client.hpp