GithubHelp home page GithubHelp logo

Comments (10)

LoopIssuer avatar LoopIssuer commented on June 10, 2024 1

Thanks!
I made it run finally. The solution was to change resolution of the local client...

from webrtc-universal-samples.

jamescadd avatar jamescadd commented on June 10, 2024

Hello, are you able to run from Visual Studio and post the console output? Make sure to build in debug and enable mixed mode debugging.

from webrtc-universal-samples.

LoopIssuer avatar LoopIssuer commented on June 10, 2024

Hi,

Thanks for quick response.
Please see attached files with console output.

WebRtcErrorLog.txt
WebRtcErrorLog_MixedMode.txt

from webrtc-universal-samples.

jamescadd avatar jamescadd commented on June 10, 2024

Have you selected H.264 for the video codec on the PC? If that's not the problem it may be related to an issue with textures that others have posted about, I will have to look through the issues to find the resolution.

from webrtc-universal-samples.

LoopIssuer avatar LoopIssuer commented on June 10, 2024

Selection H.264 didn't solve the problem :(

from webrtc-universal-samples.

LoopIssuer avatar LoopIssuer commented on June 10, 2024

I have build two Unity clients without Mixed Reality to run on two local PCs.
Result was:
Applications didn't crash after connecting, however there was no video and after a while I had an error (please see attached screen).
accessmemoryexception_webrtc

from webrtc-universal-samples.

LoopIssuer avatar LoopIssuer commented on June 10, 2024

I have found this description of the issue:
PeerCCUnity Hololens app crashes after 2-4 seconds of video-call
Seems similar to my issue.
Could you please confirm that here I can find code that is free from this bug? I assumed that since Aug 24, 2018 the code was updated, but please correct me if I'm wrong.
Thanks in advance for help.

from webrtc-universal-samples.

jamescadd avatar jamescadd commented on June 10, 2024

Sorry to make you dig through the bugs - we're nearing a point where we can update this sample and the NuGet package to a newer build and have things work a bit more cleanly. Currently the last "definitely working" build can be pulled from here:

git clone --recursive -b Mosa/20180320-peercc-unity https://github.com/ortclib/ortclib-sdk.git ortclib-sdk-m62
CD ortclib-sdk-m62
bin\prepare.bat -logLevel 4

Keep in mind you need the older Unity toolchain as described in the docs. If you hit any issues post the prepare output or VS build output.

Edit: There's definitely a bug on the below branch, would hold off on this for the time being and go with the one above.

If you want to try a newer version with Unity 2018 tooling just release the branch above with releases/m62. Note that it has an issue where you need to long-press the buttons for the clicks to register (I hold them down for about 3 seconds). I need to run this again and ensure it's working though, there may still be issues to sort out. Right now we're focusing on getting the Unity support up to M66 & M71 with newer Unity tooling so this is just a step along the way.

from webrtc-universal-samples.

LoopIssuer avatar LoopIssuer commented on June 10, 2024

Hi again :)
This time I had build as you mentioned above, effect is almost the same - Unity client crashes or there is no video shown and app doesn't crash (it happened when I were in remote debug mode).
However logs seems different (I cannot see 'AccessViolationException' - please see in attachment.
I also added logs from the other client app- when I were in remote debug mode, apps didn't crash, on Local Client I saw only 'small' preview video.
Thanks in advance for your help.

WebrtcLogsLocalClient.txt
WebrtcLogsUnityClient.txt

from webrtc-universal-samples.

anders-lundgren avatar anders-lundgren commented on June 10, 2024

From the logs it appears as if you're building using Unity 2017.2.13? If you can, try building the project with a more recent version of Unity. I've found that it works if you use 2018.3.4f1 or newer.

from webrtc-universal-samples.

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.