IEncoderListener.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Digital Barriers
4 
31 #pragma once
32 
33 #include "ServerLinkState.h"
34 #include "MediaStreamState.h"
35 
36 namespace EdgeVisEncoderSDK
37 {
39  {
40  public:
41  virtual ~IEncoderListener() {};
42 
49  virtual void ServerStateChanged(ServerLinkState state, ServerLinkError error) = 0;
50 
62  virtual void MediaStreamStateChanged(MediaStreamState state) = 0;
63 
75  virtual void VPTZUpdated(int16_t src_w, int16_t src_h, int16_t top, int16_t left, int16_t bottom, int16_t right) = 0;
76 
82  virtual void ArchiveDiskSpaceAlert(int8_t percentageUsed) = 0;
83 
89  virtual void EventDelivered(int32_t id) = 0;
90  };
91 }
virtual void ArchiveDiskSpaceAlert(int8_t percentageUsed)=0
Called when disk space is running low.
The interface listener for the encoder object.
Definition: IEncoderListener.h:38
virtual void ServerStateChanged(ServerLinkState state, ServerLinkError error)=0
Called when the server's communication link state changes.
MediaStreamState
Defines the set of stream states.
Definition: MediaStreamState.h:21
virtual void EventDelivered(int32_t id)=0
Called when the server acknowledges receipt of an event.
virtual void VPTZUpdated(int16_t src_w, int16_t src_h, int16_t top, int16_t left, int16_t bottom, int16_t right)=0
Called when the VPTZ selection are has changed.
virtual void MediaStreamStateChanged(MediaStreamState state)=0
Called when the state of the media stream changes.
The EdgeVis Encoder SDK namespace.
ServerLinkError
Defines the set of Server communication link errors.
Definition: ServerLinkState.h:31
ServerLinkState
Defines the set of Server communication link states.
Definition: ServerLinkState.h:20