@scrypted/server 0.94.3 → 0.94.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.94.3",
3
+ "version": "0.94.4",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@mapbox/node-pre-gyp": "^1.0.11",
@@ -827,6 +827,14 @@ def main(rpcTransport: rpc_reader.RpcTransport):
827
827
 
828
828
 
829
829
  def plugin_main(rpcTransport: rpc_reader.RpcTransport):
830
+ if True:
831
+ main(rpcTransport)
832
+ return
833
+
834
+ # 03/05/2024
835
+ # Not sure why this code below was necessary. I thought it was gstreamer needing to
836
+ # be initialized on the main thread, but that no longer seems to be the case.
837
+
830
838
  # gi import will fail on windows (and posisbly elsewhere)
831
839
  # if it does, try starting without it.
832
840
  try: