Code Monkey home page Code Monkey logo

Comments (20)

fcagnetta avatar fcagnetta commented on August 22, 2024 1

Thanks @jamescadd You're awesome! It's working now.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

Hi - could you let me know which branch you're using and if this is in release mode? There is further work underway to optimize the rendering but others have reported that the current solution is good enough for their purposes.

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

Hi James,

I am using the branch Mosa/20180320-peercc-unity in debug mode. Release mode is currently not working, it looks like there is an unhandled exception which causes the app to crash, while in debug mode it works correctly.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

Ok, the poor perf in Debug is not entirely unexpected. We should probably troubleshoot the exception in Release mode as that's what you would want to run.

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

Hi James, the exception is:

DllNotFoundException: Unable to load DLL 'MediaEngineUWP': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

raised by ControlScript.Plugin.CreateRemoteMediaPlayback() in OnEnable().

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

I just cloned the latest and was able to build/run in release mode on the device. Not sure why you're seeing this error - any changes to the project that could be causing it?

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

Just did it again on a different machine and got the same behaviour. I didn't change anything in the project. I really can't figure out why.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

@morosev Do you have any insight? Maybe something's missing from the Unity install?

from ortclib-sdk.

morosev avatar morosev commented on August 22, 2024

The stream latency could be caused by Debug build. Streaming performances are slightly worse when debug library is used, which is more noticeable on mobile devices like HoloLens.
The missing library problem shouldn't be related to some serious bug. Build procedure for Unity sometimes fails when build configuration was changed. We should address this issue. Please just try to do a fresh clone and try Release build on clean sources.

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

Hello @morosev, just tried on another machine, but this time idk why the prepare.bat script failed with this error:

CRITICAL ERROR: COULD NOT CREATE SYMBOLIC LINK TO Executing generateProjects function FROM

FAILURE:Preparing WebRTC development environment has failed.

from ortclib-sdk.

zhangalex avatar zhangalex commented on August 22, 2024

@jamescadd

I encountered below exception, could you please tell me do you have any idea on this?

Running AssemblyConverter... 9> System.InvalidOperationException: Sequence contains no matching element 9> at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate) 9> at Unity.OperationContext.SetWinRTBridge(AssemblyDefinition assembly) 9> at Unity.CreateWinRTBridgeStep.Execute() 9> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext) 9> at Unity.Operation.Execute() 9> at Unity.Program.Main(String[] args)

I struggled whole day on this error, but I cannot figure out what is happening.

from ortclib-sdk.

zhangalex avatar zhangalex commented on August 22, 2024

@jamescadd thanks in advanced, do you have any idea on this?

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

@zhangalex Could you try with master on this repo https://github.com/webrtc-uwp/PeerCC-Sample and let me know? this also works around the need for the prepare script so could bypass the prepare issue for you @fcagnetta

from ortclib-sdk.

morosev avatar morosev commented on August 22, 2024

@zhangalex The error comes from Unity engine. Have you checked the installed Unity Editor version. It should be: Unity version 2017.4.1 with Windows Store .NET Scripting Backend.

from ortclib-sdk.

zhangalex avatar zhangalex commented on August 22, 2024

@jamescadd Hi James, thanks. Forget to tell you that I'm using branch Mosa/20180320-peercc-unity, I'm trying to capture video & holograms on Hololens. I think PeerCC-Sample does not include that feature, right?

@morosev I will download a newer Unity editor, thanks.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

@fcagnetta @zhangalex Are you still experiencing latency issues?

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

Hi @jamescadd no, I got a nice result in terms of latency and stability of the call.

Btw (it would be a different issue) I can no longer see holograms in the PC, but only Hololens cam. I can't understand why.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

@fcagnetta is the holograms issue in the peercc sample or in your code? to get these to display on pc you need to enable mixed-reality capture which you can see in ControlScript.cs in the sample.

from ortclib-sdk.

fcagnetta avatar fcagnetta commented on August 22, 2024

@jamescadd sorry for the late reply. I can't find this setting in the script.

from ortclib-sdk.

jamescadd avatar jamescadd commented on August 22, 2024

Do a search for "MrcEnabled" and it should show up, it's on Conductor.CaptureCapability

from ortclib-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.