Browse Source

création d'un script de lancement

FARINA Louis 3 months ago
parent
commit
db4aa33b6b
63 changed files with 342 additions and 90 deletions
  1. 1
    0
      RSTP_DSLink/.keys
  2. BIN
      RSTP_DSLink/.vs/RSTP_DSLink/v16/.suo
  3. 5
    0
      RSTP_DSLink/DSLink_start.bat
  4. 10
    15
      RSTP_DSLink/RSTP_DSLink/RSTP_DSLink.cs
  5. BIN
      RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.dll
  6. BIN
      RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.pdb
  7. 36
    0
      RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/log-20210810.txt
  8. 10
    10
      RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/nodes.json
  9. 1
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/.keys
  10. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/BouncyCastle.Crypto.dll
  11. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/CommandLine.dll
  12. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/DSLink.dll
  13. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Microsoft.Win32.Registry.dll
  14. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/MsgPack.dll
  15. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Newtonsoft.Json.dll
  16. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.deps.json
  17. BIN
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.dll
  18. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.exe
  19. BIN
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.pdb
  20. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.runtimeconfig.dev.json
  21. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.runtimeconfig.json
  22. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.Console.dll
  23. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.Debug.dll
  24. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.File.dll
  25. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.RollingFile.dll
  26. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.dll
  27. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/StandardStorage.dll
  28. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Swan.Lite.dll
  29. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Swan.dll
  30. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.CodeDom.dll
  31. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Device.Gpio.dll
  32. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.AccessControl.dll
  33. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.Permissions.dll
  34. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.Principal.Windows.dll
  35. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.Raspberry.Abstractions.dll
  36. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.RaspberryIO.Peripherals.dll
  37. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.RaspberryIO.dll
  38. 11
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/log-20210810.txt
  39. 54
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/nodes.json
  40. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll
  41. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll
  42. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll
  43. 0
    0
      RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll
  44. 0
    23
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.AssemblyInfo.cs
  45. 0
    1
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.AssemblyInfoInputs.cache
  46. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.assets.cache
  47. 0
    1
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.CoreCompileInputs.cache
  48. 0
    40
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.FileListAbsolute.txt
  49. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.dll
  50. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.pdb
  51. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.assets.cache
  52. 0
    0
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.AssemblyReference.cache
  53. 0
    0
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.CopyComplete
  54. 1
    0
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.CoreCompileInputs.cache
  55. 40
    0
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.FileListAbsolute.txt
  56. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.dll
  57. 0
    0
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.genruntimeconfig.cache
  58. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.pdb
  59. BIN
      RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/apphost.exe
  60. 25
    0
      RSTP_DSLink/log-20210811.txt
  61. 22
    0
      RSTP_DSLink/log-20210812.txt
  62. 12
    0
      RSTP_DSLink/log-20210816.txt
  63. 114
    0
      RSTP_DSLink/nodes.json

+ 1
- 0
RSTP_DSLink/.keys View File

@@ -0,0 +1 @@
1
+N8Q5z2KAlHMQ6dEQHh2yydkoQuEhqI8/JmuXoe25tfA= BAuALlcXfgWF7YCzQ1SKiXlK2pExdUgIHPiCrQoupuuxEcXtej/HDf6WPfS8mh66BWMhszY4SGbG3qqvDmW2kpE=

BIN
RSTP_DSLink/.vs/RSTP_DSLink/v16/.suo View File


+ 5
- 0
RSTP_DSLink/DSLink_start.bat View File

@@ -0,0 +1,5 @@
1
+@echo off
2
+IF "%1"=="" (SET "Server=localhost:8080") ELSE (SET "Server=%1")
3
+echo Connecting to %Server%...
4
+RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.exe --name RTSP --broker http://%Server%/conn
5
+pause

+ 10
- 15
RSTP_DSLink/RSTP_DSLink/RSTP_DSLink.cs View File

@@ -218,6 +218,7 @@ namespace RTSP_DSLink
218 218
                 if (streamRootNode == null) return;
219 219
                 if (streamRootNode.Children.ContainsKey(streamName)) return;
220 220
 
221
+                //on part du port 8081 et on scanne les ports jusqu'à en trouver un inutilisé
221 222
                 while (PortInUse(port))
222 223
                     port++;
223 224
 
@@ -235,17 +236,11 @@ namespace RTSP_DSLink
235 236
                     }
