diff Core/DicomNetworking/Internals/CommandDispatcher.cpp @ 3645:8aab20dde416

Support of MPEG4 transfer syntaxes in C-Store SCP
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Feb 2020 08:32:38 +0100
parents 94f4a18a79cc
children 5faf76511931 4922bdd046dd
line wrap: on
line diff
--- a/Core/DicomNetworking/Internals/CommandDispatcher.cpp	Tue Feb 04 08:22:02 2020 +0100
+++ b/Core/DicomNetworking/Internals/CommandDispatcher.cpp	Tue Feb 04 08:32:38 2020 +0100
@@ -430,6 +430,17 @@
         transferSyntaxes.push_back(UID_MPEG2MainProfileAtHighLevelTransferSyntax);
       }
 
+      // New in Orthanc 1.6.0
+      if (!server.HasApplicationEntityFilter() ||
+          server.GetApplicationEntityFilter().IsAllowedTransferSyntax(remoteIp, remoteAet, calledAet, TransferSyntax_Mpeg4))
+      {
+        transferSyntaxes.push_back(UID_MPEG4BDcompatibleHighProfileLevel4_1TransferSyntax);
+        transferSyntaxes.push_back(UID_MPEG4HighProfileLevel4_1TransferSyntax);
+        transferSyntaxes.push_back(UID_MPEG4HighProfileLevel4_2_For2DVideoTransferSyntax);
+        transferSyntaxes.push_back(UID_MPEG4HighProfileLevel4_2_For3DVideoTransferSyntax);
+        transferSyntaxes.push_back(UID_MPEG4StereoHighProfileLevel4_2TransferSyntax);
+      }
+
       if (!server.HasApplicationEntityFilter() ||
           server.GetApplicationEntityFilter().IsAllowedTransferSyntax(remoteIp, remoteAet, calledAet, TransferSyntax_Rle))
       {