Comments (6)
Hello, it would be helpful if you could share your code, at least the parts where you setup the remote importer and exporter components. How are they configured in your application?
Another quick thing to check is your Windows firewall settings. Make sure your application is allowed through the firewall (Public and Private).
from psi.
Hello, thanks for your time.
For exporter:
pipeline = Pipeline.Create(enableDiagnostics: true);
Out1 = pipeline.CreateEmitter<uint>(this, "Group1");
Out2 = pipeline.CreateEmitter<uint>(this, "Group2");
Out3 = pipeline.CreateEmitter<uint>(this, "Group3");
Out4 = pipeline.CreateEmitter<uint>(this, "Group4");
Out5 = pipeline.CreateEmitter<uint>(this, "Group5");
exporter = new RemoteExporter(pipeline);
exporter.Exporter.Write(Out1, "Group1");
exporter.Exporter.Write(Out2, "Group2");
exporter.Exporter.Write(Out3, "Group3");
exporter.Exporter.Write(Out4, "Group4");
exporter.Exporter.Write(Out5, "Group5");
pipeline.RunAsync();
InitializeComponent();
For the importer:
using Microsoft.Psi;
using Microsoft.Psi.Remoting;
// Enabling diagnotstics !!!
Pipeline p = Pipeline.Create(enableDiagnostics: true);
/*** REMOTE IMPORTER ! ***/
RemoteImporter importer = new RemoteImporter(p, ReplayDescriptor.ReplayAll.Interval, "TABLETTE");
Console.WriteLine("connecting");
if (!importer.Connected.WaitOne(-1))
{
throw new Exception("could not connect to server");
}
Console.WriteLine("connected");
// RunAsync the pipeline in non-blocking mode.
p.RunAsync(ReplayDescriptor.ReplayAllRealTime);
// Wainting for an out key
Console.WriteLine("Press any key to stop the application.");
Console.ReadLine();
// Stop correctly the pipeline.
p.Dispose();
We've tried without firewall and on a local network. I was guessing it's more related to configuration in PSI or something going wrong as the metadata are received.
from psi.
From the trace it appears that the TCP connection is made successfully and stream metadata is transferred (this is over TCP regardless of the data TransportKind
). But then it fails to make the data connection. This is over named pipes by default.
Is it possible to try another transport - perhaps TCP (the TransportKind
argument to the RemoteExporter
ctor)?
from psi.
It's working with TCP, thanks!
Is it worth dinging on the named pipes exception ?
from psi.
Glad TCP is working!
The named pipes exception HRESULT seems to indicate some authentication or access issue. I think we need to add more useful exception messaging and also may need to add options to configure security descriptors, etc..
from psi.
Yeah, I'm not familiar with named pipe, I was expecting the usual "run as administrator" on both side would do the job.
I'm closing the issue, thanks for your time!
from psi.
Related Issues (20)
- Backwards compatibility of annotations HOT 5
- Exposing the HoloLens 2's PhotoVideoCamera's MediaCaptureTask
- How to write asynchronous components to a store HOT 7
- Feature request: Option to record audio with MixedReality UWP's PhotoVideoCamera class HOT 2
- Feature request: Pause a pipeline HOT 11
- FFmpeg probelm HOT 2
- Question about "FFMPEGMediaSource.cs" HOT 2
- Request to make Microsoft.Psi.MixedReality.StereoKitTransforms properties public HOT 3
- Will the implementation of "Continual Learning about Objects in the Wild: An Interactive Approach" be opensource? HOT 2
- PSI on Oculus Quest (Android) HOT 4
- Publicizing StereoKitTransforms properties HOT 1
- `NullReferenceException` in MixedReality.cs HOT 1
- Thread-safety bug for the pipeline's stopping state HOT 1
- HoloLens 2 ir cam intrinsics HOT 4
- Fix missing project Microsoft.Psi.Audio.Windows in solution HoloLensCapture.sln
- \psi Studio's 3D panel not rendering properly when using the integrated GPU (but ok with an external monitor) HOT 1
- [Bug]: Hitting an exception when attempting to start hololenscaptureapp in hololens2 using VS2022 HOT 5
- Memory usage of SharedImagePool keeps growing HOT 3
- Poor Serialization Performance for the Diagnostics's `TrackMessageSize` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psi.