236 237
                 }*/
237 238
 
238
-                
239
-
240 239
                 var stream = streamRootNode.CreateChild(streamName, "stream").BuildNode();
241 240
 
242 241
                 stream.Value.Set(port);
243 242
                 stream.CreateChild("remove", "removeNode").BuildNode();
244
-
245
-                /*System.Diagnostics.Process.Start("CMD.exe", "/C \"C:\\Program Files\\VideoLAN\\VLC\\VLC.exe\"" +
246
-                    " -vvv -Idummy " + address + " --sout #transcode{vcodec=MJPG,venc=ffmpeg{strict=1}}" +
247
-                    ":standard{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a}," +
248
-                    "mux=mpjpeg,dst=:" + port + "/} vlc://quit;");*/
243
+                
249 244
                 var proc = new Process {
250 245
                     StartInfo = new ProcessStartInfo
251 246
                     {
@@ -257,7 +252,8 @@ namespace RTSP_DSLink
257 252
                         RedirectStandardOutput = false,
258 253
                         CreateNoWindow = true
259 254
                     }};
260
-                proc.Start();
255
+                proc.Start();//on lance la conversion du stream avec VLC
256
+                
261 257
                 _processes.Add(streamName, proc);
262 258
 
263 259
                 await request.Close();
@@ -274,27 +270,23 @@ namespace RTSP_DSLink
274 270
             try
275 271
             {
276 272
                 var alarmName = request.Parameters["Alarm name"].Value<string>();
277
-                //var cameraName = request.Parameters["Camera name"].Value<string>();
278 273
                 var address = request.Parameters["Raspberry Pi IP Address"].Value<string>();
279 274
                 var port = request.Parameters["Port Number"].Value<int>();
280 275
                 var pin = request.Parameters["GPIO Pin"].Value<int>();
281 276
                 Responder.SuperRoot.Children.TryGetValue("alarms", out Node alarmRootNode);
282 277
 
283 278
                 if (string.IsNullOrEmpty(alarmName)) return;
284
-                //if (string.IsNullOrEmpty(cameraName)) return;
285 279
                 if (alarmRootNode.Children.ContainsKey(alarmName)) return;
286
-                //if (!Responder.SuperRoot.Children.ContainsKey(cameraName)) return;
287 280
 
288 281
                 var alarm = alarmRootNode.CreateChild(alarmName, "alarm").BuildNode();
289 282
 
290 283
                 alarm.CreateChild("remove", "removeNode").BuildNode();
291 284
                 var ts = new CancellationTokenSource();
292 285
                 CancellationToken ct = ts.Token;
286
+                //on lance une tâche en parallèle, qui observe la pin et met à jour la valeur du noeud
293 287
                 Task.Run(() => _updateAlarm(alarm, address, port, pin, ct));
294 288
                 _alarmCTs.Add(alarmName, ts);
295 289
 
296
-                
297
-
298 290
                 await request.Close();
299 291
                 await SaveNodes();
300 292
             }
@@ -324,6 +316,7 @@ namespace RTSP_DSLink
324 316
                     {
325 317
                         if (node.ClassName == "stream")
326 318
                         {
319
+                            //si le noeud est un stream, on tue le processus VLC associé
327 320
                             var port = node.Value.Int;
328 321
                             _processes.TryGetValue(nodeName, out Process proc);
329 322
                             if (proc != null)
@@ -337,6 +330,7 @@ namespace RTSP_DSLink
337 330
                         }
338 331
                         else if (node.ClassName == "alarm")
339 332
                         {
333
+                            //si le noeud est une alarme, on arrête la tâche associée
340 334
                             _alarmCTs.TryGetValue(nodeName, out CancellationTokenSource ts);
341 335
                             if (ts != null)
342 336
                                 ts.Cancel();
@@ -371,15 +365,16 @@ namespace RTSP_DSLink
371 365
                         controller.SetPinMode(pin, PinMode.InputPullUp);
372 366
 
373 367
                         while (!ct.IsCancellationRequested)
368
+                        //boucle infinie, qui s'arrête uniquement lorsque l'on annule la tâche
374 369
                         {
375 370
                             controller.WaitForEvent(pin, PinEventTypes.Falling, ct);
376 371
                             if (!ct.IsCancellationRequested)
377 372
                             {
378
-                                Console.WriteLine("Beep boop");
373
+                               // Console.WriteLine("Beep boop");
379 374
                                 alarm.Value.Set(true);
380 375
                             }
381 376
                         }
382
-                        Console.WriteLine("Task cancelled");
377
+                        //Console.WriteLine("Task cancelled");
383 378
                         controller.ClosePin(pin);
384 379
                     }
385 380
                 }

