Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

WAAPI & Wwise 2017.2.10 : is it possible?

0 votes
Hello,

Can WAAPI's current version run with Wwise 2017.2.10?
I made sure to enable WAAPI in the user settings with a valid allowed origin but, each time I try a simple WAAPI script (in Python 3.6+) my console freezes.
If I open the same project with Wwise latest version it works.

Thank you,

Julien
asked May 13, 2020 in General Discussion by Julien R. (130 points)
retagged May 14, 2020 by Julien R.

1 Answer

0 votes
 
Best answer

yes, it should. 

First make sure you have the following user preferences:

Enable WAAPI: True
Allowed Origins: #unknown,#file
WAMP Port: 8080
HTTP Port: 8090

For instance, this python script should run with the latest waapi python client and Wwise 2017.2.10:

from waapi import WaapiClient
import pprint

# Connect (default URL)
client = WaapiClient()

# Return all targets
args = {
    "from": {"path": ['\\Actor-Mixer Hierarchy']},
    "transform": [
        {"select": ['children']}
    ]
}

options = {
    "return": ['name']
}
result = client.call("ak.wwise.core.object.get", args, options=options)
pprint.pprint(result)
answered May 14, 2020 by Bernard R. (Audiokinetic) (35,090 points)
edited May 25, 2020 by Bernard R. (Audiokinetic)
Thank you for your answer.

Yet the script still hangs when it reaches client = WaapiClient().
It works fine with wwise 2018.1.6 and wwise 2019.1.6.

Sadly I have to stick to 2017.2.10 for now.
Can you verify you have the following preferences:

Allowed Origins: #unknown,#file
WAMP Port: 8080
HTTP Port: 8090
My allowed origin was incorrect : I had 127.0.0.1,::1.
It works now.

Thank you very much for your help!
...