Comments (20)
Thanks @jamescadd You're awesome! It's working now.
from ortclib-sdk.
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.
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.
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.
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.
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.
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.
@morosev Do you have any insight? Maybe something's missing from the Unity install?
from ortclib-sdk.
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.
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.
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](IEnumerable
1 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.
@jamescadd thanks in advanced, do you have any idea on this?
from ortclib-sdk.
@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.
@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.
@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.
@fcagnetta @zhangalex Are you still experiencing latency issues?
from ortclib-sdk.
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.
@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.
@jamescadd sorry for the late reply. I can't find this setting in the script.
from ortclib-sdk.
Do a search for "MrcEnabled" and it should show up, it's on Conductor.CaptureCapability
from ortclib-sdk.
Related Issues (20)
- Cannot be downloaded completely? HOT 4
- prepare.bat not prearing x64 HOT 3
- Error during sample Unity build (PeerCC-Unity) HOT 8
- Different versions of WebRtc lib (compared with PeerConnectionUnityD3DCore)
- How to build m66 branch? HOT 4
- Generating nuget packages is broken for M66 HOT 3
- Unable to build C++/WinRT client app HOT 6
- Error during build for PeerCC Client HOT 16
- CRITICAL ERROR: Could not generate WebRTC projects for winuwp_10 platform, x64 CPU HOT 3
- Hololens pose sync HOT 4
- Running Prepare.bat file for VS 2017
- Problem with UI and other issues (PeerCC-Unity) HOT 5
- Question about Ortc.NetStandard
- ortc/services/internal/services.events.h file not found on windows build HOT 3
- (In branch Master) WebRTC invalid folder structure. ..\yasm\patched-yasm does not exist #5 HOT 2
- m62 branch: broken ortclib-sdk\webrtc\windows\solutions\WebRtc.sln HOT 1
- error during prepare: "Downloading python installer has failed" HOT 1
- [Mosa/20180320-peercc-unity]: PeerCCUnity on desktop throws exception on TransferVideoFrame() HOT 5
- PeerCC Unity HOT 9
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 ortclib-sdk.