BIN
RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.dll View File


BIN
RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.pdb View File


+ 36
- 0
RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/log-20210810.txt View File

@@ -13,3 +13,39 @@
13 13
 2021-08-10 15:18:13.656 +02:00 [Information] Connecting
14 14
 2021-08-10 15:18:13.694 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=0WXjdydamm39OqRForInn9t_ALW3ViShWWfAyLKMugg&format=msgpack
15 15
 2021-08-10 15:18:13.899 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=0WXjdydamm39OqRForInn9t_ALW3ViShWWfAyLKMugg&format=msgpack
16
+2021-08-10 16:27:29.812 +02:00 [Information] Handshaking with 192.168.1.54:8081/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
17
+2021-08-10 16:27:29.968 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
18
+2021-08-10 16:27:29.971 +02:00 [Warning] Failed to connect, delaying for 1 seconds
19
+2021-08-10 16:27:30.984 +02:00 [Information] Handshaking with 192.168.1.54:8081/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
20
+2021-08-10 16:27:30.987 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
21
+2021-08-10 16:27:30.988 +02:00 [Warning] Failed to connect, delaying for 2 seconds
22
+2021-08-10 16:27:32.996 +02:00 [Information] Handshaking with 192.168.1.54:8081/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
23
+2021-08-10 16:27:33.000 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
24
+2021-08-10 16:27:33.001 +02:00 [Warning] Failed to connect, delaying for 3 seconds
25
+2021-08-10 16:27:36.018 +02:00 [Information] Handshaking with 192.168.1.54:8081/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
26
+2021-08-10 16:27:36.021 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
27
+2021-08-10 16:27:36.022 +02:00 [Warning] Failed to connect, delaying for 4 seconds
28
+2021-08-10 16:27:42.897 +02:00 [Information] Handshaking with 192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
29
+2021-08-10 16:27:42.974 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
30
+2021-08-10 16:27:42.979 +02:00 [Warning] Failed to connect, delaying for 1 seconds
31
+2021-08-10 16:27:43.994 +02:00 [Information] Handshaking with 192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
32
+2021-08-10 16:27:43.997 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
33
+2021-08-10 16:27:43.999 +02:00 [Warning] Failed to connect, delaying for 2 seconds
34
+2021-08-10 16:27:46.001 +02:00 [Information] Handshaking with 192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
35
+2021-08-10 16:27:46.006 +02:00 [Warning] An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
36
+2021-08-10 16:27:46.007 +02:00 [Warning] Failed to connect, delaying for 3 seconds
37
+2021-08-10 16:28:05.491 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
38
+2021-08-10 16:28:05.746 +02:00 [Information] Handshake successful
39
+2021-08-10 16:28:05.878 +02:00 [Information] Connecting
40
+2021-08-10 16:28:05.904 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=Xn-PoACDHlFYCltU8XDA5T4LVH1xOFb_kX5oV_18B9I&format=msgpack
41
+2021-08-10 16:28:05.950 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=Xn-PoACDHlFYCltU8XDA5T4LVH1xOFb_kX5oV_18B9I&format=msgpack
42
+2021-08-10 16:53:16.405 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
43
+2021-08-10 16:53:16.595 +02:00 [Information] Handshake successful
44
+2021-08-10 16:53:16.669 +02:00 [Information] Connecting
45
+2021-08-10 16:53:16.695 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=zUN0cCbT5Q_AijaCHuTbqABToNwffoz-mY6YhCkRn-0&format=msgpack
46
+2021-08-10 16:53:16.733 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=zUN0cCbT5Q_AijaCHuTbqABToNwffoz-mY6YhCkRn-0&format=msgpack
47
+2021-08-10 16:54:10.115 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs
48
+2021-08-10 16:54:10.411 +02:00 [Information] Handshake successful
49
+2021-08-10 16:54:10.490 +02:00 [Information] Connecting
50
+2021-08-10 16:54:10.520 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=EBj7OaHqqULVaG4f8BDz8wVHXfNi1y7gK1xQUXHNu_Y&format=msgpack
51
+2021-08-10 16:54:10.568 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-OMdrHg0avIBTMlApcGJyO6F7_WThL5P0aIxLoTJwYrs&auth=EBj7OaHqqULVaG4f8BDz8wVHXfNi1y7gK1xQUXHNu_Y&format=msgpack

