SplitterTest modification
authorMaximilian Quellmalz <maximilian.quellmalz@mailbox.tu-dresden.de>
Thu, 23 Oct 2014 14:06:14 +0000 (16:06 +0200)
committerMaximilian Quellmalz <maximilian.quellmalz@mailbox.tu-dresden.de>
Thu, 23 Oct 2014 14:06:14 +0000 (16:06 +0200)
Splitter-ng-test/src/SplitterTest.java

index 5eaade3..05e566a 100644 (file)
@@ -218,12 +218,11 @@ public class SplitterTest implements SplitterCallback {
                                        // Codecparameter Bauen
                                        Map<String, Integer> codecParameter111 = new TreeMap<String, Integer>();
                                        codecParameter111.put("k", 3);
-                                       codecParameter111.put("m", 3);
-                                       codecParameter111.put("packetsize", 4096);
+                                       codecParameter111.put("m", 2);
+                                       codecParameter111.put("packetsize", 1024);
                                        System.out.println("\t\tinitialisiere mit" + " k="
                                                        + codecParameter111.get("k") + " m="
-                                                       + codecParameter111.get("m") + " w="
-                                                       + codecParameter111.get("w") + " packetsize="
+                                                       + codecParameter111.get("m") + " packetsize="
                                                        + codecParameter111.get("packetsize"));
                                        // Splitter mit Plugin-ID CodecID und codecparametern
                                        // initialisieren
@@ -233,9 +232,10 @@ public class SplitterTest implements SplitterCallback {
                                        
                                        // Metadaten bauen vorlage
                                        Map<String, Object> metadatajerasure111 = new TreeMap<String, Object>();
-                                       metadatajerasure111.put("fragmentsize", (int) 256);
+                                       metadatajerasure111.put("fragmentsize", (int) 1024);
+                                       metadatajerasure111.put("digest", "SHA-256");
+                                       //metadatajerasure111.put("digest", "MD5");
                                        // Beleiebige weitere Metadaten
-                                       
                                        splitter_metadata_map.put(splitterjerasure111, metadatajerasure111);
                                        break;
 ///-----------------------------------------------------------------------------------------------