changeset 6921:188a17e5b03c streaming

comment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jun 2026 18:17:50 +0200
parents ff30e25e081e
children d602f35554c5
files OrthancServer/Sources/ServerContext.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Tue Jun 02 21:52:59 2026 +0200
+++ b/OrthancServer/Sources/ServerContext.h	Wed Jun 03 18:17:50 2026 +0200
@@ -603,6 +603,11 @@
 
     int64_t GetServerUpTime() const;
 
+    /**
+     * The method "GetTranscoder()" should only be used when
+     * necessary. The use of "TranscoderDataSource::Execute()" is
+     * preferred to benefit from cache and from backpressure.
+     **/
     const boost::shared_ptr<ServerTranscoder>& GetTranscoder() const;
 
     DicomSequentialReader::Factory& GetDicomSequentialReaderFactory();