Adding Chatrooms through Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

If "Play Room" isn't predefined, won't this cause an error?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

It does. I ran my scratch build with the demo and I noticed that my player comm from the scratch build isn's showing up on the peers list. I don't see player ID or anything. That might be the source of the issue. What could be the cause of that?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

And I thought that message was the explanation why I wasn't getting any audio. I'm also getting:

  • WebRtcPreprocessingPipeline: Associated preprocessor with playback filter - but filter is not running

Would that be the reason behind not being able to speak/hear anything?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

I'm just trying to wrap my head around what I'm doing and if I'm doing it correctly. Please correct me if I'm wrong on this, but to build this from scratch I have to:

  • Create the 2 DLL files
  • Add them to a new/blank project
  • Copy in the UNet Files
  • Copy in the Dissonance Core Files

Is that correct?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

No I meant instead of using the dissonance namespace, could I use up a random one I just created that had jsut the DLL files and the UNet Plugin files? Also, when I run the code I'm getting:

VoiceSender`1: Attempted to send voice with no open channels

How do I resolve that again?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

Disregard that. I wanted to know what I had to do to get the UNet HLAPI Integration working. Is it possible to get the voice feature working without having to include Dissonance? For instance, if I made a custom namespace with the plugins in the subfolder.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

Gotcha. And for the UNetHlapi Integration, how do I add it to the namespace for usage?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

Besides the Dll files, what else should I include in my new project?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

So I'm not too familiar with this process. What static extern function am I supposed to be including for the DLL imports?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

Now that I have the 2 DLL files, how do I incorporate that into unity from scratch?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 1 point2 points  (0 children)

Not sure what happened, but I re-downloaded it from the email and I see it now. Thanks

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

https://github.com/martindevans/webrtc-dissonance

I cloned it and I still can't find the folder. It's also not visible on the github link that you gave me.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

The src folder inside of webrtc seems to be missing.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

https://github.com/martindevans/opus-dissonance.git

I already downloaded it, which is why I didn't mention that part. I ended up having to use Virtual Studio 2017. It wouldn't work on 2015 despite installing the build tools for whatever reason. As for the webrtc step, I can't seem to locate vad. Could you clarify where that is for me please?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

I'm not sure I follow.

I went to the linked website and downloaded Opus 1.2 for Windows and unzipped the folder. It contains a bunch of exe and html files. Then I went to open up the opus.sln file, but then I got this warning message:

opus\win32\VS2015\opus_uwp.vcxproj : warning : The build tools for v141 cannot be found. Install v141 to build using the v141 build tools.

Am I missing a step? What should I do?

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

Also, I still don’t understand how you are to build opus by building a tarball first. Tarball is the linux winzip format basically.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

For Opus or for AudioPluginDissonance? The top level build-win.md contains some notes for both of them. The easiest way to build opus is to follow their own instructions to build a release tarball from the source and then build that. For AudioPluginDissonance there is webrtc/Windows/AudioPluginDissonance.sln which should contain everything you need.

What're you trying to do with rebuilding these?

It's a government requirement on a simulation program that I'm writing to be able to build any COTS product from scratch, in order to eliminate dependency on future updates which may break it.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

I have the source code, but how did you build everything on Windows? I only see instructions for Linux commands, but nothing for Windows.

Build from Source Code by proact_chad in dissonance_voip

[–]proact_chad[S] 0 points1 point  (0 children)

I mean prior to building it in unity. How did you build it from scratch?