IEncoderSettingsListener.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Digital Barriers
4 
28 #pragma once
29 
30 #include <string>
31 #include "CameraInfo.h"
32 #include "Encoder.h"
33 #include "EncoderConfig.h"
34 #include "EncoderProfile.h"
35 
36 namespace EdgeVisDecoderSDK
37 {
39  {
40  public:
41 
42  virtual ~IEncoderSettingsListener() {};
43 
50  virtual void VideoInputChanged(Encoder encoder, int32_t inputId) = 0;
51 
58  virtual void EdgeRecordingEnableChanged(Encoder encoder, bool enabled) = 0;
59 
66  virtual void AlarmRecordingChanged(Encoder encoder, bool recording) = 0;
67 
75  virtual void ActiveProfileChanged(Encoder encoder, std::wstring profileName) = 0;
76 
83  virtual void TimezoneIDChanged(Encoder encoder, std::wstring timezoneId) = 0;
84 
91  virtual void CameraInfoChanged(Encoder encoder, std::vector<CameraInfo> cameraInfo) = 0;
92 
93 
100  virtual void ProfilesChanged(Encoder encoder, std::vector <EncoderProfile> profiles) = 0;
101 
108  virtual void LocalWifiDownloadChanged(Encoder encoder, LocalWifiDownloadInfo lwdlInfo) = 0;
109 
116  virtual void SettingsInvalidated(Encoder encoder) = 0;
117 
118 
125  virtual void ProfilesInvalidated(Encoder encoder) = 0;
126 
133  virtual void StreamConfigChanged(Encoder encoder, StreamConfig config) = 0;
134 
141  virtual void BandwidthConfigChanged(Encoder encoder, BandwidthConfig config) = 0;
142 
149  virtual void VideoAnalyticsConfigChanged(Encoder encoder, std::map<int32_t, VideoAnalyticsConfig> config) = 0;
150  };
151 }
Defines Encoder local Wifi download settings.
Definition: ConfigTypes.h:84
virtual void LocalWifiDownloadChanged(Encoder encoder, LocalWifiDownloadInfo lwdlInfo)=0
Called when the Encoder&#39;s local Wifi download (LWDL) settings have been changed.
virtual void TimezoneIDChanged(Encoder encoder, std::wstring timezoneId)=0
Called when the Encoder&#39;s timezone ID has been changed.
The interface to provide callbacks on Encoder settings changes.
Definition: IEncoderSettingsListener.h:38
virtual void ActiveProfileChanged(Encoder encoder, std::wstring profileName)=0
Called when the Encoder&#39;s active streaming profile has been changed.
virtual void ProfilesChanged(Encoder encoder, std::vector< EncoderProfile > profiles)=0
Called when an Encoder&#39;s profile has been changed.
Class to allow for configuring the streaming characteristics of an Encoder.
Definition: StreamConfig.h:34
virtual void ProfilesInvalidated(Encoder encoder)=0
Called when an Encoder&#39;s profiles have been invalidated.
virtual void StreamConfigChanged(Encoder encoder, StreamConfig config)=0
Called when an Encoder&#39;s stream configuration has been changed.
virtual void VideoInputChanged(Encoder encoder, int32_t inputId)=0
Called when the Encoder&#39;s input has been changed.
virtual void BandwidthConfigChanged(Encoder encoder, BandwidthConfig config)=0
Called when an Encoder&#39;s bandwidth configuration has been changed.
An Encoder interface represents an Encoder that is managed by the server.
Definition: Encoder.h:58
virtual void EdgeRecordingEnableChanged(Encoder encoder, bool enabled)=0
Called when the Encoder&#39;s edge recording state has been changed.
virtual void VideoAnalyticsConfigChanged(Encoder encoder, std::map< int32_t, VideoAnalyticsConfig > config)=0
Called when an Encoder&#39;s video analytics configuration has been changed.
virtual void CameraInfoChanged(Encoder encoder, std::vector< CameraInfo > cameraInfo)=0
Called when the Encoder&#39;s camera list has been changed.
The EdgeVis Decoder SDK namespace.
Defines the bandwidth configuration to use for an encoder.
Definition: BandwidthConfig.h:41
virtual void AlarmRecordingChanged(Encoder encoder, bool recording)=0
Called when the Encoder&#39;s recording state has been changed due to an alarm action.
virtual void SettingsInvalidated(Encoder encoder)=0
Called when an Encoder&#39;s settings have been invalidated.