+ 10
- 10
RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/nodes.json View File

@@ -45,11 +45,15 @@
45 45
   },
46 46
   "alarms": {
47 47
     "$is": "node",
48
+    "privateConfigs": {}
49
+  },
50
+  "streams": {
51
+    "$is": "node",
48 52
     "privateConfigs": {},
49
-    "alarme1": {
50
-      "$is": "alarm",
53
+    "cam1": {
54
+      "$is": "stream",
51 55
       "$writable": "read",
52
-      "$type": "bool",
56
+      "$type": "number",
53 57
       "privateConfigs": {},
54 58
       "remove": {
55 59
         "$is": "removeNode",
@@ -58,13 +62,9 @@
58 62
         "privateConfigs": {},
59 63
         "?class": "removeNode"
60 64
       },
61
-      "?value": false,
62
-      "?class": "alarm"
63
-    }
64
-  },
65
-  "streams": {
66
-    "$is": "node",
67
-    "privateConfigs": {},
65
+      "?value": 8081,
66
+      "?class": "stream"
67
+    },
68 68
     "cam2": {
69 69
       "$is": "stream",
70 70
       "$writable": "read",

+ 1
- 0
RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/.keys View File

@@ -0,0 +1 @@
1
+fIgmfeM4nBrEf43FIOdny7uAizMiakwwRTOUDJVwRPk= BD4VtDgSTQLXvSGmAj0KzgfmuPFyjXWn7HOB55vmddffYM2+y2cUqE3MSomVTblds7J4qTimNbJ8suRwec7sUls=

RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/BouncyCastle.Crypto.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/BouncyCastle.Crypto.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/CommandLine.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/CommandLine.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/DSLink.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/DSLink.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Microsoft.Win32.Registry.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Microsoft.Win32.Registry.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/MsgPack.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/MsgPack.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Newtonsoft.Json.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.deps.json → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.deps.json View File


BIN
RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.exe → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.exe View File


BIN
RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.pdb View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.runtimeconfig.dev.json → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.runtimeconfig.dev.json View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/RSTP_DSLink.runtimeconfig.json → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/RSTP_DSLink.runtimeconfig.json View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Serilog.Sinks.Console.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.Console.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Serilog.Sinks.Debug.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.Debug.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Serilog.Sinks.File.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.File.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Serilog.Sinks.RollingFile.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.Sinks.RollingFile.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Serilog.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Serilog.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/StandardStorage.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/StandardStorage.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Swan.Lite.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Swan.Lite.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Swan.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Swan.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/System.CodeDom.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.CodeDom.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/System.Device.Gpio.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Device.Gpio.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/System.Security.AccessControl.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.AccessControl.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/System.Security.Permissions.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.Permissions.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/System.Security.Principal.Windows.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/System.Security.Principal.Windows.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Unosquare.Raspberry.Abstractions.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.Raspberry.Abstractions.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Unosquare.RaspberryIO.Peripherals.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.RaspberryIO.Peripherals.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/Unosquare.RaspberryIO.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/Unosquare.RaspberryIO.dll View File


+ 11
- 0
RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/log-20210810.txt View File

@@ -0,0 +1,11 @@
1
+2021-08-10 16:29:29.035 +02:00 [Warning] Failed to load nodes.json
2
+2021-08-10 16:29:29.099 +02:00 [Warning] File does not exist: C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\nodes.json
3
+2021-08-10 16:29:29.419 +02:00 [Warning]    at StandardStorage.Folder.GetFileAsync(String name, CancellationToken cancellationToken)
4
+   at DSLink.VFS.SystemVFS._getFile(String fileName)
5
+   at DSLink.VFS.SystemVFS.ReadAsync(String fileName)
6
+   at DSLink.Respond.DiskSerializer.DeserializeFromDisk()
7
+2021-08-10 16:29:29.559 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-kmS3ZynUOMIfzu1iULqqkTVS9SjCbL8iVeCkne0XCe0
8
+2021-08-10 16:29:29.851 +02:00 [Information] Handshake successful
9
+2021-08-10 16:29:30.102 +02:00 [Information] Connecting
10
+2021-08-10 16:29:30.112 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-kmS3ZynUOMIfzu1iULqqkTVS9SjCbL8iVeCkne0XCe0&auth=vKUt6sCqqK4mOVAHm1qLyQ7_KbM0eeowXNgul_fieOg&format=msgpack
11
+2021-08-10 16:29:30.217 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-kmS3ZynUOMIfzu1iULqqkTVS9SjCbL8iVeCkne0XCe0&auth=vKUt6sCqqK4mOVAHm1qLyQ7_KbM0eeowXNgul_fieOg&format=msgpack

+ 54
- 0
RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/nodes.json View File

@@ -0,0 +1,54 @@
1
+{
2
+  "$is": "node",
3
+  "privateConfigs": {},
4
+  "createStream": {
5
+    "$is": "streamAdd",
6
+    "$name": "Add Stream",
7
+    "$params": [
8
+      {
9
+        "name": "RSTP URL",
10
+        "type": "string"
11
+      },
12
+      {
13
+        "name": "Stream name",
14
+        "type": "string"
15
+      }
16
+    ],
17
+    "$invokable": "config",
18
+    "privateConfigs": {},
19
+    "?class": "streamAdd"
20
+  },
21
+  "createAlarm": {
22
+    "$is": "alarmAdd",
23
+    "$name": "Add Alarm",
24
+    "$params": [
25
+      {
26
+        "name": "Alarm name",
27
+        "type": "string"
28
+      },
29
+      {
30
+        "name": "Raspberry Pi IP Address",
31
+        "type": "string"
32
+      },
33
+      {
34
+        "name": "Port Number",
35
+        "type": "number"
36
+      },
37
+      {
38
+        "name": "GPIO Pin",
39
+        "type": "number"
40
+      }
41
+    ],
42
+    "$invokable": "config",
43
+    "privateConfigs": {},
44
+    "?class": "alarmAdd"
45
+  },
46
+  "alarms": {
47
+    "$is": "node",
48
+    "privateConfigs": {}
49
+  },
50
+  "streams": {
51
+    "$is": "node",
52
+    "privateConfigs": {}
53
+  }
54
+}

RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll View File


RSTP_DSLink/RSTP_DSLink/bin/Debug/netcoreapp3.1/runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll → RSTP_DSLink/RSTP_DSLink/bin/Release/netcoreapp3.1/runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll View File


+ 0
- 23
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.AssemblyInfo.cs View File

@@ -1,23 +0,0 @@
1
-//------------------------------------------------------------------------------
2
-// <auto-generated>
3
-//     Ce code a été généré par un outil.
4
-//     Version du runtime :4.0.30319.42000
5
-//
6
-//     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
7
-//     le code est régénéré.
8
-// </auto-generated>
9
-//------------------------------------------------------------------------------
10
-
11
-using System;
12
-using System.Reflection;
13
-
14
-[assembly: System.Reflection.AssemblyCompanyAttribute("RSTP_DSLink")]
15
-[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16
-[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18
-[assembly: System.Reflection.AssemblyProductAttribute("RSTP_DSLink")]
19
-[assembly: System.Reflection.AssemblyTitleAttribute("RSTP_DSLink")]
20
-[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21
-
22
-// Généré par la classe MSBuild WriteCodeFragment.
23
-

+ 0
- 1
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.AssemblyInfoInputs.cache View File

@@ -1 +0,0 @@
1
-1460c99dfa21333b31a4af92cc4c18110ef62d56

BIN
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.assets.cache View File


+ 0
- 1
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.CoreCompileInputs.cache View File

@@ -1 +0,0 @@
1
-38f2e3c6f718af46c0bc45eb96010e1b0699066e

+ 0
- 40
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.FileListAbsolute.txt View File

@@ -1,40 +0,0 @@
1
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.exe
2
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.deps.json
3
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.runtimeconfig.json
4
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.runtimeconfig.dev.json
5
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.dll
6
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\RSTP_DSLink.pdb
7
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\CommandLine.dll
8
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\MsgPack.dll
9
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
10
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\BouncyCastle.Crypto.dll
11
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Serilog.dll
12
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Serilog.Sinks.Console.dll
13
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Serilog.Sinks.Debug.dll
14
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Serilog.Sinks.File.dll
15
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Serilog.Sinks.RollingFile.dll
16
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\StandardStorage.dll
17
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\System.CodeDom.dll
18
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\System.Security.Permissions.dll
19
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\DSLink.dll
20
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.AssemblyInfoInputs.cache
21
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.AssemblyInfo.cs
22
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.csproj.CoreCompileInputs.cache
23
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.csproj.CopyComplete
24
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.dll
25
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.pdb
26
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.genruntimeconfig.cache
27
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Unosquare.Raspberry.Abstractions.dll
28
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Unosquare.RaspberryIO.dll
29
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Unosquare.RaspberryIO.Peripherals.dll
30
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Swan.dll
31
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Swan.Lite.dll
32
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\Microsoft.Win32.Registry.dll
33
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\System.Device.Gpio.dll
34
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\System.Security.AccessControl.dll
35
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\System.Security.Principal.Windows.dll
36
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\Microsoft.Win32.Registry.dll
37
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.0\System.Security.AccessControl.dll
38
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.1\System.Security.Principal.Windows.dll
39
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\System.Security.Principal.Windows.dll
40
-C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Debug\netcoreapp3.1\RSTP_DSLink.csproj.AssemblyReference.cache

BIN
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.dll View File


BIN
RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.pdb View File


BIN
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.assets.cache View File


RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.AssemblyReference.cache → RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.AssemblyReference.cache View File


RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.csproj.CopyComplete → RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.CopyComplete View File


+ 1
- 0
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.CoreCompileInputs.cache View File

@@ -0,0 +1 @@
1
+b15dba5b2e0439cf47130707df06b242186a9c06

+ 40
- 0
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.csproj.FileListAbsolute.txt View File

@@ -0,0 +1,40 @@
1
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.exe
2
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.deps.json
3
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.runtimeconfig.json
4
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.runtimeconfig.dev.json
5
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.dll
6
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\RSTP_DSLink.pdb
7
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\CommandLine.dll
8
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Microsoft.Win32.Registry.dll
9
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\MsgPack.dll
10
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Newtonsoft.Json.dll
11
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\BouncyCastle.Crypto.dll
12
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Serilog.dll
13
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Serilog.Sinks.Console.dll
14
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Serilog.Sinks.Debug.dll
15
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Serilog.Sinks.File.dll
16
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Serilog.Sinks.RollingFile.dll
17
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\StandardStorage.dll
18
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\System.CodeDom.dll
19
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\System.Device.Gpio.dll
20
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\System.Security.AccessControl.dll
21
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\System.Security.Permissions.dll
22
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\System.Security.Principal.Windows.dll
23
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Unosquare.Raspberry.Abstractions.dll
24
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Unosquare.RaspberryIO.dll
25
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Unosquare.RaspberryIO.Peripherals.dll
26
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Swan.dll
27
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\Swan.Lite.dll
28
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\runtimes\win\lib\netstandard2.0\Microsoft.Win32.Registry.dll
29
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\runtimes\win\lib\netcoreapp2.0\System.Security.AccessControl.dll
30
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.1\System.Security.Principal.Windows.dll
31
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\System.Security.Principal.Windows.dll
32
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\bin\Release\netcoreapp3.1\DSLink.dll
33
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.csproj.AssemblyReference.cache
34
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.AssemblyInfoInputs.cache
35
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.AssemblyInfo.cs
36
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.csproj.CoreCompileInputs.cache
37
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.csproj.CopyComplete
38
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.dll
39
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.pdb
40
+C:\Users\l.farina\Desktop\UCRM_stage\RSTP_DSLink\RSTP_DSLink\obj\Release\netcoreapp3.1\RSTP_DSLink.genruntimeconfig.cache

BIN
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.dll View File


RSTP_DSLink/RSTP_DSLink/obj/Debug/netcoreapp3.1/RSTP_DSLink.genruntimeconfig.cache → RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.genruntimeconfig.cache View File


BIN
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/RSTP_DSLink.pdb View File


BIN
RSTP_DSLink/RSTP_DSLink/obj/Release/netcoreapp3.1/apphost.exe View File


+ 25
- 0
RSTP_DSLink/log-20210811.txt View File

@@ -0,0 +1,25 @@
1
+2021-08-11 09:22:15.404 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
2
+2021-08-11 09:22:15.836 +02:00 [Information] Handshake successful
3
+2021-08-11 09:22:15.930 +02:00 [Information] Connecting
4
+2021-08-11 09:22:15.958 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=-5UqwsCcQAqr0JBT5RhHrlj5R2bU5BpyyBpA1u0r4zQ&format=msgpack
5
+2021-08-11 09:22:16.008 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=-5UqwsCcQAqr0JBT5RhHrlj5R2bU5BpyyBpA1u0r4zQ&format=msgpack
6
+2021-08-11 19:37:17.941 +02:00 [Error] Exception processing message from web socket.
7
+System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
8
+ ---> System.IO.IOException: Unable to read data from the transport connection: Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu..
9
+ ---> System.Net.Sockets.SocketException (10060): Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu.
10
+   --- End of inner exception stack trace ---
11
+   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
12
+   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
13
+   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
14
+   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
15
+   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken, Boolean throwOnPrematureClosure)
16
+   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
17
+   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
18
+   at DSLink.Connection.WebSocketConnector.<_startReceiveTask>b__11_0()
19
+2021-08-11 19:37:18.436 +02:00 [Information] Disconnected
20
+2021-08-11 19:37:18.443 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
21
+2021-08-11 19:37:18.468 +02:00 [Information] Disconnecting
22
+2021-08-11 19:37:18.597 +02:00 [Information] Handshake successful
23
+2021-08-11 19:37:18.609 +02:00 [Information] Connecting
24
+2021-08-11 19:37:18.633 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=b1d4m92tOSp-W-KJvqwTUY-299irD8Q0Nn-fv2rDh9U&format=msgpack
25
+2021-08-11 19:37:18.682 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=b1d4m92tOSp-W-KJvqwTUY-299irD8Q0Nn-fv2rDh9U&format=msgpack

+ 22
- 0
RSTP_DSLink/log-20210812.txt View File

@@ -0,0 +1,22 @@
1
+2021-08-12 09:12:23.191 +02:00 [Information] Handshaking with http://localhost:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
2
+2021-08-12 09:12:29.483 +02:00 [Error] Exception processing message from web socket.
3
+System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
4
+ ---> System.IO.IOException: Unable to read data from the transport connection: Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu..
5
+ ---> System.Net.Sockets.SocketException (10060): Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu.
6
+   --- End of inner exception stack trace ---
7
+   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
8
+   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
9
+   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
10
+   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
11
+   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken, Boolean throwOnPrematureClosure)
12
+   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
13
+   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
14
+   at DSLink.Connection.WebSocketConnector.<_startReceiveTask>b__11_0()
15
+2021-08-12 09:12:29.551 +02:00 [Information] Disconnected
16
+2021-08-12 09:12:29.556 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
17
+2021-08-12 09:12:29.570 +02:00 [Information] Disconnecting
18
+2021-08-12 12:24:00.446 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
19
+2021-08-12 12:24:01.198 +02:00 [Information] Handshake successful
20
+2021-08-12 12:24:01.829 +02:00 [Information] Connecting
21
+2021-08-12 12:24:01.855 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=vylINg-2bRKqlwthjnw2lshbHVo2Q9kRZ5K_WZ8cSEM&format=msgpack
22
+2021-08-12 12:24:02.041 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=vylINg-2bRKqlwthjnw2lshbHVo2Q9kRZ5K_WZ8cSEM&format=msgpack

+ 12
- 0
RSTP_DSLink/log-20210816.txt View File

@@ -0,0 +1,12 @@
1
+2021-08-16 09:13:05.257 +02:00 [Information] Handshaking with http://localhost:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
2
+2021-08-16 09:13:25.614 +02:00 [Information] Handshaking with http://192.168.1.54/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
3
+2021-08-16 09:13:26.234 +02:00 [Warning] Failed to connect, delaying for 1 seconds
4
+2021-08-16 09:13:27.245 +02:00 [Information] Handshaking with http://192.168.1.54/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
5
+2021-08-16 09:13:27.271 +02:00 [Warning] Failed to connect, delaying for 2 seconds
6
+2021-08-16 09:13:29.283 +02:00 [Information] Handshaking with http://192.168.1.54/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
7
+2021-08-16 09:13:29.293 +02:00 [Warning] Failed to connect, delaying for 3 seconds
8
+2021-08-16 09:13:47.191 +02:00 [Information] Handshaking with http://192.168.1.54:8080/conn?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk
9
+2021-08-16 09:13:47.646 +02:00 [Information] Handshake successful
10
+2021-08-16 09:13:48.031 +02:00 [Information] Connecting
11
+2021-08-16 09:13:48.058 +02:00 [Information] WebSocket connecting to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=f0jL3yNPfc1tB40pQ0wywhxFnsGEklpdkSOKW5Vx5Vc&format=msgpack
12
+2021-08-16 09:13:48.265 +02:00 [Information] Connected to ws://192.168.1.54:8080/ws?dsId=RTSP-LVHIFD8Yqt1CIfLypVNnn8lDhrTHfJ-mbFNvADcENyk&auth=f0jL3yNPfc1tB40pQ0wywhxFnsGEklpdkSOKW5Vx5Vc&format=msgpack

+ 114
- 0
RSTP_DSLink/nodes.json View File

@@ -0,0 +1,114 @@
1
+{
2
+  "$is": "node",
3
+  "privateConfigs": {},
4
+  "createStream": {
5
+    "$is": "streamAdd",
6
+    "$name": "Add Stream",
7
+    "$params": [
8
+      {
9
+        "name": "RSTP URL",
10
+        "type": "string"
11
+      },
12
+      {
13
+        "name": "Stream name",
14
+        "type": "string"
15
+      }
16
+    ],
17
+    "$invokable": "config",
18
+    "privateConfigs": {},
19
+    "?class": "streamAdd"
20
+  },
21
+  "createAlarm": {
22
+    "$is": "alarmAdd",
23
+    "$name": "Add Alarm",
24
+    "$params": [
25
+      {
26
+        "name": "Alarm name",
27
+        "type": "string"
28
+      },
29
+      {
30
+        "name": "Raspberry Pi IP Address",
31
+        "type": "string"
32
+      },
33
+      {
34
+        "name": "Port Number",
35
+        "type": "number"
36
+      },
37
+      {
38
+        "name": "GPIO Pin",
39
+        "type": "number"
40
+      }
41
+    ],
42
+    "$invokable": "config",
43
+    "privateConfigs": {},
44
+    "?class": "alarmAdd"
45
+  },
46
+  "alarms": {
47
+    "$is": "node",
48
+    "privateConfigs": {},
49
+    "alarmebis": {
50
+      "$is": "alarm",
51
+      "$writable": "read",
52
+      "$type": "bool",
53
+      "privateConfigs": {},
54
+      "remove": {
55
+        "$is": "removeNode",
56
+        "$name": "Remove",
57
+        "$invokable": "config",
58
+        "privateConfigs": {},
59
+        "?class": "removeNode"
60
+      },
61
+      "?value": false,
62
+      "?class": "alarm"
63
+    },
64
+    "alarme": {
65
+      "$is": "alarm",
66
+      "$writable": "read",
67
+      "$type": "bool",
68
+      "privateConfigs": {},
69
+      "remove": {
70
+        "$is": "removeNode",
71
+        "$name": "Remove",
72
+        "$invokable": "config",
73
+        "privateConfigs": {},
74
+        "?class": "removeNode"
75
+      },
76
+      "?value": false,
77
+      "?class": "alarm"
78
+    }
79
+  },
80
+  "streams": {
81
+    "$is": "node",
82
+    "privateConfigs": {},
83
+    "CAMERA1": {
84
+      "$is": "stream",
85
+      "$writable": "read",
86
+      "$type": "number",
87
+      "privateConfigs": {},
88
+      "remove": {
89
+        "$is": "removeNode",
90
+        "$name": "Remove",
91
+        "$invokable": "config",
92
+        "privateConfigs": {},
93
+        "?class": "removeNode"
94
+      },
95
+      "?value": 8081,
96
+      "?class": "stream"
97
+    },
98
+    "CAMERA2": {
99
+      "$is": "stream",
100
+      "$writable": "read",
101
+      "$type": "number",
102
+      "privateConfigs": {},
103
+      "remove": {
104
+        "$is": "removeNode",
105
+        "$name": "Remove",
106
+        "$invokable": "config",
107
+        "privateConfigs": {},
108
+        "?class": "removeNode"
109
+      },
110
+      "?value": 8082,
111
+      "?class": "stream"
112
+    }
113
+  }
114
+}

Loading…
Cancel
Save