GOPDownloadService.h
Go to the documentation of this file.
52 GOPDownloadService(std::weak_ptr<EncoderImpl> encoder, const std::wstring& name = L"", int32_t idleTimeoutMs = -1);
90 DB_EDGEVIS_SDK OpResult DownloadGOPs(int64_t start_ts, int64_t end_ts, int32_t input, int32_t frame_height = 0, int32_t frame_step = 0, int32_t bitrate = 0);
DB_EDGEVIS_SDK bool SetIsHighPriority(const bool high_priority)
Set whether to use high priority for GOP downloads.
DB_EDGEVIS_SDK bool GetIsHighPriority() const
Get if high priority is being used for GOP downloads.
DB_EDGEVIS_SDK int32_t GetTargetBandwidth()
Get the target bandwidth for the GOP download.
DB_EDGEVIS_SDK OpResult SetTargetBandwidth(int32_t bandwidth)
Set the target bandwidth usage of the GOP download.
The interface for the GOP download service callbacks.
Definition: IGOPDownloadListener.h:39
The Stream interface represent a service that is available on an Encoder.
Definition: Stream.h:50
DB_EDGEVIS_SDK int32_t GetTargetBandwidthPercentage()
Gets the target GOP download bandwidth usage percentage.
DB_EDGEVIS_SDK void SetListener(IGOPDownloadListener *listener)
Set the listener for the GOP download service.
DB_EDGEVIS_SDK OpResult DownloadGOPs(int64_t start_ts, int64_t end_ts, int32_t input, int32_t frame_height=0, int32_t frame_step=0, int32_t bitrate=0)
Request GOP download from the encoder for the given time frame and input.
The GOP Download Service handles the download of GOPs (Group of Pictures) from the edge archive of su...
Definition: GOPDownloadService.h:48
DB_EDGEVIS_SDK OpResult SetTargetBandwidthPercentage(int32_t bandwidthPercentage)
Sets the target GOP download bandwidth usage percentage.
DB_EDGEVIS_SDK void AbortDownload()
Abort any in-progress GOP download.
virtual DB_EDGEVIS_SDK OpResult Stop()
Stops the GOP download service.
virtual DB_EDGEVIS_SDK OpResult Start()
Starts the GOP download service.
The EdgeVis Decoder SDK namespace.
DB_EDGEVIS_SDK int32_t GetBandwidth()
Get the measured bandwidth usage of the GOP download.
